Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Cc: kernel@g.o, Sam James <sam@g.o>
Subject: [gentoo-dev] [PATCH 1/2] linux-mod.eclass: drop unnecessary IUSE="kernel_linux"
Date: Tue, 04 Jan 2022 10:24:53
Message-Id: 20220104102348.221452-1-sam@gentoo.org
1 It's already an implicit IUSE, so we don't need this.
2
3 Signed-off-by: Sam James <sam@g.o>
4 ---
5 eclass/linux-mod.eclass | 4 ++--
6 1 file changed, 2 insertions(+), 2 deletions(-)
7
8 diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
9 index 9f4ae64f6b55..496b9c98b526 100644
10 --- a/eclass/linux-mod.eclass
11 +++ b/eclass/linux-mod.eclass
12 @@ -1,4 +1,4 @@
13 -# Copyright 1999-2021 Gentoo Authors
14 +# Copyright 1999-2022 Gentoo Authors
15 # Distributed under the terms of the GNU General Public License v2
16
17 # @ECLASS: linux-mod.eclass
18 @@ -170,7 +170,7 @@ esac
19 0) die "EAPI=${EAPI} is not supported with MODULES_OPTIONAL_USE_IUSE_DEFAULT due to lack of IUSE defaults" ;;
20 esac
21
22 -IUSE="kernel_linux dist-kernel
23 +IUSE="dist-kernel
24 ${MODULES_OPTIONAL_USE:+${_modules_optional_use_iuse_default}}${MODULES_OPTIONAL_USE}"
25 SLOT="0"
26 RDEPEND="
27 --
28 2.34.1

Replies