diff options
author | Mike Baker <mbm@openwrt.org> | 2006-01-20 18:47:42 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-01-20 18:47:42 +0000 |
commit | 82f94f7d4500f534e3a1f0874a2c489f2329d313 (patch) | |
tree | 50e00e9330d6f7ef18c864a5769c836d96b31aac /target/linux/image | |
parent | 27b9c4bcf6b756dd39695f03888a2364fce29228 (diff) | |
download | upstream-82f94f7d4500f534e3a1f0874a2c489f2329d313.tar.gz upstream-82f94f7d4500f534e3a1f0874a2c489f2329d313.tar.bz2 upstream-82f94f7d4500f534e3a1f0874a2c489f2329d313.zip |
Add a toggle for ramdisk support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3030 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/image')
-rw-r--r-- | target/linux/image/aruba/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/image/aruba/Makefile b/target/linux/image/aruba/Makefile index 59bf59777b..432a85d59e 100644 --- a/target/linux/image/aruba/Makefile +++ b/target/linux/image/aruba/Makefile @@ -26,6 +26,16 @@ ifeq ($(FS),jffs2-4MB) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari: $(KDIR)/loader.elf ./addVersion -n ArubaOS $(KDIR)/loader.elf $@ version +ifneq ($(BR2_ARUBA_RAMDISK),y) +$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FSNAME).bin: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari $(KDIR)/root.$(FS) + @dd if=$< of=$@.tmp bs=655360 conv=sync + @cat $(KDIR)/root.$(FS) >> $@.tmp + @dd if=$@.tmp of=$@ bs=3604480 conv=sync + @rm -f $@.tmp + +install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FSNAME).bin +endif + install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari endif endif |