[Mesa-dev] [PATCH 2/2] kms-swrast: defines missing to build kms-swrast

Andreas Pokorny andreas.pokorny at canonical.com
Fri Aug 15 14:32:22 PDT 2014


---
 src/gallium/state_trackers/dri/Makefile.am | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/state_trackers/dri/Makefile.am b/src/gallium/state_trackers/dri/Makefile.am
index bda75c3..bcbd081 100644
--- a/src/gallium/state_trackers/dri/Makefile.am
+++ b/src/gallium/state_trackers/dri/Makefile.am
@@ -26,6 +26,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CPPFLAGS = \
 	$(GALLIUM_PIPE_LOADER_DEFINES) \
+	-DDRI_TARGET \
 	-DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" \
 	-I$(top_srcdir)/include \
 	-I$(top_srcdir)/src/mapi \
@@ -37,6 +38,10 @@ AM_CPPFLAGS = \
 	$(LIBDRM_CFLAGS) \
 	$(VISIBILITY_CFLAGS)
 
+if HAVE_GALLIUM_SOFTPIPE
+AM_CPPFLAGS += \
+	-DGALLIUM_SOFTPIPE
+endif
 if HAVE_GALLIUM_STATIC_TARGETS
 AM_CPPFLAGS += \
 	-DGALLIUM_STATIC_TARGETS=1
-- 
2.1.0.rc1



More information about the mesa-dev mailing list