From c505dcb644b1b8d22c3ea7fdf38a9c70b40246f0 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 19 May 2018 22:20:30 -0500 Subject: functions: Add all four MIPS variants properly --- functions.sh.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'functions.sh.in') 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" ;; -- cgit v1.2.3-60-g2f50