Skip to content

Commit 3430f65

Browse files
committed
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>
1 parent b18b047 commit 3430f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/link-vmlinux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ kallsyms_step()
182182
mksysmap ${kallsyms_vmlinux} ${kallsyms_vmlinux}.syms
183183
kallsyms ${kallsyms_vmlinux}.syms ${kallsyms_S}
184184

185-
info AS ${kallsyms_S}
185+
info AS ${kallsymso}
186186
${CC} ${NOSTDINC_FLAGS} ${LINUXINCLUDE} ${KBUILD_CPPFLAGS} \
187187
${KBUILD_AFLAGS} ${KBUILD_AFLAGS_KERNEL} \
188188
-c -o ${kallsymso} ${kallsyms_S}

0 commit comments

Comments
 (0)