X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Faruba-2.6%2Fimage%2FMakefile;h=7773f6a49e59305614b4df241d82007e685020f2;hb=2d84656963645199fb695344818787f2310da825;hp=e486b30ef2058251afd4d47d364afee6527d7f36;hpb=f81e56debfca4c17e450ab85971b2c0a95585aa9;p=openwrt-10.03%2F.git diff --git a/target/linux/aruba-2.6/image/Makefile b/target/linux/aruba-2.6/image/Makefile index e486b30ef..7773f6a49 100644 --- a/target/linux/aruba-2.6/image/Makefile +++ b/target/linux/aruba-2.6/image/Makefile @@ -31,11 +31,18 @@ define Image/BuildKernel endef define Image/Build/jffs2-64k - @dd if=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari of=$(KDIR)/image.tmp bs=655360 conv=sync + @dd if=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari of=$(KDIR)/image.tmp bs=786432 conv=sync @cat $(KDIR)/root.$(1) >> $(KDIR)/image.tmp mv $(KDIR)/image.tmp $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(patsubst jffs2-%,jffs2,$(1)).bin endef +define Image/Build/squashfs + @dd if=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari of=$(KDIR)/image.tmp bs=786432 conv=sync + $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) + @cat $(KDIR)/root.$(1) >> $(KDIR)/image.tmp + @dd if=$(KDIR)/image.tmp of=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).bin bs=64k conv=sync +endef + define Image/Build $(call Image/Build/$(1),$(1)) endef