* eutils.eclass functionality was not used in EAPI 7.
Signed-off-by: David Seifert <
soap@gentoo.org>
---
eclass/linux-mod.eclass | 28 ++++++++++------------------
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index ff2294f1e4e..f1fad3231a9 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.eclass
@@ -7,7 +7,7 @@
# @AUTHOR:
# John Mylchreest <
johnm@gentoo.org>,
# Stefan Schweizer <
genstef@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7 8
+# @SUPPORTED_EAPIS: 7 8
# @PROVIDES: linux-info
# @BLURB: It provides the functionality required to install external modules against a kernel source tree.
# @DESCRIPTION:
@@ -149,12 +149,8 @@
# @DESCRIPTION:
# It's a read-only variable. It contains the extension of the kernel modules.
-case ${EAPI:-0} in
- [67])
- inherit eutils
- ;;
- 8)
- ;;
+case ${EAPI} in
+ 7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
@@ -170,10 +166,6 @@ case ${MODULES_OPTIONAL_USE_IUSE_DEFAULT:-n} in
*) _modules_optional_use_iuse_default='+' ;;
esac
-[[ -n "