profiles: add kernel_Hurd

I was hoping to do this later on, but in some ebuilds, it is more appropriate
to use `kernel_Hurd` than it is to look at CHOST, especially as we have
to do a careful match (*-gnu by itself will include Linux).

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-03-16 20:23:52 +00:00
parent effb1089e2
commit 28c15d5664
3 changed files with 4 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
IUSE_IMPLICIT="prefix prefix-guest prefix-stack"
USE_EXPAND_IMPLICIT="ELIBC KERNEL"
USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS"
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS"
USE_EXPAND_VALUES_KERNEL="Darwin Hurd linux SunOS"
# Env vars to expand into USE vars. Modifying this requires prior
# discussion on gentoo-dev@lists.gentoo.org.

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# This file contains descriptions of KERNEL USE_EXPAND flags.
@@ -6,5 +6,6 @@
# Keep it sorted.
Darwin - KERNEL setting for system using the Darwin kernel (i.e.: Mac OS X).
linux - KERNEL setting for system using the Linux kernel
Hurd - KERNEL setting for system using the GNU Hurd
SunOS - KERNEL setting for system using an SunOS (i.e.: Solaris) kernel
Winnt - KERNEL setting for systems on Windows (Cygwin, MinGW, Winnt, ...)

View File

@@ -25,7 +25,7 @@ USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL"
USE_EXPAND_VALUES_ARCH="alpha amd64 arm arm64 hppa loong m68k mips ppc ppc64 riscv s390 sparc x64-macos x64-solaris x86"
USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS"
# Note that we keep Winnt here for cross, especially for cmake.eclass (bug #910605)
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS Winnt"
USE_EXPAND_VALUES_KERNEL="Darwin Hurd linux SunOS Winnt"
# Env vars to expand into USE vars. Modifying this requires prior
# discussion on gentoo-dev@lists.gentoo.org.