bcm963xx: image generation using image tagger
[openwrt-10.03/.git] / target / linux / generic-2.6 / image / lzma-loader / Makefile
index e3a98afbce0dd70f055c8aa56683aaa51ee49d3e..171c3c39380c0910d9dbab81a1f0f79bf87bb4c8 100644 (file)
@@ -33,11 +33,15 @@ $(PKG_BUILD_DIR)/vmlinux.lzma: $(KDIR)/vmlinux.lzma
 $(KDIR)/loader$(LOADER_TYPE).elf: $(PKG_BUILD_DIR)/lzma.elf
        $(CP) $< $@
 
+$(KDIR)/loader$(LOADER_TYPE).bin: $(PKG_BUILD_DIR)/lzma.bin
+       $(CP) $< $@
+
 download: 
 prepare: $(PKG_BUILD_DIR)/.prepared
-compile: $(KDIR)/loader$(LOADER_TYPE).elf
+compile: $(KDIR)/loader$(LOADER_TYPE).elf $(KDIR)/loader$(LOADER_TYPE).bin
 install:
 
 clean:
        rm -rf $(PKG_BUILD_DIR)
        rm -f $(KDIR)/loader.elf
+       rm -f $(KDIR)/loader.bin