From e0e95fc3df542fcfc0404fceec1f3f412d975f3d Mon Sep 17 00:00:00 2001 From: Ian Jordan Date: Sun, 14 Jun 2026 15:13:51 +0100 Subject: [PATCH] sys-kernel/vanilla-kernel: SPARC64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mirror Debian support from gentoo-kernel to here. Signed-off-by: Ian Jordan Part-of: https://github.com/gentoo/gentoo/pull/46404 Signed-off-by: Michał Górny --- sys-kernel/vanilla-kernel/vanilla-kernel-7.0.12.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-7.0.12.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-7.0.12.ebuild index b2dfe2b9a8c80..08486f23b4f07 100644 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-7.0.12.ebuild +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-7.0.12.ebuild @@ -39,7 +39,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 IUSE="debug hardened" REQUIRED_USE=" hppa? ( savedconfig ) - sparc? ( savedconfig ) " BDEPEND=" @@ -78,7 +77,7 @@ src_prepare() { # prepare the default config case ${ARCH} in - hppa | sparc) + hppa ) > .config || die ;; alpha) @@ -130,6 +129,13 @@ src_prepare() { s390) cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-s390x-fedora.config" .config || die ;; + sparc) + cp "${WORKDIR}/linux-${DEBIAN_COMMIT}/debian/config/config" .config || die + merge_configs+=( + "${WORKDIR}/linux-${DEBIAN_COMMIT}/debian/config/sparc64/config.sparc64" \ + "${WORKDIR}/linux-${DEBIAN_COMMIT}/debian/config/sparc64/config.sparc64-smp" + ) + ;; x86) cp "${WORKDIR}/kernel-${CONFIG_VER}/kernel-i686-fedora.config" .config || die ;;