X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/01c26b5b7859b264e98d8934141b21d07cf4f430..c591f2ff994748002f07134a039df92dee1873ba:/target/linux/au1000-2.6/image/Makefile diff --git a/target/linux/au1000-2.6/image/Makefile b/target/linux/au1000-2.6/image/Makefile index c9ab7caca..b5ba3d454 100644 --- a/target/linux/au1000-2.6/image/Makefile +++ b/target/linux/au1000-2.6/image/Makefile @@ -21,7 +21,7 @@ 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 DROP_SECTIONS := .reginfo .mdebug .comment .note .pdr .options .MIPS.options @@ -32,13 +32,13 @@ define Image/Prepare cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma # Build RAM image - $(MAKE) -C ../../generic-2.6/image/lzma-loader \ + $(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader \ $(LOADER_MAKEOPTS) \ clean compile $(OBJCOPY_SREC) $(KDIR)/loader.elf $(KDIR)/kernel.ram.srec # Build Flash image - $(MAKE) -C ../../generic-2.6/image/lzma-loader \ + $(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader \ $(LOADER_MAKEOPTS) \ IMAGE_COPY=1 \ LOADER_ENTRY=$(FLASH_KERNEL) \