fix: Adapt v4.27.0

1. Modify MACHINE.
2. Add riscv64 for MACHINE.
pull/36/head
Dct Mei 2020-08-08 10:46:14 +08:00 committed by IceCodeNew
parent d63e0e4cd8
commit d6808a3ddb
1 changed files with 9 additions and 6 deletions

View File

@ -44,24 +44,27 @@ identify_the_operating_system_and_architecture() {
'mips')
MACHINE='mips32'
;;
'mipsle')
MACHINE='mips32le'
;;
'mips64')
MACHINE='mips64'
;;
'mips64le')
MACHINE='mips64le'
;;
'mipsle')
MACHINE='mips32le'
;;
's390x')
MACHINE='s390x'
;;
'ppc64')
MACHINE='ppc64'
;;
'ppc64le')
MACHINE='ppc64le'
;;
'riscv64')
MACHINE='riscv64'
;;
's390x')
MACHINE='s390x'
;;
*)
echo "error: The architecture is not supported."
exit 1