فهرست منبع

ipq806x: fix imagebuilder

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 45823
John Crispin 10 سال پیش
والد
کامیت
12772b66fe
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      target/linux/ipq806x/image/Makefile

+ 5 - 1
target/linux/ipq806x/image/Makefile

@@ -19,8 +19,12 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
 endif
 endif
 endef
 endef
 
 
+define Image/Prepare
+	$(CP) $(LINUX_DIR)/vmlinux $(KDIR)/$(IMG_PREFIX)-vmlinux.elf
+endef
+
 define Image/BuildKernel
 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-ap148)
 	$(call Image/BuildKernel/FIT,qcom-ipq8064-db149)
 	$(call Image/BuildKernel/FIT,qcom-ipq8064-db149)
 endef
 endef