summaryrefslogtreecommitdiff
path: root/functions.sh.in
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-19 22:20:30 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-06 18:36:48 -0600
commitc505dcb644b1b8d22c3ea7fdf38a9c70b40246f0 (patch)
treed90a367f077b288c35ed6e44dfc1b7b2c9be8538 /functions.sh.in
parent208c3baaf9f92f0e4e6ec5f6de9c2876b119900b (diff)
downloadabuild-c505dcb644b1b8d22c3ea7fdf38a9c70b40246f0.tar.gz
abuild-c505dcb644b1b8d22c3ea7fdf38a9c70b40246f0.tar.bz2
abuild-c505dcb644b1b8d22c3ea7fdf38a9c70b40246f0.tar.xz
abuild-c505dcb644b1b8d22c3ea7fdf38a9c70b40246f0.zip
functions: Add all four MIPS variants properly
Diffstat (limited to 'functions.sh.in')
-rw-r--r--functions.sh.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/functions.sh.in b/functions.sh.in
index f44bcaa..998a95a 100644
--- a/functions.sh.in
+++ b/functions.sh.in
@@ -11,7 +11,9 @@ arch_to_hostspec() {
armv7) echo "armv7-foxkit-linux-musleabihf" ;;
i528) echo "pentium4-foxkit-linux-musl" ;;
mips) echo "mips-foxkit-linux-musl" ;;
- mips32) echo "mips32el-foxkit-linux-musl" ;;
+ mipsel) echo "mipsel-foxkit-linux-musl" ;;
+ mips32) echo "mips32-foxkit-linux-musl" ;;
+ mips32el) echo "mips32el-foxkit-linux-musl" ;;
pmmx) echo "i586-foxkit-linux-musl" ;;
ppc) echo "powerpc-foxkit-linux-musl" ;;
ppc64) echo "powerpc64-foxkit-linux-musl" ;;
@@ -31,8 +33,10 @@ hostspec_to_arch() {
armv7*-*-*-*eabihf) echo "armv7" ;;
i486-*-*-*) echo "x86" ;;
i586-*-*-*) echo "pmmx" ;;
- mips32*-*-*-*) echo "mips32" ;;
- mips*-*-*-*) echo "mips" ;;
+ mips-*-*-*) echo "mips" ;;
+ mipsel-*-*-*) echo "mipsel" ;;
+ mips32-*-*-*) echo "mips32" ;;
+ mips32el-*-*-*) echo "mips32el" ;;
pentium4-*-*-*) echo "i528" ;;
powerpc-*-*-*) echo "ppc" ;;
powerpc64-*-*-*) echo "ppc64" ;;