Re: [PATCH v2 01/13] kbuild: move objtool_args back to scripts/Makefile.build
From: Josh Poimboeuf
Date: Sat Sep 04 2021 - 14:30:33 EST
On Tue, Aug 31, 2021 at 04:39:52PM +0900, Masahiro Yamada wrote:
> Commit b1a1a1a09b46 ("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 2b1d7fc05467 ("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@xxxxxxxxxx>
> Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
--
Josh