summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorJon TURNEY <[email protected]>2014-07-31 16:30:37 +0100
committerEmil Velikov <[email protected]>2014-08-01 01:31:58 +0100
commit095c37e47230125d7fdc4a6b148b8e5cdc2f7262 (patch)
treed47d542f347ab6a4f4a4eed67448a1501e9e9187 /src/gallium/targets
parentb1eb00cd4008e9529f3cbdf0ce8a58aa68e75793 (diff)
target-helpers: Do not build kms_dri on libdrm-less platforms.
Fix build since 3b176c441b7ddc5f7d2f891da3f76cf3c1814ce1 for dri_platform=none hosts. Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/dri/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am
index c7fe4106ab0..6ab15d8233c 100644
--- a/src/gallium/targets/dri/Makefile.am
+++ b/src/gallium/targets/dri/Makefile.am
@@ -8,6 +8,7 @@ AM_CFLAGS = \
$(GALLIUM_TARGET_CFLAGS)
AM_CPPFLAGS = \
+ $(DEFINES) \
-DDRI_TARGET \
-DGALLIUM_GALAHAD \
-DGALLIUM_NOOP \