diff options
author | Alice Ferrazzi <alicef@gentoo.org> | 2021-08-26 14:41:07 +0900 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2021-08-30 20:31:37 +0900 |
commit | 6dc2478844cc609e015ccd37a3ea0e07c8486f8c (patch) | |
tree | 7c087c198ac0ced4a60d284b687d8d878611b904 /eclass/kernel-2.eclass | |
parent | app-emulation/free42: 3.0.6 bump (diff) | |
download | gentoo-6dc2478844cc609e015ccd37a3ea0e07c8486f8c.tar.gz gentoo-6dc2478844cc609e015ccd37a3ea0e07c8486f8c.tar.bz2 gentoo-6dc2478844cc609e015ccd37a3ea0e07c8486f8c.zip |
Clean deblob
As we are moving out to deprecate EAPI=6 from kernel-2.eclass
start removing it from deblob function. Also clean code linked to old
kernel versions. kernel sources that use deblob are already updated to
EAPI=8
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 05c07c4d153e..c2f1e93dca68 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -220,11 +220,6 @@ fi HOMEPAGE="https://www.kernel.org/ https://wiki.gentoo.org/wiki/Kernel ${HOMEPAGE}" : ${LICENSE:="GPL-2"} -# This is the latest KV_PATCH of the deblob tool available from the -# libre-sources upstream. If you bump this, you MUST regenerate the Manifests -# for ALL kernel-2 consumer packages where deblob is available. -: ${DEBLOB_MAX_VERSION:=38} - # No need to run scanelf/strip on kernel sources/headers (bug #134453). RESTRICT="binchecks strip" @@ -600,11 +595,6 @@ if [[ ${ETYPE} == sources ]]; then # Bug #266157, deblob for libre support if [[ -z ${K_PREDEBLOBBED} ]]; then - # Bug #359865, force a call to detect_version if needed - kernel_is ge 2 6 27 && \ - [[ -z ${K_DEBLOB_AVAILABLE} ]] && \ - kernel_is le 2 6 ${DEBLOB_MAX_VERSION} && \ - K_DEBLOB_AVAILABLE=1 # deblob less than 5.10 require python 2.7 if kernel_is lt 5 10; then K_DEBLOB_AVAILABLE=0 @@ -621,7 +611,6 @@ if [[ ${ETYPE} == sources ]]; then # tree has been dropped from the kernel. kernel_is lt 4 14 && LICENSE+=" !deblob? ( linux-firmware )" - [[ ${EAPI} == 6 ]] && DEPEND+=" deblob? ( ${PYTHON_DEPS} )" || BDEPEND+=" deblob? ( ${PYTHON_DEPS} )" if [[ -n KV_MINOR ]]; then |