From d13decf47b4e5dcb5615e935950c062f97c9376a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 26 Jul 2016 15:20:31 +0000 Subject: functions: add s390x triplet and arch --- functions.sh.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'functions.sh.in') diff --git a/functions.sh.in b/functions.sh.in index dd57319..7f8b59b 100644 --- a/functions.sh.in +++ b/functions.sh.in @@ -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 -- cgit v1.2.3