build mesa radeon drivers on sparc64 and switch to gallium drivers
for r300 and r600
This commit is contained in:
parent
be03ce4a0e
commit
b9cb6db770
@ -1,17 +1,20 @@
|
|||||||
# $OpenBSD: Makefile,v 1.16 2013/06/17 23:30:25 jsg Exp $
|
# $OpenBSD: Makefile,v 1.17 2013/08/12 04:16:52 jsg Exp $
|
||||||
.include <bsd.xconf.mk>
|
.include <bsd.xconf.mk>
|
||||||
|
|
||||||
SUBDIR= swrast
|
SUBDIR= swrast
|
||||||
|
|
||||||
.if ${MACHINE} == i386 || ${MACHINE} == amd64
|
.if ${MACHINE} == i386 || ${MACHINE} == amd64
|
||||||
SUBDIR+= i810 i915 i965 radeon r200 r300 r600
|
SUBDIR+= i810 i915 i965 radeon r200
|
||||||
.elif ${MACHINE} == macppc
|
.elif ${MACHINE} == macppc || ${MACHINE} == sparc64
|
||||||
SUBDIR+= radeon r200 r300
|
SUBDIR+= radeon r200
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${XENOCARA_BUILD_GALLIUM} == "llvm"
|
||||||
|
SUBDIR+=swrastg
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${XENOCARA_BUILD_GALLIUM:L} == "yes" || ${XENOCARA_BUILD_GALLIUM} == "llvm"
|
.if ${XENOCARA_BUILD_GALLIUM:L} == "yes" || ${XENOCARA_BUILD_GALLIUM} == "llvm"
|
||||||
SUBDIR+=swrastg
|
.if ${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc || ${MACHINE} == sparc64
|
||||||
.if ${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc
|
|
||||||
SUBDIR+= r300g r600g
|
SUBDIR+= r300g r600g
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# $OpenBSD: Makefile,v 1.1 2013/06/13 10:39:28 jsg Exp $
|
# $OpenBSD: Makefile,v 1.2 2013/08/12 04:16:52 jsg Exp $
|
||||||
|
|
||||||
LIB= r300g_dri.so
|
LIB= r300_dri.so
|
||||||
|
|
||||||
CPPFLAGS= \
|
CPPFLAGS= \
|
||||||
-I${GALLIUM}/include \
|
-I${GALLIUM}/include \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# $OpenBSD: Makefile,v 1.1 2013/06/17 23:30:25 jsg Exp $
|
# $OpenBSD: Makefile,v 1.2 2013/08/12 04:16:52 jsg Exp $
|
||||||
|
|
||||||
LIB= r600g_dri.so
|
LIB= r600_dri.so
|
||||||
|
|
||||||
CPPFLAGS= \
|
CPPFLAGS= \
|
||||||
-I${GALLIUM}/include \
|
-I${GALLIUM}/include \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.4 2013/06/17 23:30:25 jsg Exp $
|
# $OpenBSD: Makefile,v 1.5 2013/08/12 04:16:52 jsg Exp $
|
||||||
.include <bsd.xconf.mk>
|
.include <bsd.xconf.mk>
|
||||||
|
|
||||||
SUBDIR= rbug softpipe trace
|
SUBDIR= rbug softpipe trace
|
||||||
@ -8,7 +8,7 @@ SUBDIR+= llvmpipe
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${XENOCARA_BUILD_GALLIUM:L} == "yes" || ${XENOCARA_BUILD_GALLIUM} == "llvm" &&
|
.if ${XENOCARA_BUILD_GALLIUM:L} == "yes" || ${XENOCARA_BUILD_GALLIUM} == "llvm" &&
|
||||||
(${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc)
|
(${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc || ${MACHINE} == sparc64)
|
||||||
SUBDIR+= r300 r600
|
SUBDIR+= r300 r600
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: bsd.xconf.mk,v 1.24 2013/04/14 10:23:04 mpi Exp $
|
# $OpenBSD: bsd.xconf.mk,v 1.25 2013/08/12 04:16:52 jsg Exp $
|
||||||
|
|
||||||
# Shared libs?
|
# Shared libs?
|
||||||
.if ${MACHINE} == "vax"
|
.if ${MACHINE} == "vax"
|
||||||
@ -10,7 +10,7 @@ XENOCARA_HAVE_SHARED_LIBS?=yes
|
|||||||
# Build GL libs and apps?
|
# Build GL libs and apps?
|
||||||
XENOCARA_BUILD_GL?=${XENOCARA_HAVE_SHARED_LIBS:L}
|
XENOCARA_BUILD_GL?=${XENOCARA_HAVE_SHARED_LIBS:L}
|
||||||
XENOCARA_BUILD_DRI?=${XENOCARA_HAVE_SHARED_LIBS:L}
|
XENOCARA_BUILD_DRI?=${XENOCARA_HAVE_SHARED_LIBS:L}
|
||||||
XENOCARA_BUILD_GALLIUM?=no
|
XENOCARA_BUILD_GALLIUM?=${XENOCARA_HAVE_SHARED_LIBS:L}
|
||||||
|
|
||||||
# Build pixman?
|
# Build pixman?
|
||||||
.if ${MACHINE} == "vax"
|
.if ${MACHINE} == "vax"
|
||||||
|
Loading…
Reference in New Issue
Block a user