]> 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)
commit1272a900deb6df0b89943cd2acd73d622643bc19
treedaf6ef58d72544f4692be205bbda6bcaa506b51f
parentea13691520664699f591875530af2817bc7850fc
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