Re: [PATCH 2/4] kbuild: avoid too many execution of scripts/pahole-flags.sh
From: Miguel Ojeda
Date: Tue Oct 17 2023 - 11:21:25 EST
On Tue, Oct 17, 2023 at 12:38 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> Convert the shell script to a Makefile, which is included only when
> CONFIG_DEBUG_INFO_BTF=y.
>
> [1]: https://savannah.gnu.org/bugs/index.php?64746
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
The field in `MAINTAINERS` should be removed:
F: scripts/pahole-flags.sh
But other than that, it looks good to me! I tried it for a given
config and it does call `pahole` with the same flags.
Tested-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
Acked-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
Cheers,
Miguel