summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2023-12-05 02:46:36 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2023-12-05 02:47:18 +0000
commit32e9438b0b000c24be2d7faac7c9ebeed5fc0f02 (patch)
treecf7206db6377484142ae569ce7874f4d9253845d /eclass
parenteclass/linux-build: switch to app-alternatives/ (diff)
downloadportage-32e9438b0b000c24be2d7faac7c9ebeed5fc0f02.tar.xz
eclass/linux-build: enforce requirements for IKHEADERS
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-build.eclass6
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