diff options
author | Masahiro Yamada | 2022-09-26 18:02:26 +0900 |
---|---|---|
committer | Masahiro Yamada | 2022-10-02 18:06:05 +0900 |
commit | 94ff2f63d6a31501ceb36ebc600240937cfff35f (patch) | |
tree | d5ba91809500d683c12a72a307dac9ca3197469c /scripts/mksysmap | |
parent | c13461693ea21d787f82232ce3a5667da370d973 (diff) |
kbuild: reuse mksysmap output for kallsyms
scripts/mksysmap internally runs ${NM} (dropping some symbols).
When CONFIG_KALLSYMS=y, mksysmap creates .tmp_System.map, but it is
almost the same as the output from the ${NM} invocation in kallsyms().
It is true scripts/mksysmap drops some symbols, but scripts/kallsyms.c
ignores more anyway.
Keep the mksysmap output as *.syms, and reuse it for kallsyms and
'cmp -s'. It saves one ${NM} invocation.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/mksysmap')
0 files changed, 0 insertions, 0 deletions