Changeset 2559

Show
Ignore:
Timestamp:
05/20/07 14:34:54 (2 years ago)
Author:
wbx
Message:

activate nfs for netgear, AVOID MTD UPDATES, IT WILL KILL YOUR NETGEAR, WILL BE FIXED SOON

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/Config.in

    r2520 r2559  
    148148          This option is only to prefix the _cross_compile calls with ccache. 
    149149 
     150config 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 
    150157endmenu 
    151158 
  • trunk/freewrt/mk/kernel-build.mk

    r2504 r2559  
    6161        $(TRACE) target/linux/$(BOARD)-$(KERNEL)-kernel-strip 
    6262ifeq ($(BOARD),brcm) 
     63ifneq ($(FS),nfs) 
    6364        $(TARGET_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ $(MAKE_TRACE) 
     65else 
     66        $(TARGET_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ $(MAKE_TRACE) 
     67endif 
    6468else 
    6569        $(TARGET_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ $(MAKE_TRACE) 
  • trunk/freewrt/target/Config.in

    r2557 r2559  
    6464        select FWRT_KERNEL_NFS_COMMON 
    6565        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 
    7171        help 
    7272          Use this option if you want to use a nfs-mounted root filesystem. 
  • trunk/freewrt/target/image/brcm/Makefile

    r2557 r2559  
    88 
    99KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) 
     10 
     11INSTPREPSCRIPT = instprep-brcm.sh 
     12ROOTFSTARBALL = $(FWRT_PREFIX)-$(DEVICE)-$(BOARD)-$(KERNEL)-$(FS).tar.gz 
     13NFS_DOC_URL = https://www.freewrt.org/trac/wiki/Documentation/Filesystems/NFS 
     14 
     15instprep-script: 
     16        install -m 0755 $(TOPDIR)/scripts/$(INSTPREPSCRIPT) $(KDIR)/root/ 
     17        $(SED) 's/@@TARGET_FS@@/$(FS)/' $(KDIR)/root/$(INSTPREPSCRIPT) 
     18 
     19kernel-install: 
     20        install -m 0755 $(KDIR)/vmlinux $(KDIR)/root/kernel 
     21 
     22install-prepare_DEPS=   instprep-script kernel-install 
     23 
     24install-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 
     32ifeq ($(FS),nfs) 
     33install: $(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)" 
     49endif 
    1050 
    1151# compile and install loader 
     
    74114endif 
    75115 
     116ifneq ($(FS),nfs) 
    76117# do nothing in autobuild mode 
    77118ifneq ($(FWRT_ALL_PACKAGE_SELECTION),y) 
     
    182223        @echo "package autobuild successful" 
    183224endif 
     225endif 
    184226 
    185227include ${TOPDIR}/target/image/common.mk