]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - scripts/link-vmlinux.sh
kbuild: Parameterize kallsyms generation and correct reporting
authorKees Cook <keescook@chromium.org>
Tue, 13 Aug 2019 15:15:32 +0000 (08:15 -0700)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 21 Aug 2019 12:05:21 +0000 (21:05 +0900)
commit8959e39272d6e625da1cd62f2e7622d79e04447d
treedaf6ef58d72544f4692be205bbda6bcaa506b51f
parentc7c0eecf894c3e353499fffd6f2ddaefc89bbd4a
kbuild: Parameterize kallsyms generation and correct reporting

When kallsyms generation happens, temporary vmlinux outputs are linked
but the quiet make output didn't report it, giving the impression that
the prior command is taking longer than expected.

Instead, report the linking step explicitly. While at it, this
consolidates the repeated "kallsyms generation step" into a single
function and removes the existing copy/pasting.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/link-vmlinux.sh