Re: [PATCH v2 10/13] kbuild: rebuild modules when objtool is updated for CONFIG_LTO_CLANG

From: Josh Poimboeuf
Date: Sat Sep 04 2021 - 15:32:45 EST


On Tue, Aug 31, 2021 at 04:40:01PM +0900, Masahiro Yamada wrote:
> We rebuilt objects when objtool was updated, but only for non LTO
> builds.
>
> For CONFIG_LTO_CLANG, the objtool step is postponed by the link time,
> and nothing happens even if objtool is updated.
>
> Add the proper objtool dependency to the pre-modpost module link
> for CONFIG_LTO_CLANG.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>

Nice!

Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

--
Josh