summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-10-14 16:26:53 +0100
committerEmil Velikov <[email protected]>2015-11-21 12:52:18 +0000
commit149454bb13aba2815e1a577073e5a834507cbb4c (patch)
tree98625a69152744de90919536f58db66602453861 /src/gallium/auxiliary
parent33f1db1eb412382d2bd6552369e6f63bad52ca8d (diff)
pipe-loader: remove HAVE_DRM_LOADER_GALLIUM and HAVE_PIPE_LOADER_DRM
... in favour of HAVE_LIBDRM. After all we solely want to build the code when the latter is available. In the not too distant future we will remove the libudev/sysfs dependency and simplify configure.ac even further. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/pipe-loader/Makefile.am2
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/Makefile.am b/src/gallium/auxiliary/pipe-loader/Makefile.am
index 8c837996539..e12620c4418 100644
--- a/src/gallium/auxiliary/pipe-loader/Makefile.am
+++ b/src/gallium/auxiliary/pipe-loader/Makefile.am
@@ -14,7 +14,7 @@ noinst_LTLIBRARIES = libpipe_loader.la
libpipe_loader_la_SOURCES = \
$(COMMON_SOURCES)
-if HAVE_DRM_LOADER_GALLIUM
+if HAVE_LIBDRM
AM_CFLAGS += \
$(LIBDRM_CFLAGS)
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.c b/src/gallium/auxiliary/pipe-loader/pipe_loader.c
index 8e79f853b0a..0ca2e8ce4cd 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.c
@@ -35,7 +35,7 @@
#define MODULE_PREFIX "pipe_"
static int (*backends[])(struct pipe_loader_device **, int) = {
-#ifdef HAVE_PIPE_LOADER_DRM
+#ifdef HAVE_LIBDRM
&pipe_loader_drm_probe,
#endif
&pipe_loader_sw_probe