also strip the .notes section of the kernel

SVN-Revision: 15443
This commit is contained in:
Florian Fainelli 2009-04-27 15:37:58 +00:00
parent de7b6625a2
commit c09afea86a
1 changed files with 1 additions and 1 deletions

View File

@ -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)