abuild: Add support for ppc64le

This is the initial patches that starts to add support for the ppc64le
platform.
This commit is contained in:
Breno Leitao 2017-01-16 14:08:35 -05:00 committed by Timo Teräs
parent 6926e206a8
commit 7301f84f26
1 changed files with 2 additions and 0 deletions

View File

@ -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" ;;