summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-01 09:58:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-03-01 09:58:03 +0000
commita8ec8ce1ac0116dfa7c37aa28cbd80578be1b397 (patch)
tree57dfc210cf2d20160eae35ec8f1da0ff20adadf4 /rules.mk
parent82211c7bcce1b003f45a3ce0e28a58dd15d05ed8 (diff)
downloadmtk-20170518-a8ec8ce1ac0116dfa7c37aa28cbd80578be1b397.zip
mtk-20170518-a8ec8ce1ac0116dfa7c37aa28cbd80578be1b397.tar.gz
mtk-20170518-a8ec8ce1ac0116dfa7c37aa28cbd80578be1b397.tar.bz2
kernel: do not rename module symbols with kallsyms enabled
SVN-Revision: 30759
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 79a2a9f..45ef87c 100644
--- a/rules.mk
+++ b/rules.mk
@@ -219,7 +219,7 @@ else
endif
endif
RSTRIP:= \
- export CROSS="$(TARGET_CROSS)"; \
+ export CROSS="$(TARGET_CROSS)" $(if $(CONFIG_KERNEL_KALLSYMS),NO_RENAME=1); \
NM="$(TARGET_CROSS)nm" \
STRIP="$(STRIP)" \
STRIP_KMOD="$(SCRIPT_DIR)/strip-kmod.sh" \