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 | 04ec0ca5b682b7c3f1b85dfe6ed077d4f8ffd138 (patch) | |
tree | 9bdc3265c65b1c6240c2474e868535b66333ef55 /openwrt/target/linux/image/aruba | |
parent | 9bb046b139b1ac9e9d5edfe0a21c19c6cf3be52c (diff) | |
download | mtk-20170518-04ec0ca5b682b7c3f1b85dfe6ed077d4f8ffd138.zip mtk-20170518-04ec0ca5b682b7c3f1b85dfe6ed077d4f8ffd138.tar.gz mtk-20170518-04ec0ca5b682b7c3f1b85dfe6ed077d4f8ffd138.tar.bz2 |
Add a toggle for ramdisk support
SVN-Revision: 3030
Diffstat (limited to 'openwrt/target/linux/image/aruba')
-rw-r--r-- | openwrt/target/linux/image/aruba/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openwrt/target/linux/image/aruba/Makefile b/openwrt/target/linux/image/aruba/Makefile index 59bf597..432a85d 100644 --- a/openwrt/target/linux/image/aruba/Makefile +++ b/openwrt/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 |