OSDN Git Service

kbuild: rename __objtool_obj and reuse it for cmd_cc_lto_link_modules
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 31 Aug 2021 07:39:53 +0000 (16:39 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 22 Sep 2021 00:26:25 +0000 (09:26 +0900)
commit5c4859e77aa11f9a8d9533962389893d199df70e
tree51c1817080092fdd51f1bd1b91c9991221f1d2de
parent8f0c32c788fffa8e88f995372415864039347c8a
kbuild: rename __objtool_obj and reuse it for cmd_cc_lto_link_modules

Rename __objtool_obj to objtool, and move it out of the
'ifndef CONFIG_LTO_CLANG' conditional, so it can be used for
cmd_cc_lto_link_modules as well.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
scripts/Makefile.build