summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-05-28 12:05:57 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-05-28 12:05:57 +0000
commit282894a407220231b9350f240aea66bef6f38fe7 (patch)
tree7dc9b4a57ad4e98104786241bb2efb6f9ee88c23 /target
parentff6f66c1929416922c360d3d0901b1e593af849c (diff)
downloadmtk-20170518-282894a407220231b9350f240aea66bef6f38fe7.zip
mtk-20170518-282894a407220231b9350f240aea66bef6f38fe7.tar.gz
mtk-20170518-282894a407220231b9350f240aea66bef6f38fe7.tar.bz2
malta: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45804
Diffstat (limited to 'target')
-rw-r--r--target/linux/malta/image/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/target/linux/malta/image/Makefile b/target/linux/malta/image/Makefile
index c8f15fd..3f14756 100644
--- a/target/linux/malta/image/Makefile
+++ b/target/linux/malta/image/Makefile
@@ -25,12 +25,17 @@ define MkuImage
-d $(3) $(4)
endef
-define Image/BuildKernel
+define Image/Prepare
cp $(KDIR)/vmlinux.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.elf
$(call CompressLzma,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.lzma)
- $(call MkuImage,lzma,,$(KDIR)/vmlinux.bin.lzma,$(BIN_DIR)/$(IMG_PREFIX)-uImage-lzma)
+ $(call MkuImage,lzma,,$(KDIR)/vmlinux.bin.lzma,$(KDIR)/uImage.lzma)
$(call CompressGzip,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.gz)
- $(call MkuImage,gzip,,$(KDIR)/vmlinux.bin.gz,$(BIN_DIR)/$(IMG_PREFIX)-uImage-gzip)
+ $(call MkuImage,gzip,,$(KDIR)/vmlinux.bin.gz,$(KDIR)/uImage.gz)
+endef
+
+define Image/BuildKernel
+ cp $(KDIR)/uImage.lzma $(BIN_DIR)/$(IMG_PREFIX)-uImage-lzma
+ cp $(KDIR)/uImage.gz $(BIN_DIR)/$(IMG_PREFIX)-uImage-gzip
endef
define Image/Build/squashfs