Unverified Commit c505dcb6 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

functions: Add all four MIPS variants properly

parent 208c3baa
......@@ -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" ;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment