diff --git a/scripts/install.sh b/scripts/install.sh index ebe6a8b0e29..be7575d5a4a 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')