kbuild: split the build log of kallsyms
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 24 Sep 2020 15:45:46 +0000 (00:45 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 9 Oct 2020 14:57:30 +0000 (23:57 +0900)
commit08beb669cb3f11ff5e05055bcab5e29385e69f98
tree870bf0c04f67a3fc6028e843624926d985f4de88
parenta968433723310f35898b4a2f635a7991aeef66b1
kbuild: split the build log of kallsyms

Currently, the build log shows KSYM + object name.

Precisely speaking, kallsyms generates a .S file and then the compiler
compiles it into a .o file. Split the build log into two.

[Before]

  GEN     modules.builtin
  LD      .tmp_vmlinux.kallsyms1
  KSYM    .tmp_vmlinux.kallsyms1.o
  LD      .tmp_vmlinux.kallsyms2
  KSYM    .tmp_vmlinux.kallsyms2.o
  LD      vmlinux

[After]

  GEN     modules.builtin
  LD      .tmp_vmlinux.kallsyms1
  KSYMS   .tmp_vmlinux.kallsyms1.S
  AS      .tmp_vmlinux.kallsyms1.o
  LD      .tmp_vmlinux.kallsyms2
  KSYMS   .tmp_vmlinux.kallsyms2.S
  AS      .tmp_vmlinux.kallsyms2.o
  LD      vmlinux

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/link-vmlinux.sh