diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2023-12-05 02:46:36 +0000 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2023-12-05 02:47:18 +0000 |
commit | 32e9438b0b000c24be2d7faac7c9ebeed5fc0f02 (patch) | |
tree | cf7206db6377484142ae569ce7874f4d9253845d /eclass | |
parent | eclass/linux-build: switch to app-alternatives/ (diff) | |
download | portage-32e9438b0b000c24be2d7faac7c9ebeed5fc0f02.tar.xz |
eclass/linux-build: enforce requirements for IKHEADERS
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-build.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass index 5671081c..909298a6 100644 --- a/eclass/linux-build.eclass +++ b/eclass/linux-build.eclass @@ -381,6 +381,12 @@ _linux-build_src_prepare_build() { fi fi + if _linux-build_configval IKHEADERS ; then + if ! has_version -b "app-alternatives/cpio" ; then + die "app-alternatives/cpio is required for CONFIG_IKHEADERS" + fi + fi + if _linux-build_configval MODULE_COMPRESS ; then if _linux-build_configval MODULE_COMPRESS_GZIP ; then if ! has_version -b "app-arch/gzip" ; then |