Re: [PATCH V3] kbuild: control extra pacman packages with PACMAN_EXTRAPACKAGES
From: Masahiro Yamada
Date: Fri Aug 16 2024 - 09:00:49 EST
On Tue, Aug 13, 2024 at 10:17 AM Jose Fernandez
<jose.fernandez@xxxxxxxxx> wrote:
>
> Introduce the PACMAN_EXTRAPACKAGES variable in PKGBUILD to allow users
> to specify which additional packages are built by the pacman-pkg target.
>
> Previously, the api-headers package was always included, and the headers
> package was included only if CONFIG_MODULES=y. With this change, both
> headers and api-headers packages are included by default. Users can now
> control this behavior by setting PACMAN_EXTRAPACKAGES to a
> space-separated list of desired extra packages or leaving it empty to
> exclude all.
>
> For example, to build only the base package without extras:
>
> make pacman-pkg PACMAN_EXTRAPACKAGES=""
>
> Signed-off-by: Jose Fernandez <jose.fernandez@xxxxxxxxx>
> Reviewed-by: Peter Jung <ptr1337@xxxxxxxxxxx>
Applied to linux-kbuild.
Thanks!
--
Best Regards
Masahiro Yamada