enable building on loongson

OK jasper@

ports is unlocked for a while only for those who have been informed.
This commit is contained in:
phessler 2010-02-23 19:59:13 +00:00
parent 4591b5e88f
commit f92d2c5701
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.162 2009/12/26 19:23:12 naddy Exp $
# $OpenBSD: Makefile,v 1.163 2010/02/23 19:59:13 phessler Exp $
# May not be hard to add more.
ONLY_FOR_ARCHS= amd64 i386 powerpc sparc64 arm mips64
ONLY_FOR_ARCHS= amd64 i386 powerpc sparc64 arm mips64 mips64el
SUBST_VARS += PREFIX

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.54 2009/11/18 21:20:15 jakemsr Exp $
--- configure.orig Wed Jun 24 16:31:17 2009
+++ configure Mon Nov 16 00:09:58 2009
$OpenBSD: patch-configure,v 1.55 2010/02/23 19:59:13 phessler Exp $
--- configure.orig Thu Jun 25 01:31:17 2009
+++ configure Sat Feb 13 11:34:11 2010
@@ -420,6 +420,7 @@ Audio output:
--disable-nas disable NAS audio output [autodetect]
--disable-sgiaudio disable SGI audio output [autodetect]
@ -31,7 +31,7 @@ $OpenBSD: patch-configure,v 1.54 2009/11/18 21:20:15 jakemsr Exp $
s390) host_arch=s390 ;;
s390x) host_arch=s390x ;;
- mips*) host_arch=mips ;;
+ sgi|mips*) host_arch=mips ;;
+ sgi|mips*|loongson) host_arch=mips ;;
vax) host_arch=vax ;;
xtensa*) host_arch=xtensa ;;
*) host_arch=UNKNOWN ;;