From f3161d0c056195a87e82900799b267511e138732 Mon Sep 17 00:00:00 2001 From: dervomsee Date: Sun, 5 Jan 2025 22:08:45 +0100 Subject: [PATCH 1/2] add riscv64 to install.sh --- scripts/install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index ebe6a8b0e29..965d8543c44 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -254,6 +254,9 @@ set_cpu() { cpu="${cpu}_softfloat" ;; + 'riscv64') + cpu='riscv64' + ;; *) error_exit "unsupported cpu type: $cpu" ;; @@ -262,7 +265,7 @@ set_cpu() { # Validate. case "$cpu" in - 'amd64' | '386' | 'armv5' | 'armv6' | 'armv7' | 'arm64') + 'amd64' | '386' | 'armv5' | 'armv6' | 'armv7' | 'arm64' | 'riscv64') # All right, go on. ;; 'mips64le_softfloat' | 'mips64_softfloat' | 'mipsle_softfloat' | 'mips_softfloat') From 0211a952eacc82c77c79da2149921998e022cf4e Mon Sep 17 00:00:00 2001 From: dervomsee Date: Wed, 8 Jan 2025 08:10:52 +0100 Subject: [PATCH 2/2] correct indention in install.sh --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 965d8543c44..be7575d5a4a 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -254,7 +254,7 @@ set_cpu() { cpu="${cpu}_softfloat" ;; - 'riscv64') + 'riscv64') cpu='riscv64' ;; *)