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 2d56c436ed20726d36d1d19617c9d21e447cc85a..ca76ef45b62d0eceff7f255474fcbbda0502b940 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