X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=scripts%2Flink-vmlinux.sh;h=b3d907eb93a91e7437ec8be8dac4248990eaf1e0;hb=53f698cdeb0e1af2799a515b578a779943c43482;hp=4235a6361fec8076de79166cdf78f37260be30dc;hpb=0cc8d6a9d23d6662da91eeb6bb8e7d1c559850f0;p=deliverable%2Flinux.git 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} \