Signed-off-by: Michał Górny <[email protected]>
---
eclass/kernel-2.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 1b2b5d3e8b60..d672b295c37c 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -193,7 +193,7 @@
PYTHON_COMPAT=( python{2_6,2_7} )
-inherit toolchain-funcs python-any-r1
+inherit toolchain-funcs
[[ ${EAPI:-0} == [012345] ]] && inherit epatch
[[ ${EAPI:-0} == [0123456] ]] && inherit estack eapi7-ver
case ${EAPI:-0} in
@@ -621,6 +621,8 @@ if [[ ${ETYPE} == sources ]]; then
kernel_is le 2 6 ${DEBLOB_MAX_VERSION} && \
K_DEBLOB_AVAILABLE=1
if [[ ${K_DEBLOB_AVAILABLE} == "1" ]] ; then
+ inherit python-any-r1
+
IUSE="${IUSE} deblob"
# Reflect that kernels contain firmware blobs unless
otherwise
--
2.23.0.rc2