summaryrefslogtreecommitdiff
path: root/scripts/module-common.c
diff options
context:
space:
mode:
authorJose Fernandez <jose.fernandez@linux.dev>2024-08-12 19:16:19 -0600
committerMasahiro Yamada <masahiroy@kernel.org>2024-09-01 20:34:49 +0900
commite6b65ee10588a552d04d488ebeac24bba20747a8 (patch)
tree2e2852cd220bf8c5c318737b9a8ff46f45430d15 /scripts/module-common.c
parent7a7f974594cd5d6723242cb8c018b59db16fe27b (diff)
kbuild: control extra pacman packages with PACMAN_EXTRAPACKAGES
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@linux.dev> Reviewed-by: Peter Jung <ptr1337@cachyos.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Tested-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Christian Heusel <christian@heusel.eu> Tested-by: Christian Heusel <christian@heusel.eu> Acked-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions