summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-07-21 01:39:05 +0100
committerSam James <sam@gentoo.org>2023-07-21 18:56:51 +0100
commit706f56d80574a5694a977a63e9f821ac3d9e1358 (patch)
tree7d989d12b75806b6a90898f603d710a48ae0ebfc /eclass/kernel-install.eclass
parentkernel-build.eclass: add special-case for sparc arch/ directory (diff)
downloadgentoo-706f56d80574a5694a977a63e9f821ac3d9e1358.tar.gz
gentoo-706f56d80574a5694a977a63e9f821ac3d9e1358.tar.bz2
gentoo-706f56d80574a5694a977a63e9f821ac3d9e1358.zip
kernel-install.eclass: kernel-install_get_qemu_arch: port to sparc
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/kernel-install.eclass')
-rw-r--r--eclass/kernel-install.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass
index 49aff35dea0d..ef64bde6d414 100644
--- a/eclass/kernel-install.eclass
+++ b/eclass/kernel-install.eclass
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: kernel-install.eclass
@@ -165,6 +165,12 @@ kernel-install_get_qemu_arch() {
riscv)
echo riscv
;;
+ sparc)
+ echo sparc
+ ;;
+ sparc64)
+ echo sparc64
+ ;;
*)
die "${FUNCNAME}: unsupported ARCH=${ARCH}"
;;