add riscv64 to install.sh

This commit is contained in:
dervomsee
2025-01-05 22:08:45 +01:00
committed by GitHub
parent 0b25119c52
commit f3161d0c05

View File

@@ -254,6 +254,9 @@ set_cpu() {
cpu="${cpu}_softfloat" cpu="${cpu}_softfloat"
;; ;;
'riscv64')
cpu='riscv64'
;;
*) *)
error_exit "unsupported cpu type: $cpu" error_exit "unsupported cpu type: $cpu"
;; ;;
@@ -262,7 +265,7 @@ set_cpu() {
# Validate. # Validate.
case "$cpu" in case "$cpu" in
'amd64' | '386' | 'armv5' | 'armv6' | 'armv7' | 'arm64') 'amd64' | '386' | 'armv5' | 'armv6' | 'armv7' | 'arm64' | 'riscv64')
# All right, go on. # All right, go on.
;; ;;
'mips64le_softfloat' | 'mips64_softfloat' | 'mipsle_softfloat' | 'mips_softfloat') 'mips64le_softfloat' | 'mips64_softfloat' | 'mipsle_softfloat' | 'mips_softfloat')