summaryrefslogtreecommitdiffstats
path: root/functions.sh.in
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-01-24 01:20:34 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-01-24 01:20:34 +0000
commitac5dbfca7f72144e1030c8c52200345ba8b50239 (patch)
tree31ebc79d555df2313983f886fbdb809ad414981d /functions.sh.in
parentf41036ac3ae86a0511f3ee9071891f889200a1c7 (diff)
downloadabuild-ac5dbfca7f72144e1030c8c52200345ba8b50239.tar.bz2
abuild-ac5dbfca7f72144e1030c8c52200345ba8b50239.tar.xz
abuild: add missing triplet definitions for ppc and ppc64 architectures
Diffstat (limited to 'functions.sh.in')
-rw-r--r--functions.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.sh.in b/functions.sh.in
index d8e12a5..58567d6 100644
--- a/functions.sh.in
+++ b/functions.sh.in
@@ -8,6 +8,8 @@ arch_to_hostspec() {
aarch64) echo "aarch64-alpine-linux-musl" ;;
armhf) echo "armhf-alpine-linux-muslgnueabihf" ;;
armv7) echo "armv7-alpine-linux-musleabihf" ;;
+ ppc) echo "powerpc-alpine-linux-musl" ;;
+ ppc64) echo "powerpc64-alpine-linux-musl" ;;
ppc64le) echo "powerpc64le-alpine-linux-musl" ;;
s390x) echo "s390x-alpine-linux-musl" ;;
x86) echo "i586-alpine-linux-musl" ;;
@@ -23,6 +25,8 @@ hostspec_to_arch() {
armv6*-*-*-*eabihf) echo "armhf" ;;
armv7*-*-*-*eabihf) echo "armv7" ;;
i[0-9]86-*-*-*) echo "x86" ;;
+ powerpc-*-*-*) echo "ppc" ;;
+ powerpc64-*-*-*) echo "ppc64" ;;
powerpc64le-*-*-*) echo "ppc64le" ;;
s390x-*-*-*) echo "s390x" ;;
x86_64-*-*-*) echo "x86_64" ;;