aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-01 15:13:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-03-01 15:13:26 +0000
commit236dd9d9a2c7563926ca0366e7dba3b60d89bcae (patch)
tree96ec5c72f8acff2fbc383f3e45e112da3557c36e /rules.mk
parentedc3ad9100856c582e55f6809df24167e0866535 (diff)
downloadupstream-236dd9d9a2c7563926ca0366e7dba3b60d89bcae.tar.gz
upstream-236dd9d9a2c7563926ca0366e7dba3b60d89bcae.tar.bz2
upstream-236dd9d9a2c7563926ca0366e7dba3b60d89bcae.zip
kernel: keep more symbols in the kernel modules when doing profiling
SVN-Revision: 30762
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index a0ceca8c2e..6684c93c17 100644
--- a/rules.mk
+++ b/rules.mk
@@ -220,7 +220,9 @@ else
endif
endif
RSTRIP:= \
- export CROSS="$(TARGET_CROSS)" $(if $(CONFIG_KERNEL_KALLSYMS),NO_RENAME=1); \
+ export CROSS="$(TARGET_CROSS)" \
+ $(if $(CONFIG_KERNEL_KALLSYMS),NO_RENAME=1) \
+ $(if $(CONFIG_KERNEL_PROFILING),KEEP_SYMBOLS=1); \
NM="$(TARGET_CROSS)nm" \
STRIP="$(STRIP)" \
STRIP_KMOD="$(SCRIPT_DIR)/strip-kmod.sh" \