Browse Source

also strip the .notes section of the kernel

SVN-Revision: 15443
Florian Fainelli 16 years ago
parent
commit
c09afea86a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/kernel-defaults.mk

+ 1 - 1
include/kernel-defaults.mk

@@ -105,7 +105,7 @@ define Kernel/CompileModules/Default
 	+$(MAKE) $(KERNEL_MAKEOPTS) modules
 	+$(MAKE) $(KERNEL_MAKEOPTS) modules
 endef
 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
 define Kernel/CompileImage/Default
 	$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init)
 	$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init)