RPRX 2021-01-25 06:45:08 +00:00 committed by GitHub
parent a11871fb33
commit 060c038a18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,9 +104,11 @@ identify_the_operating_system_and_architecture() {
;; ;;
'armv6l') 'armv6l')
MACHINE='arm32-v6' MACHINE='arm32-v6'
grep Features /proc/cpuinfo | grep -qw 'vfp' || MACHINE='arm32-v5'
;; ;;
'armv7' | 'armv7l') 'armv7' | 'armv7l')
MACHINE='arm32-v7a' MACHINE='arm32-v7a'
grep Features /proc/cpuinfo | grep -qw 'vfp' || MACHINE='arm32-v5'
;; ;;
'armv8' | 'aarch64') 'armv8' | 'aarch64')
MACHINE='arm64-v8a' MACHINE='arm64-v8a'