summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-10-22 16:26:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-10-22 16:26:12 +0000
commit9bd710e050fee9bac28d20915b74a88514b7344a (patch)
tree76885a8a20ae05d15f7d8144a5d947c2e146dd38 /rules.mk
parent763644ae933c0869ac49d04cb9eadc0c2bc22282 (diff)
downloadmtk-20170518-9bd710e050fee9bac28d20915b74a88514b7344a.zip
mtk-20170518-9bd710e050fee9bac28d20915b74a88514b7344a.tar.gz
mtk-20170518-9bd710e050fee9bac28d20915b74a88514b7344a.tar.bz2
add some extra stripping options for kernel modules to reduce size even more (thx, matteo)
SVN-Revision: 18121
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 20cb85e..536f8cf 100644
--- a/rules.mk
+++ b/rules.mk
@@ -183,7 +183,7 @@ else
RSTRIP:= \
NM="$(TARGET_CROSS)nm" \
STRIP="$(STRIP)" \
- STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \
+ STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment --remove-section=.pdr --remove-section=mdebug.abi32" \
$(SCRIPT_DIR)/rstrip.sh
endif