Re: [PATCH 3/4] kbuild: slim down package for building external modules

Nicolas Schier
2024-07-31T21:01:33Z

On Sat, Jul 27, 2024 at 04:42:03PM +0900, Masahiro Yamada wrote:
> Exclude directories and files unnecessary for building external modules:
>
> - include/config/ (except include/config/auto.conf)
> - scripts/atomic/
> - scripts/dtc/
> - scripts/kconfig/
> - scripts/mod/mk_elfconfig
> - scripts/package/
> - scripts/unifdef
> - .config
> - *.o
> - .*.cmd
>
> Avoid copying files twice for the following directories:
>
> - include/generated/
> - arch/*/include/generated/
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---

nice.

Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>