summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-27 15:37:58 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-27 15:37:58 +0000
commitc09afea86ad5fe54daa5733bb23191344500ebbd (patch)
treee7f68fa0ebfb71df7d5dfa49931cd5ce6f769b33
parentde7b6625a25e22975cef703b71c40097c6598926 (diff)
downloadmtk-20170518-c09afea86ad5fe54daa5733bb23191344500ebbd.zip
mtk-20170518-c09afea86ad5fe54daa5733bb23191344500ebbd.tar.gz
mtk-20170518-c09afea86ad5fe54daa5733bb23191344500ebbd.tar.bz2
also strip the .notes section of the kernel
SVN-Revision: 15443
-rw-r--r--include/kernel-defaults.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index de07b91..e690aab 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -105,7 +105,7 @@ define Kernel/CompileModules/Default
+$(MAKE) $(KERNEL_MAKEOPTS) modules
endef
-OBJCOPY_STRIP = -R .reginfo -R .note -R .comment -R .mdebug -R .note.gnu.build-id
+OBJCOPY_STRIP = -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
define Kernel/CompileImage/Default
$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init)