summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-02-23 23:39:28 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-02-23 23:39:28 +0000
commit776f44a5c6cacdd9b4302bb78757ab5c68d6a132 (patch)
tree65657f77d4033febfb549d2196fea7ce700a648d /lib
parent75620c712f0c4aa5f59ebcf3a88f798af6af6f57 (diff)
Only build the gallium radeon winsys on i386/amd64 as
those are the only archs that currently use gallium radeon drivers. It should build anywhere that has the libdrm radeon headers installed. And while that should really be everywhere it isn't at the moment and won't be for release. It isn't clear why the radeon winsys in Mesa 10.4 didn't have the same problem. Found the hard way by todd@ on alpha.
Diffstat (limited to 'lib')
-rw-r--r--lib/libGL/gallium/winsys/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libGL/gallium/winsys/Makefile b/lib/libGL/gallium/winsys/Makefile
index 8b4c55612..e22d51309 100644
--- a/lib/libGL/gallium/winsys/Makefile
+++ b/lib/libGL/gallium/winsys/Makefile
@@ -1,6 +1,8 @@
-# $OpenBSD: Makefile,v 1.1 2015/01/25 15:09:13 jsg Exp $
+# $OpenBSD: Makefile,v 1.2 2015/02/23 23:39:27 jsg Exp $
+.if ${MACHINE} == i386 || ${MACHINE} == amd64
SUBDIR= radeon
+.endif
build depend all install clean cleandir: _SUBDIRUSE