diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-06-23 07:54:58 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-06 18:21:57 -0600 |
commit | c3fd02f0227f432a225a19a9ffad658e7446a565 (patch) | |
tree | 018c14f52e3b5a312ed454cceba2f79bb2cba1c0 | |
parent | 0b86c457f32195e9d9646a4ad0b63a6f7302ab16 (diff) | |
download | abuild-c3fd02f0227f432a225a19a9ffad658e7446a565.tar.gz abuild-c3fd02f0227f432a225a19a9ffad658e7446a565.tar.bz2 abuild-c3fd02f0227f432a225a19a9ffad658e7446a565.tar.xz abuild-c3fd02f0227f432a225a19a9ffad658e7446a565.zip |
functions.sh: Use Adélie triplets and add P3 support
-rw-r--r-- | functions.sh.in | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/functions.sh.in b/functions.sh.in index ea21f25..afd7745 100644 --- a/functions.sh.in +++ b/functions.sh.in @@ -5,20 +5,17 @@ program=${0##*/} arch_to_hostspec() { case "$1" in - aarch64) echo "aarch64-alpine-linux-musl" ;; - armel) echo "armv5-alpine-linux-musleabi" ;; - armhf) echo "armv6-alpine-linux-muslgnueabihf" ;; - armv7) echo "armv7-alpine-linux-musleabihf" ;; - mips) echo "mips-alpine-linux-musl" ;; - mips64) echo "mips64-alpine-linux-musl" ;; - mipsel) echo "mipsel-alpine-linux-musl" ;; - mips64el) echo "mips64el-alpine-linux-musl" ;; - 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" ;; - x86_64) echo "x86_64-alpine-linux-musl" ;; + aarch64) echo "aarch64-foxkit-linux-musl" ;; + armel) echo "armv5-foxkit-linux-musleabi" ;; + armhf) echo "armv6-foxkit-linux-muslgnueabihf" ;; + armv7) echo "armv7-foxkit-linux-musleabihf" ;; + i525) echo "pentium3-foxkit-linux-musl" ;; + ppc) echo "powerpc-foxkit-linux-musl" ;; + ppc64) echo "powerpc64-foxkit-linux-musl" ;; + ppc64le) echo "powerpc64le-foxkit-linux-musl" ;; + s390x) echo "s390x-foxkit-linux-musl" ;; + x86) echo "i486-foxkit-linux-musl" ;; + x86_64) echo "x86_64-foxkit-linux-musl" ;; *) echo "unknown" ;; esac } @@ -30,10 +27,7 @@ hostspec_to_arch() { armv6*-*-*-*eabihf) echo "armhf" ;; armv7*-*-*-*eabihf) echo "armv7" ;; i[0-9]86-*-*-*) echo "x86" ;; - mips-*-*-*) echo "mips" ;; - mips64-*-*-*) echo "mips64" ;; - mipsel-*-*-*) echo "mipsel" ;; - mips64el-*-*-*) echo "mips64el" ;; + pentium3-*-*-*) echo "i525" ;; powerpc-*-*-*) echo "ppc" ;; powerpc64-*-*-*) echo "ppc64" ;; powerpc64le-*-*-*) echo "ppc64le" ;; |