aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-26 15:22:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-26 15:22:14 +0000
commit596d89b331f5852218d7a82636e5177ea063a2a9 (patch)
tree2da4d7c451e78a33d7abf5c78b263a8eca7b7b32
parent98267669b0095f9c0afdcb6dd8f3d289628b5ee7 (diff)
downloadupstream-596d89b331f5852218d7a82636e5177ea063a2a9.tar.gz
upstream-596d89b331f5852218d7a82636e5177ea063a2a9.tar.bz2
upstream-596d89b331f5852218d7a82636e5177ea063a2a9.zip
strip .gnu.attributes and .reginfo from kernel modules
SVN-Revision: 26304
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index ca76ef45b6..cddfdf5d30 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 --remove-section=.note.gnu.build-id" \
+ STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded -R .comment -R .pdr -R .mdebug.abi32 -R .note.gnu.build-id -R .gnu.attributes -R .reginfo" \
$(SCRIPT_DIR)/rstrip.sh
endif