From 791641db07b3901201b9cebd75399b165f7f9b9c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 18 Mar 2011 03:13:38 +0000 Subject: [PATCH] strip .note.gnu.build-id from kernel modules SVN-Revision: 26217 --- rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.mk b/rules.mk index 2d56c436ed..ca76ef45b6 100644 --- a/rules.mk +++ b/rules.mk @@ -211,7 +211,7 @@ else RSTRIP:= \ NM="$(TARGET_CROSS)nm" \ 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 endif -- 2.25.1