Define HAVE_LIBDRM_RADEON when compiling radeon dri drivers,

required for newer radeondrm.  Expanded version of a diff from kettenis@
ok kettenis@ mpi@
This commit is contained in:
jsg 2013-06-27 14:53:50 +00:00
parent 561faa6da9
commit 7c02ec8a3f
4 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2011/11/23 21:07:12 oga Exp $
# $OpenBSD: Makefile,v 1.5 2013/06/27 14:53:50 jsg Exp $
LIB= r200_dri.so
@ -48,6 +48,7 @@ DRIVER_SOURCES = r200_context.c \
SRCS = $(COMMON_SOURCES) $(DRIVER_SOURCES)
DRIVER_DEFINES = -DRADEON_R200 \
-DHAVE_LIBDRM_RADEON \
-DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200 \
-I$(MESA)/drivers/dri/r200 \
-I$(MESA)/drivers/dri/r200/server \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2012/08/17 13:58:00 mpi Exp $
# $OpenBSD: Makefile,v 1.7 2013/06/27 14:53:50 jsg Exp $
LIB= r300_dri.so
@ -92,6 +92,7 @@ COMPILER_SOURCES = \
SRCS = $(COMMON_SOURCES) $(DRIVER_SOURCES) $(COMPILER_SOURCES)
DRIVER_DEFINES = -DRADEON_R300 \
-DHAVE_LIBDRM_RADEON \
-DCOMPILE_R300 -DR200_MERGED=0 \
-DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R300 \
-I$(MESA)/drivers/dri/r300 \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2012/08/17 13:58:00 mpi Exp $
# $OpenBSD: Makefile,v 1.5 2013/06/27 14:53:50 jsg Exp $
LIB= r600_dri.so
@ -67,6 +67,7 @@ DRIVER_SOURCES = \
SRCS = $(COMMON_SOURCES) $(DRIVER_SOURCES)
DRIVER_DEFINES = -DRADEON_R600 \
-DHAVE_LIBDRM_RADEON \
-I$(MESA)/drivers/dri/r600 \
-I$(MESA)/drivers/dri/r600/server \
-I$(MESA)/drivers/dri/radeon \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2012/01/27 07:07:43 matthieu Exp $
# $OpenBSD: Makefile,v 1.5 2013/06/27 14:53:50 jsg Exp $
LIB= radeon_dri.so
@ -47,6 +47,7 @@ SRCS = \
$(CS_SOURCES)
DRIVER_DEFINES = -DRADEON_R100 -DRADEON_COMMON=0 \
-DHAVE_LIBDRM_RADEON \
-I$(MESA)/drivers/dri/radeon/server \
-I$(MESA)/drivers/dri/radeon