summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-08 17:14:41 +0000
committerSam James <sam@gentoo.org>2022-05-08 17:14:41 +0000
commit531d90bdae5b72966ff265ab80b66a2aa7de2ab1 (patch)
treeb822611eb267734e160f36880d0aabd257314016 /eclass/kernel-install.eclass
parentdist-kernel-utils.eclass: add riscv kernel image path (diff)
downloadgentoo-531d90bdae5b72966ff265ab80b66a2aa7de2ab1.tar.gz
gentoo-531d90bdae5b72966ff265ab80b66a2aa7de2ab1.tar.bz2
gentoo-531d90bdae5b72966ff265ab80b66a2aa7de2ab1.zip
kernel-install.eclass: add riscv support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/kernel-install.eclass')
-rw-r--r--eclass/kernel-install.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass
index 7f4ca654845f..08f631b5e865 100644
--- a/eclass/kernel-install.eclass
+++ b/eclass/kernel-install.eclass
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: kernel-install.eclass
@@ -168,6 +168,9 @@ kernel-install_get_qemu_arch() {
ppc64)
echo ppc64
;;
+ riscv)
+ echo riscv
+ ;;
*)
die "${FUNCNAME}: unsupported ARCH=${ARCH}"
;;