add kernel branch emulation fix from #1345
[openwrt.git] / target / linux / au1000-2.6 / image / Makefile
index c9ab7ca..b5ba3d4 100644 (file)
@@ -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) \
This page took 0.022862 seconds and 4 git commands to generate.