]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4b657d586331b27194dcf153921e028ffc26c7e
treedaf6ef58d72544f4692be205bbda6bcaa506b51f
parent8f090b53456f007a38e9d77264a665d0582ec43e
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