also strip the .notes section of the kernel

SVN-Revision: 15443
master
Florian Fainelli 16 years ago
parent de7b6625a2
commit c09afea86a
  1. 2
      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)

Loading…
Cancel
Save