summaryrefslogtreecommitdiff
path: root/eclass/kernel-build.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-10 04:41:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-10 04:41:31 +0100
commitb9baffd9af9383cc886b1583814fe15163017d80 (patch)
treeac23c3bc28a85762e2792dcfd19921f08931a33e /eclass/kernel-build.eclass
parentf848d5eacad65f1f52c168d9b0f74dec3e89b203 (diff)
gentoo auto-resync : 10:09:2022 - 04:41:30
Diffstat (limited to 'eclass/kernel-build.eclass')
-rw-r--r--eclass/kernel-build.eclass14
1 files changed, 4 insertions, 10 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 750a8e873d98..98a385bf72c0 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
+# @SUPPORTED_EAPIS: 7 8
# @PROVIDES: kernel-install
# @BLURB: Build mechanics for Distribution Kernels
# @DESCRIPTION:
@@ -22,15 +22,9 @@
if [[ ! ${_KERNEL_BUILD_ECLASS} ]]; then
-case "${EAPI:-0}" in
- 0|1|2|3|4|5|6)
- die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
- ;;
- 7)
- ;;
- *)
- die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
- ;;
+case ${EAPI} in
+ 7|8) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
PYTHON_COMPAT=( python3_{8..11} )