commit:     dfde00ac12aa53f5a95069227440f3f6c1eb5123
Author:     Atharva <atharvaamritkar <AT> protonmail <DOT> com>
AuthorDate: Wed Jun  1 05:01:42 2022 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Jun 20 06:08:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=dfde00ac

bootstrap-prefix.sh: adding riscv profile

Signed-off-by: Atharva <atharvaamritkar <AT> protonmail.com>
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index c242762d33..519f356d87 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -422,6 +422,9 @@ bootstrap_setup() {
                i*86-pc-linux-gnu)
                        profile=${profile_linux/ARCH/x86}
                        ;;
+               riscv64-pc-linux-gnu)
+                       profile=${profile_linux/ARCH/riscv}
+                       ;;      
                x86_64-pc-linux-gnu)
                        profile=${profile_linux/ARCH/amd64}
                        profile=${profile/17.0/17.1/no-multilib}
@@ -435,6 +438,9 @@ bootstrap_setup() {
                powerpc64le-unknown-linux-gnu)
                        profile=${profile_linux/ARCH/ppc64le}
                        ;;
+               riscv-pc-unknown-linux-gnu)
+                       profile=${profile_linux/ARCH/riscv}     
+                       ;;
                aarch64-unknown-linux-gnu)
                        profile=${profile_linux/ARCH/arm64}
                        ;;

Reply via email to