ipq806x: fix imagebuilder
authorJohn Crispin <john@openwrt.org>
Fri, 29 May 2015 11:28:44 +0000 (11:28 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 29 May 2015 11:28:44 +0000 (11:28 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45823

target/linux/ipq806x/image/Makefile

index e2346e6..db5bf0a 100644 (file)
@@ -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