diff options
author | 2022-04-05 20:33:57 +0900 | |
---|---|---|
committer | 2022-05-08 03:16:58 +0900 | |
commit | 8017ce50641c303b9b5d96f3c10229ecfd770a70 (patch) | |
tree | 6dd50af7a5b1ff5325c896f35c3e9ced7268c3e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | modpost: remove annoying namespace_from_kstrtabns() (diff) | |
download | linux-dev-8017ce50641c303b9b5d96f3c10229ecfd770a70.tar.xz linux-dev-8017ce50641c303b9b5d96f3c10229ecfd770a70.zip |
kbuild: refactor cmd_modversions_c
cmd_modversions_c implements two parts; run genksyms to calculate CRCs
of exported symbols, run $(LD) to update the object with the CRCs. The
latter is not executed for CONFIG_LTO_CLANG=y since the object is not
ELF but LLVM bit code at this point.
The first part can be unified because we can always use $(NM) instead
of "$(OBJDUMP) -h" to dump the symbols.
Split the code into the two macros, cmd_gen_symversions_c and
cmd_modversions.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions