Changeset 3030


Ignore:
Timestamp:
2006-01-20T19:47:42+01:00 (12 years ago)
Author:
mbm
Message:

Add a toggle for ramdisk support

Location:
trunk/openwrt/target/linux
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/linux/Config.in

    r2997 r3030  
    2323menu "Kernel Configuration / Device Support" 
    2424 
    25 comment "Device specific modules" 
     25comment "Device specific configuration" 
    2626 
    2727source "target/linux/*-2.[46]/Config.in" 
  • trunk/openwrt/target/linux/aruba-2.6/Makefile

    r3007 r3030  
    1515        [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE) 
    1616        [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE) 
     17ifeq ($(BR2_ARUBA_RAMDISK),y) 
     18        @cp config-ramdisk $(LINUX_DIR)/.config 
     19else 
    1720        @cp config $(LINUX_DIR)/.config 
     21endif 
    1822        touch $@ 
    1923 
  • trunk/openwrt/target/linux/aruba-2.6/config

    r3024 r3030  
    158158CONFIG_KOBJECT_UEVENT=y 
    159159# CONFIG_IKCONFIG is not set 
    160 CONFIG_INITRAMFS_SOURCE="../root" 
    161 CONFIG_INITRAMFS_ROOT_UID=0 
    162 CONFIG_INITRAMFS_ROOT_GID=0 
     160CONFIG_INITRAMFS_SOURCE="" 
    163161CONFIG_CC_OPTIMIZE_FOR_SIZE=y 
    164162CONFIG_EMBEDDED=y 
  • trunk/openwrt/target/linux/image/aruba/Makefile

    r2997 r3030  
    2727        ./addVersion -n ArubaOS $(KDIR)/loader.elf $@ version 
    2828 
     29ifneq ($(BR2_ARUBA_RAMDISK),y) 
     30$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FSNAME).bin: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari $(KDIR)/root.$(FS) 
     31        @dd if=$< of=$@.tmp bs=655360 conv=sync 
     32        @cat $(KDIR)/root.$(FS) >> $@.tmp 
     33        @dd if=$@.tmp of=$@ bs=3604480 conv=sync 
     34        @rm -f $@.tmp 
     35 
     36install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FSNAME).bin 
     37endif 
     38 
    2939install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari 
    3040endif 
Note: See TracChangeset for help on using the changeset viewer.