aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
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
commitb978cbd458137029deb0781a3bc646bec31466bc (patch)
tree4b9a1404ab637c9f7897b2e1a96949f3b7e9d436 /rules.mk
parent485512673518613a9d6a1f931912d0095d893b61 (diff)
downloadupstream-b978cbd458137029deb0781a3bc646bec31466bc.tar.gz
upstream-b978cbd458137029deb0781a3bc646bec31466bc.tar.bz2
upstream-b978cbd458137029deb0781a3bc646bec31466bc.zip
strip .gnu.attributes and .reginfo from kernel modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26304 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-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