diff options
Diffstat (limited to 'functions.sh.in')
-rw-r--r-- | functions.sh.in | 4 |
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" ;; |