summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/image/lzma-loader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic-2.6/image/lzma-loader/Makefile')
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/image/lzma-loader/Makefile b/target/linux/generic-2.6/image/lzma-loader/Makefile
index e3a98afbc..171c3c393 100644
--- a/target/linux/generic-2.6/image/lzma-loader/Makefile
+++ b/target/linux/generic-2.6/image/lzma-loader/Makefile
@@ -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