X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7ce63c32a1da9d27f82462d2cf9748a42d85097e..fb8b4548a0193022e19c6c920d925fd9c8d73343:/target/linux/aruba-2.6/image/Makefile?ds=inline diff --git a/target/linux/aruba-2.6/image/Makefile b/target/linux/aruba-2.6/image/Makefile index 73246e3ad..e486b30ef 100644 --- a/target/linux/aruba-2.6/image/Makefile +++ b/target/linux/aruba-2.6/image/Makefile @@ -18,12 +18,12 @@ LOADER_MAKEOPTS= \ RAMSIZE=$(RAMSIZE) define Build/Clean - $(MAKE) -C ../../generic-2.6/image/lzma-loader $(LOADER_MAKEOPTS) clean + $(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader $(LOADER_MAKEOPTS) clean endef define Image/Prepare cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma - $(MAKE) -C ../../generic-2.6/image/lzma-loader $(LOADER_MAKEOPTS) clean compile + $(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader $(LOADER_MAKEOPTS) clean compile endef define Image/BuildKernel @@ -31,7 +31,7 @@ define Image/BuildKernel endef define Image/Build/jffs2-64k - @dd if=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari of=$(KDIR)/image.tmp bs=65536 conv=sync + @dd if=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari of=$(KDIR)/image.tmp bs=655360 conv=sync @cat $(KDIR)/root.$(1) >> $(KDIR)/image.tmp mv $(KDIR)/image.tmp $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(patsubst jffs2-%,jffs2,$(1)).bin endef