summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-09-08 11:47:37 -0400
committerMike Gilbert <floppym@gentoo.org>2022-09-09 21:17:36 -0400
commitb36ed473d8078e0128afa0cbe29f20061d636c0a (patch)
treeb0485e4f44c4a6e17a76f0c0a39a5f2a615b8296 /eclass/kernel-build.eclass
parentsavedconfig.eclass: support EAPI 8, drop EAPI 5 (diff)
downloadgentoo-b36ed473d8078e0128afa0cbe29f20061d636c0a.tar.gz
gentoo-b36ed473d8078e0128afa0cbe29f20061d636c0a.tar.bz2
gentoo-b36ed473d8078e0128afa0cbe29f20061d636c0a.zip
kernel-build.eclass: support EAPI 8
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
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} )