aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-05-29 11:28:44 +0000
committerJohn Crispin <john@openwrt.org>2015-05-29 11:28:44 +0000
commit12772b66fe4d4aa802c1362d7e130a9db8061303 (patch)
tree78a8853f36c9d9a7faf255c2d911ef782b37b403
parent1985e88b359d5f343cb45cba6bd27698b8e81e92 (diff)
downloadupstream-12772b66fe4d4aa802c1362d7e130a9db8061303.tar.gz
upstream-12772b66fe4d4aa802c1362d7e130a9db8061303.tar.bz2
upstream-12772b66fe4d4aa802c1362d7e130a9db8061303.zip
ipq806x: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45823
-rw-r--r--target/linux/ipq806x/image/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile
index e2346e6319..db5bf0acbc 100644
--- a/target/linux/ipq806x/image/Makefile
+++ b/target/linux/ipq806x/image/Makefile
@@ -19,8 +19,12 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
endif
endef
+define Image/Prepare
+ $(CP) $(LINUX_DIR)/vmlinux $(KDIR)/$(IMG_PREFIX)-vmlinux.elf
+endef
+
define Image/BuildKernel
- $(CP) $(LINUX_DIR)/vmlinux $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.elf
+ $(CP) $(KDIR)/$(IMG_PREFIX)-vmlinux.elf $(BIN_DIR)
$(call Image/BuildKernel/FIT,qcom-ipq8064-ap148)
$(call Image/BuildKernel/FIT,qcom-ipq8064-db149)
endef