Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 08 May 2022 17:15:00
Message-Id: 1652030081.531d90bdae5b72966ff265ab80b66a2aa7de2ab1.sam@gentoo
1 commit: 531d90bdae5b72966ff265ab80b66a2aa7de2ab1
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 8 17:14:41 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun May 8 17:14:41 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531d90bd
7
8 kernel-install.eclass: add riscv support
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 eclass/kernel-install.eclass | 5 ++++-
13 1 file changed, 4 insertions(+), 1 deletion(-)
14
15 diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass
16 index 7f4ca654845f..08f631b5e865 100644
17 --- a/eclass/kernel-install.eclass
18 +++ b/eclass/kernel-install.eclass
19 @@ -1,4 +1,4 @@
20 -# Copyright 2020-2021 Gentoo Authors
21 +# Copyright 2020-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 # @ECLASS: kernel-install.eclass
25 @@ -168,6 +168,9 @@ kernel-install_get_qemu_arch() {
26 ppc64)
27 echo ppc64
28 ;;
29 + riscv)
30 + echo riscv
31 + ;;
32 *)
33 die "${FUNCNAME}: unsupported ARCH=${ARCH}"
34 ;;