Changeset 2559
- Timestamp:
- 05/20/07 14:34:54 (2 years ago)
- Files:
-
- trunk/freewrt/Config.in (modified) (1 diff)
- trunk/freewrt/mk/kernel-build.mk (modified) (1 diff)
- trunk/freewrt/scripts/instprep-brcm.sh (added)
- trunk/freewrt/target/Config.in (modified) (1 diff)
- trunk/freewrt/target/image/brcm/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/Config.in
r2520 r2559 148 148 This option is only to prefix the _cross_compile calls with ccache. 149 149 150 config FWRT_GUI_SDK 151 bool "Build hosttools for C++ GUI framework" 152 default n 153 help 154 This will build cxxtools and tntnet for your host machine. 155 You start with a GUI project, if you have this tools installed. 156 150 157 endmenu 151 158 trunk/freewrt/mk/kernel-build.mk
r2504 r2559 61 61 $(TRACE) target/linux/$(BOARD)-$(KERNEL)-kernel-strip 62 62 ifeq ($(BOARD),brcm) 63 ifneq ($(FS),nfs) 63 64 $(TARGET_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ $(MAKE_TRACE) 65 else 66 $(TARGET_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ $(MAKE_TRACE) 67 endif 64 68 else 65 69 $(TARGET_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ $(MAKE_TRACE) trunk/freewrt/target/Config.in
r2557 r2559 64 64 select FWRT_KERNEL_NFS_COMMON 65 65 select FWRT_KERNEL_SUNRPC 66 select FWRT_KERNEL_YAFFS_FS 67 select FWRT_KERNEL_YAFFS_YAFFS1 68 select FWRT_KERNEL_YAFFS_YAFFS2 69 select FWRT_KERNEL_YAFFS_AUTO_YAFFS2 70 select FWRT_KERNEL_YAFFS_SHORT_NAMES_IN_RAM 66 select FWRT_KERNEL_YAFFS_FS if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB 67 select FWRT_KERNEL_YAFFS_YAFFS1 if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB 68 select FWRT_KERNEL_YAFFS_YAFFS2 if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB 69 select FWRT_KERNEL_YAFFS_AUTO_YAFFS2 if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB 70 select FWRT_KERNEL_YAFFS_SHORT_NAMES_IN_RAM if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB 71 71 help 72 72 Use this option if you want to use a nfs-mounted root filesystem. trunk/freewrt/target/image/brcm/Makefile
r2557 r2559 8 8 9 9 KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) 10 11 INSTPREPSCRIPT = instprep-brcm.sh 12 ROOTFSTARBALL = $(FWRT_PREFIX)-$(DEVICE)-$(BOARD)-$(KERNEL)-$(FS).tar.gz 13 NFS_DOC_URL = https://www.freewrt.org/trac/wiki/Documentation/Filesystems/NFS 14 15 instprep-script: 16 install -m 0755 $(TOPDIR)/scripts/$(INSTPREPSCRIPT) $(KDIR)/root/ 17 $(SED) 's/@@TARGET_FS@@/$(FS)/' $(KDIR)/root/$(INSTPREPSCRIPT) 18 19 kernel-install: 20 install -m 0755 $(KDIR)/vmlinux $(KDIR)/root/kernel 21 22 install-prepare_DEPS= instprep-script kernel-install 23 24 install-prepare-md: 25 -chmod 4755 $(KDIR)/root/bin/busybox 26 27 $(KDIR)/root: install-prepare kernel-install 28 29 $(BIN_DIR)/$(ROOTFSTARBALL): $(KDIR)/root 30 (cd $(KDIR)/root ; tar cf - * | gzip -9 > $(BIN_DIR)/$(ROOTFSTARBALL)) 31 32 ifeq ($(FS),nfs) 33 install: $(BIN_DIR)/$(ROOTFSTARBALL) 34 @echo 35 @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)," 36 @echo "you will find the matching kernel inside inside it's root, named \`kernel'" 37 @echo 38 @echo "BEWARE: create a subdirectory and unpack inside, or you will be surprised!" 39 @echo 40 @echo "Due to the fact that the RootFS was created as non-root, it needs some" 41 @echo "preparation to be usable. Therefore all you need to do is execute the shell" 42 @echo "script called $(INSTPREPSCRIPT) as root." 43 @echo 44 @echo "A sample dhcpd.conf can be found inside $(TOPDIR)/docs/nfsroot." 45 @echo 46 @echo "BEWARE: You will also need a working NFS and TFTP setup!" 47 @echo " A detailed howto can be found at:" 48 @echo " $(NFS_DOC_URL)" 49 endif 10 50 11 51 # compile and install loader … … 74 114 endif 75 115 116 ifneq ($(FS),nfs) 76 117 # do nothing in autobuild mode 77 118 ifneq ($(FWRT_ALL_PACKAGE_SELECTION),y) … … 182 223 @echo "package autobuild successful" 183 224 endif 225 endif 184 226 185 227 include ${TOPDIR}/target/image/common.mk


