Re: [PATCH] kbuild: move kbuild syntax processing to scripts/Makefile.build
From: Nicolas Schier
Date: Mon May 19 2025 - 15:35:36 EST
On Wed, May 14, 2025 at 02:46:33PM +0900, Masahiro Yamada wrote:
> scripts/Makefile.lib is included by the following Makefiles:
>
> scripts/Makefile.build
> scripts/Makefile.modfinal
> scripts/Makefile.package
> scripts/Makefile.vmlinux
> scripts/Makefile.vmlinux_o
>
> However, the last four do not need to process Kbuild syntax such as
> obj-*, lib-*, subdir-*, etc.
>
> Move the relevant code to scripts/Makefile.build.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> scripts/Makefile.build | 84 ++++++++++++++++++++++++++++++++++++++++++
> scripts/Makefile.lib | 84 ------------------------------------------
> 2 files changed, 84 insertions(+), 84 deletions(-)
>
Reviewed-by: Nicolas Schier <nicolas.schier@xxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature