]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: move objtool_args back to scripts/Makefile.build
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 31 Aug 2021 07:39:52 +0000 (16:39 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 22 Sep 2021 00:26:25 +0000 (09:26 +0900)
commit8cb2426f004abeb40baf73342db4cad1bba808df
treea42f964e9626dabd26a20ef2dbe1e10dbfbd4d45
parent536ba1ad8dea31a5b5bba3b3d83b502ef81c1253
kbuild: move objtool_args back to scripts/Makefile.build

Commit 9d444b12cfd7 ("kbuild: lto: postpone objtool") moved objtool_args
to Makefile.lib, so the arguments can be used in Makefile.modfinal as
well as Makefile.build.

With commit 2cb18a809794 ("kbuild: Fix TRIM_UNUSED_KSYMS with
LTO_CLANG"), module LTO linking came back to scripts/Makefile.build
again.

So, there is no more reason to keep objtool_args in a separate file.

Get it back to the original place, close to the objtool command.

Remove the stale comment too.

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