strip .note.gnu.build-id from kernel modules
authorFelix Fietkau <nbd@openwrt.org>
Fri, 18 Mar 2011 03:13:38 +0000 (03:13 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 18 Mar 2011 03:13:38 +0000 (03:13 +0000)
SVN-Revision: 26217

rules.mk

index 2d56c43..ca76ef4 100644 (file)
--- 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