commit:     531d90bdae5b72966ff265ab80b66a2aa7de2ab1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May  8 17:14:41 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May  8 17:14:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531d90bd

kernel-install.eclass: add riscv support

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/kernel-install.eclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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}"
                        ;;

Reply via email to