From ac5dbfca7f72144e1030c8c52200345ba8b50239 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 24 Jan 2017 01:20:34 +0000 Subject: [PATCH] abuild: add missing triplet definitions for ppc and ppc64 architectures --- functions.sh.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions.sh.in b/functions.sh.in index d8e12a5..58567d6 100644 --- a/functions.sh.in +++ b/functions.sh.in @@ -8,5 +8,7 @@ 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" ;; s390x) echo "s390x-alpine-linux-musl" ;; x86) echo "i586-alpine-linux-musl" ;; @@ -23,5 +25,7 @@ hostspec_to_arch() { armv6*-*-*-*eabihf) echo "armhf" ;; armv7*-*-*-*eabihf) echo "armv7" ;; i[0-9]86-*-*-*) echo "x86" ;; + powerpc-*-*-*) echo "ppc" ;; + powerpc64-*-*-*) echo "ppc64" ;; s390x-*-*-*) echo "s390x" ;; x86_64-*-*-*) echo "x86_64" ;; -- 2.11.0