kbuild: fix short log for AS in link-vmlinux.sh
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 20 May 2024 12:42:11 +0000 (21:42 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 29 May 2024 07:40:03 +0000 (16:40 +0900)
commit3430f65d6130ccbc86f0ff45642eeb9e2032a600
tree4b7ebb70c04a09e0fe6fc5fe56127581545409a7
parentb18b047002b7d3b19d9fb905c1bd2a214016c153
kbuild: fix short log for AS in link-vmlinux.sh

In convention, short logs print the output file, not the input file.

Let's change the suffix for 'AS' since it assembles *.S into *.o.

[Before]

  LD      .tmp_vmlinux.kallsyms1
  NM      .tmp_vmlinux.kallsyms1.syms
  KSYMS   .tmp_vmlinux.kallsyms1.S
  AS      .tmp_vmlinux.kallsyms1.S
  LD      .tmp_vmlinux.kallsyms2
  NM      .tmp_vmlinux.kallsyms2.syms
  KSYMS   .tmp_vmlinux.kallsyms2.S
  AS      .tmp_vmlinux.kallsyms2.S
  LD      vmlinux

[After]

  LD      .tmp_vmlinux.kallsyms1
  NM      .tmp_vmlinux.kallsyms1.syms
  KSYMS   .tmp_vmlinux.kallsyms1.S
  AS      .tmp_vmlinux.kallsyms1.o
  LD      .tmp_vmlinux.kallsyms2
  NM      .tmp_vmlinux.kallsyms2.syms
  KSYMS   .tmp_vmlinux.kallsyms2.S
  AS      .tmp_vmlinux.kallsyms2.o
  LD      vmlinux

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