summaryrefslogtreecommitdiff
path: root/functions.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'functions.sh.in')
-rw-r--r--functions.sh.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/functions.sh.in b/functions.sh.in
index 4db7ef4..f44bcaa 100644
--- a/functions.sh.in
+++ b/functions.sh.in
@@ -9,9 +9,10 @@ arch_to_hostspec() {
armel) echo "armv5-foxkit-linux-musleabi" ;;
armhf) echo "armv6-foxkit-linux-muslgnueabihf" ;;
armv7) echo "armv7-foxkit-linux-musleabihf" ;;
- i525) echo "pentium3-foxkit-linux-musl" ;;
+ i528) echo "pentium4-foxkit-linux-musl" ;;
mips) echo "mips-foxkit-linux-musl" ;;
mips32) echo "mips32el-foxkit-linux-musl" ;;
+ pmmx) echo "i586-foxkit-linux-musl" ;;
ppc) echo "powerpc-foxkit-linux-musl" ;;
ppc64) echo "powerpc64-foxkit-linux-musl" ;;
ppc64le) echo "powerpc64le-foxkit-linux-musl" ;;
@@ -28,10 +29,11 @@ hostspec_to_arch() {
arm*-*-*-*eabi) echo "armel" ;;
armv6*-*-*-*eabihf) echo "armhf" ;;
armv7*-*-*-*eabihf) echo "armv7" ;;
- i[0-9]86-*-*-*) echo "x86" ;;
+ i486-*-*-*) echo "x86" ;;
+ i586-*-*-*) echo "pmmx" ;;
mips32*-*-*-*) echo "mips32" ;;
mips*-*-*-*) echo "mips" ;;
- pentium3-*-*-*) echo "i525" ;;
+ pentium4-*-*-*) echo "i528" ;;
powerpc-*-*-*) echo "ppc" ;;
powerpc64-*-*-*) echo "ppc64" ;;
powerpc64le-*-*-*) echo "ppc64le" ;;