summaryrefslogtreecommitdiff
path: root/eclass/kernel-build.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-25 02:03:50 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-25 02:03:50 +0000
commit426aa983e40197a69c600c42e0679b2161ca225c (patch)
tree0d279fe549a8f3cc4b684897eaf275d91c8411fe /eclass/kernel-build.eclass
parentec9f79e1d3358df31a704f16a76a269ccceae2b2 (diff)
gentoo auto-resync : 25:12:2022 - 02:03:49
Diffstat (limited to 'eclass/kernel-build.eclass')
-rw-r--r--eclass/kernel-build.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index c8802b39fa8c..da215a055a46 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -6,7 +6,7 @@
# Distribution Kernel Project <dist-kernel@gentoo.org>
# @AUTHOR:
# Michał Górny <mgorny@gentoo.org>
-# @SUPPORTED_EAPIS: 7 8
+# @SUPPORTED_EAPIS: 8
# @PROVIDES: kernel-install
# @BLURB: Build mechanics for Distribution Kernels
# @DESCRIPTION:
@@ -20,13 +20,14 @@
# the kernel and installing it along with its modules and subset
# of sources needed to build external modules.
-if [[ ! ${_KERNEL_BUILD_ECLASS} ]]; then
-
case ${EAPI} in
- 7|8) ;;
+ 8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
+if [[ ! ${_KERNEL_BUILD_ECLASS} ]]; then
+_KERNEL_BUILD_ECLASS=1
+
PYTHON_COMPAT=( python3_{8..11} )
inherit multiprocessing python-any-r1 savedconfig toolchain-funcs kernel-install
@@ -281,7 +282,6 @@ kernel-build_merge_configs() {
.config "${@}" "${user_configs[@]}" || die
}
-_KERNEL_BUILD_ECLASS=1
fi
EXPORT_FUNCTIONS src_configure src_compile src_test src_install pkg_postinst