Changeset 2856f83 in freewrt
- Timestamp:
- Jul 16, 2006, 10:01:34 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 003e3c1
- Parents:
- ba108ca
- Files:
-
- 1 added
- 1 edited
-
Makefile (modified) (3 diffs)
-
scripts/which.mac (added)
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rba108ca r2856f83 102 102 fi 103 103 @mkdir lbin 104 @if which gmake >/dev/null 2>&1; then \105 ln -s $$(which gmake) lbin/gmake 2>/dev/null ||\106 ln -s /usr/bin/make lbin/gmake; \104 @if which nonexistent 2>&1 | grep '^no '; then \ 105 cp scripts/which.mac lbin/which; \ 106 chmod 555 lbin/which; \ 107 107 else \ 108 ln -s $$(which make) lbin/gmake; \108 ln -s $$(which which) lbin/which; \ 109 109 fi 110 @if ! which md5sum >/dev/null 2>&1; then \ 110 @if lbin/which gmake >/dev/null 2>&1; then \ 111 ln -s $$(lbin/which gmake) lbin/gmake; \ 112 else \ 113 ln -s $$(lbin/which make) lbin/gmake; \ 114 fi 115 @if ! lbin/which md5sum >/dev/null 2>&1; then \ 111 116 cp scripts/md5sum.bsd lbin/md5sum; \ 112 117 chmod 555 lbin/md5sum; \ … … 114 119 @if test x"$$(uname)" = x"MirBSD"; then \ 115 120 sed -e 's!@@FromOS@@!MirBSD!g' -e 's!@@ToOS@@!OpenBSD!g' \ 116 -e "s!@@PROG@@!$$( which uname)!g" \121 -e "s!@@PROG@@!$$(lbin/which uname)!g" \ 117 122 <scripts/uname.fake >lbin/uname; \ 118 123 chmod 555 lbin/uname; \ 119 124 fi 120 @echo "BASH=$$( which bash)" >>lbin/prereq.mk125 @echo "BASH=$$(lbin/which bash)" >>lbin/prereq.mk 121 126 @echo "GNU_HOST_NAME=$$(${CC} -dumpmachine | \ 122 127 sed -e 's!mirbsd!openbsd!g')" >>lbin/prereq.mk … … 132 137 @echo "_PATH=$$PATH" >>lbin/prereq.mk 133 138 @echo "PATH=$$(pwd)/lbin:$$PATH" >>lbin/prereq.mk 134 @echo "SHELL=$$( which bash)" >>lbin/prereq.mk139 @echo "SHELL=$$(lbin/which bash)" >>lbin/prereq.mk 135 140 @echo "export BASH HOSTCC HOSTCFLAGS LC_ALL MAKE OStype PATH SHELL" \ 136 141 >>lbin/prereq.mk 137 142 @env NO_ERROR=${NO_ERROR} bash scripts/scan-tools.sh 138 @ln -s $$( which ${CC}) lbin/gcc143 @ln -s $$(lbin/which ${CC}) lbin/gcc 139 144 @echo '===> Prerequisites checked successfully.' 140 145 @touch $@
Note:
See TracChangeset
for help on using the changeset viewer.
