summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-18 03:13:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-18 03:13:38 +0000
commit791641db07b3901201b9cebd75399b165f7f9b9c (patch)
treed4559ee3b4436c48f07d3653baf881e926e9118d /rules.mk
parenta75791b8556fc9dead3cdbe0c259c6fad13398dd (diff)
downloadmtk-20170518-791641db07b3901201b9cebd75399b165f7f9b9c.zip
mtk-20170518-791641db07b3901201b9cebd75399b165f7f9b9c.tar.gz
mtk-20170518-791641db07b3901201b9cebd75399b165f7f9b9c.tar.bz2
strip .note.gnu.build-id from kernel modules
SVN-Revision: 26217
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 2d56c43..ca76ef4 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" \
+ 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