From 426aa983e40197a69c600c42e0679b2161ca225c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 25 Dec 2022 02:03:50 +0000 Subject: gentoo auto-resync : 25:12:2022 - 02:03:49 --- eclass/kernel-build.eclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'eclass/kernel-build.eclass') 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 # @AUTHOR: # Michał Górny -# @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 -- cgit v1.2.3