X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fimage%2Faruba%2FMakefile;h=432a85d59e2a492d8362b3f7607468ae8a9717e4;hb=b5ea82a30ac38ea8ad97f87ee75c7c738922779a;hp=59bf59777b81dabf0db8dcc4b3d2e2e0419ae248;hpb=950f818c91680b89b43e8d0d8986526b3eff4a74;p=openwrt-10.03%2F.git diff --git a/target/linux/image/aruba/Makefile b/target/linux/image/aruba/Makefile index 59bf59777..432a85d59 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