Changeset 2222
- Timestamp:
- 03/21/07 20:19:44 (2 years ago)
- Files:
-
- trunk/freewrt/Makefile (modified) (3 diffs)
- trunk/freewrt/mk/uname.mk (deleted)
- trunk/freewrt/rules.mk (modified) (1 diff)
- trunk/freewrt/scripts/scan-tools.sh (modified) (1 diff)
- trunk/freewrt/tools/Makefile (modified) (2 diffs)
- trunk/freewrt/tools/gmake (deleted)
- trunk/freewrt/tools/paxmirabilis/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/Makefile
r2208 r2222 23 23 24 24 config: .prereq_done 25 @${GMAKE_INV} FWRTPREREQ=1config25 @${GMAKE_INV} config 26 26 27 27 oldconfig: .prereq_done 28 @${GMAKE_INV} FWRTPREREQ=1oldconfig28 @${GMAKE_INV} oldconfig 29 29 30 30 cleandir: .prereq_done … … 42 42 43 43 menuconfig: .prereq_done 44 @${GMAKE_INV} FWRTPREREQ=1menuconfig44 @${GMAKE_INV} menuconfig 45 45 46 46 allnoconfig: .prereq_done 47 @${GMAKE_INV} FWRTPREREQ=1allnoconfig47 @${GMAKE_INV} allnoconfig 48 48 49 49 allmodconfig: .prereq_done 50 @${GMAKE_INV} FWRTPREREQ=1allmodconfig50 @${GMAKE_INV} allmodconfig 51 51 52 52 snapshotconfig: .prereq_done 53 @${GMAKE_INV} FWRTPREREQ=1snapshotconfig53 @${GMAKE_INV} snapshotconfig 54 54 55 55 package_index: .prereq_done … … 135 135 chmod 555 lbin/gcc; \ 136 136 fi 137 @${GMAKE_INV} FWRTPREREQ=1tools/install-lbin137 @${GMAKE_INV} tools/install-lbin 138 138 @echo '===> Prerequisites checked successfully.' 139 139 @touch $@ trunk/freewrt/rules.mk
r2213 r2222 73 73 UNAME_S:= Linux 74 74 75 ifeq (${FWRTPREREQ},) 76 include ${TOPDIR}/mk/uname.mk 77 endif # not FWRTPREREQ 75 ifeq ($(strip ${FWRT_LINUX_2_4_BRCM}),y) 76 UNAME_R:= 2.4.34 77 else ifeq ($(strip ${FWRT_LINUX_2_6_BRCM}),y) 78 UNAME_R:= 2.6.19.1 79 else ifeq ($(strip ${FWRT_LINUX_2_4_RB}),y) 80 UNAME_R:= 2.4.34 81 else ifeq ($(strip ${FWRT_LINUX_2_6_RB}),y) 82 UNAME_R:= 2.6.19.1 83 else ifeq ($(strip ${FWRT_LINUX_2_6_X86}),y) 84 UNAME_R:= 2.6.19.1 85 else 86 $(error Cannot determine target "uname -r" output) 87 endif 88 89 ifeq ($(strip ${FWRT_mipsel}),y) 90 UNAME_M:= mips 91 else ifeq ($(strip ${FWRT_i386}),y) 92 UNAME_M:= i386 93 else 94 $(error Cannot determine target "uname -m" output) 95 endif 78 96 79 97 export UNAME_S UNAME_R UNAME_M trunk/freewrt/scripts/scan-tools.sh
r2220 r2222 198 198 out=1 199 199 fi 200 rm -f $topdir/lbin/gmake_vok201 200 if (( (major < 3) || ((major == 3) && (minor < 81)) )); then 202 echo GNU make $major.$minor too old. Building gmake 3.81 later. 203 else 204 echo vok=1 >$topdir/lbin/gmake_vok 201 echo GNU make $major.$minor too old. 202 echo Please install GNU make 3.81 or higher to continue. 203 echo 204 out=1 205 205 fi 206 206 trunk/freewrt/tools/Makefile
r2208 r2222 5 5 # or at http://www.freewrt.org/licence for details. 6 6 7 FWRTPREREQ=18 7 include $(TOPDIR)/rules.mk 9 8 … … 12 11 # These must be first 13 12 TARGETS+= paxmirabilis 14 TARGETS+= gmake15 13 TARGETS+= sed 16 14 trunk/freewrt/tools/paxmirabilis/Makefile
r2208 r2222 5 5 # or at http://www.freewrt.org/licence for details. 6 6 7 FWRTPREREQ=18 7 include $(TOPDIR)/rules.mk 9 8


