diff options
author | 2012-09-12 07:12:53 +0800 | |
---|---|---|
committer | 2012-09-12 07:12:53 +0800 | |
commit | 2a1497c3c4e884d6886e13741d0ba1abd2631006 (patch) | |
tree | bd46dba64fba48adfec403dff75682b9ba4e2774 /scripts | |
parent | Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/... (diff) | |
parent | kbuild: add symbol prefix arg to kallsyms (diff) | |
download | linux-2a1497c3c4e884d6886e13741d0ba1abd2631006.tar.gz linux-2a1497c3c4e884d6886e13741d0ba1abd2631006.tar.bz2 linux-2a1497c3c4e884d6886e13741d0ba1abd2631006.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin
Pull blackfin updates from Bob Liu:
"One kbuild and a smp build fix."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin:
kbuild: add symbol prefix arg to kallsyms
blackfin: smp: adapt to generic smp helpers
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/link-vmlinux.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index 4235a6361fec..b3d907eb93a9 100644 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -74,8 +74,13 @@ kallsyms() info KSYM ${2} local kallsymopt; + if [ -n "${CONFIG_SYMBOL_PREFIX}" ]; then + kallsymopt="${kallsymopt} \ + --symbol-prefix=${CONFIG_SYMBOL_PREFIX}" + fi + if [ -n "${CONFIG_KALLSYMS_ALL}" ]; then - kallsymopt=--all-symbols + kallsymopt="${kallsymopt} --all-symbols" fi local aflags="${KBUILD_AFLAGS} ${KBUILD_AFLAGS_KERNEL} \ |