summaryrefslogtreecommitdiff
path: root/include/kernel-build.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-02 17:24:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-02 17:24:20 +0000
commit91e5dba2c76d9185cc06c32feb51b8b0d1c310ca (patch)
tree33c544be12c7aaaaff28f785b5ae40263645fe9a /include/kernel-build.mk
parent983544f859e946494b3029a41bb7880b93c46037 (diff)
downloadmtk-20170518-91e5dba2c76d9185cc06c32feb51b8b0d1c310ca.zip
mtk-20170518-91e5dba2c76d9185cc06c32feb51b8b0d1c310ca.tar.gz
mtk-20170518-91e5dba2c76d9185cc06c32feb51b8b0d1c310ca.tar.bz2
kernel build cleanup
SVN-Revision: 6464
Diffstat (limited to 'include/kernel-build.mk')
-rw-r--r--include/kernel-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 6aec7c7..3a17182 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -136,6 +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
endef
define Kernel/CompileImage
$(call Kernel/CompileImage/Default)