summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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