aboutsummaryrefslogtreecommitdiffstats
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
commit81f11f697644e335434093917c1330aa844a9f27 (patch)
tree7b044af222f5bc9b43f3549ae7fd2d61d3bce9f0 /rules.mk
parentbf508f06db4bc41d2e2c62992c65ec31ddab2d13 (diff)
downloadupstream-81f11f697644e335434093917c1330aa844a9f27.tar.gz
upstream-81f11f697644e335434093917c1330aa844a9f27.tar.bz2
upstream-81f11f697644e335434093917c1330aa844a9f27.zip
kernel: do not rename module symbols with kallsyms enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30759 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 79a2a9fa48..45ef87cb23 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" \