mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-11 06:37:31 +00:00
functions: add s390x triplet and arch
This commit is contained in:
parent
8c8d741b32
commit
d13decf47b
@ -8,6 +8,7 @@ arch_to_hostspec() {
|
||||
aarch64) echo "aarch64-alpine-linux-musl" ;;
|
||||
armhf) echo "armhf-alpine-linux-muslgnueabihf" ;;
|
||||
armv7) echo "armv7-alpine-linux-musleabihf" ;;
|
||||
s390x) echo "s390x-alpine-linux-musl" ;;
|
||||
x86) echo "i586-alpine-linux-musl" ;;
|
||||
x86_64) echo "x86_64-alpine-linux-musl" ;;
|
||||
*) echo "unknown" ;;
|
||||
@ -21,6 +22,7 @@ hostspec_to_arch() {
|
||||
armv6*-*-*-*eabihf) echo "armhf" ;;
|
||||
armv7*-*-*-*eabihf) echo "armv7" ;;
|
||||
i[0-9]86-*-*-*) echo "x86" ;;
|
||||
s390x-*-*-*) echo "s390x" ;;
|
||||
x86_64-*-*-*) echo "x86_64" ;;
|
||||
*) echo "unknown" ;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user