summaryrefslogtreecommitdiff
path: root/include/kernel-build.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-02 21:07:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-02 21:07:53 +0000
commitfa859ea32a7d0775e426b80757b37c09e3e2282c (patch)
treee24ed8e6918dc406ada173c8640b23a70e32bb15 /include/kernel-build.mk
parent0ddaeaf38b22279c64faa6105b0f1417c0c44d9d (diff)
downloadmtk-20170518-fa859ea32a7d0775e426b80757b37c09e3e2282c.zip
mtk-20170518-fa859ea32a7d0775e426b80757b37c09e3e2282c.tar.gz
mtk-20170518-fa859ea32a7d0775e426b80757b37c09e3e2282c.tar.bz2
fix an error in the kernel image related commit
SVN-Revision: 6467
Diffstat (limited to 'include/kernel-build.mk')
-rw-r--r--include/kernel-build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 3a17182..93bf66d 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -136,7 +136,7 @@ define Kernel/CompileImage/Default
$(call Kernel/SetInitramfs)
$(MAKE) -j$(CONFIG_JLEVEL) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" $(KERNELNAME)
$(KERNEL_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $(LINUX_DIR)/vmlinux $(LINUX_KERNEL)
- $(KERNEL_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $(LINUX_DIR)/vmlinux $(KDIR)/vmlinux.elf
+ $(KERNEL_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux.elf
endef
define Kernel/CompileImage
$(call Kernel/CompileImage/Default)