Mail archive
alpine-aports

[alpine-aports] [abuild] [PATCH] abuild: add triplet definitions for mips architectures

From: Nils Andreas Svee <me_at_lochnair.net>
Date: Sun, 10 Dec 2017 01:20:12 +0100

---
 functions.sh.in | 8 ++++++++
 1 file changed, 8 insertions(+)
diff --git a/functions.sh.in b/functions.sh.in
index b886e72..5b25534 100644
--- a/functions.sh.in
+++ b/functions.sh.in
_at_@ -9,6 +9,10 @@ arch_to_hostspec() {
 	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" ;;
_at_@ -26,6 +30,10 @@ 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" ;;	
 	powerpc-*-*-*)		echo "ppc" ;;
 	powerpc64-*-*-*)	echo "ppc64" ;;
 	powerpc64le-*-*-*)	echo "ppc64le" ;;
-- 
2.15.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Dec 10 2017 - 01:20:12 GMT