summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-12-24 19:07:34 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-24 21:13:22 +0100
commitd5fa80c9a5370775832e0d0931734bb1fc9bbe98 (patch)
tree89b4f20739a5d949c4e8e722d18765518bf61cb2 /eclass/kernel-build.eclass
parentpackage.mask: Last rite dev-python/ndg-httpsclient (diff)
downloadgentoo-d5fa80c9a5370775832e0d0931734bb1fc9bbe98.tar.gz
gentoo-d5fa80c9a5370775832e0d0931734bb1fc9bbe98.tar.bz2
gentoo-d5fa80c9a5370775832e0d0931734bb1fc9bbe98.zip
kernel-build.eclass: drop EAPI 7 support
Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
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