kernel: keep more symbols in the kernel modules when doing profiling

SVN-Revision: 30762
This commit is contained in:
Felix Fietkau
2012-03-01 15:13:26 +00:00
parent edc3ad9100
commit 236dd9d9a2
2 changed files with 8 additions and 4 deletions

View File

@@ -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" \