strip .note.gnu.build-id from kernel modules

SVN-Revision: 26217
This commit is contained in:
Felix Fietkau 2011-03-18 03:13:38 +00:00
parent a75791b855
commit 791641db07

View File

@ -211,7 +211,7 @@ else
RSTRIP:= \ RSTRIP:= \
NM="$(TARGET_CROSS)nm" \ NM="$(TARGET_CROSS)nm" \
STRIP="$(STRIP)" \ STRIP="$(STRIP)" \
STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment --remove-section=.pdr --remove-section=.mdebug.abi32" \ STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment --remove-section=.pdr --remove-section=.mdebug.abi32 --remove-section=.note.gnu.build-id" \
$(SCRIPT_DIR)/rstrip.sh $(SCRIPT_DIR)/rstrip.sh
endif endif