summaryrefslogtreecommitdiffstats
path: root/functions.sh.in
diff options
context:
space:
mode:
authorBreno Leitao <breno.leitao@gmail.com>2017-01-16 14:08:35 -0500
committerTimo Teräs <timo.teras@iki.fi>2017-01-17 09:39:43 +0200
commit7301f84f2678141252b9fddc1e0ffbe6a11c17d5 (patch)
tree8c9607007880eaadfeb4edf060d05f7548833a39 /functions.sh.in
parent6926e206a82f7cebd5827d3493e988b1d95046db (diff)
downloadabuild-7301f84f2678141252b9fddc1e0ffbe6a11c17d5.tar.bz2
abuild-7301f84f2678141252b9fddc1e0ffbe6a11c17d5.tar.xz
abuild: Add support for ppc64le
This is the initial patches that starts to add support for the ppc64le platform.
Diffstat (limited to 'functions.sh.in')
-rw-r--r--functions.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.sh.in b/functions.sh.in
index 7f8b59b..d8e12a5 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" ;;
+ ppc64le) echo "powerpc64le-alpine-linux-musl" ;;
s390x) echo "s390x-alpine-linux-musl" ;;
x86) echo "i586-alpine-linux-musl" ;;
x86_64) echo "x86_64-alpine-linux-musl" ;;
@@ -22,6 +23,7 @@ hostspec_to_arch() {
armv6*-*-*-*eabihf) echo "armhf" ;;
armv7*-*-*-*eabihf) echo "armv7" ;;
i[0-9]86-*-*-*) echo "x86" ;;
+ powerpc64le-*-*-*) echo "ppc64le" ;;
s390x-*-*-*) echo "s390x" ;;
x86_64-*-*-*) echo "x86_64" ;;
*) echo "unknown" ;;