summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-07-13 21:12:01 +0100
committerEmil Velikov <[email protected]>2015-07-22 16:35:26 +0100
commitce2a4bd541241dade00a36e9f2d8e5ca16c6ff03 (patch)
treef0cc088f1708e23fe23cd9ca60fa1a69b1a8ddcb /src/mesa/drivers/dri/common/Makefile.am
parent5284e9e2c4922479b28db96ae88121a053a6e66b (diff)
dri/common: remove unused drm_version variable
As of last commit the only user of it (radeon/r200) no longer uses it. As such let's remove it and cleanup the nasty hacks that we had in place to support this. v2: Leave LIBDRM_CFLAGS around. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> (v1) Reviewed-by: Marek Olšák <[email protected]> (v1)
Diffstat (limited to 'src/mesa/drivers/dri/common/Makefile.am')
-rw-r--r--src/mesa/drivers/dri/common/Makefile.am8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/common/Makefile.am b/src/mesa/drivers/dri/common/Makefile.am
index ee6c6914499..b307f10f56b 100644
--- a/src/mesa/drivers/dri/common/Makefile.am
+++ b/src/mesa/drivers/dri/common/Makefile.am
@@ -32,6 +32,7 @@ AM_CFLAGS = \
-I$(top_srcdir)/src/mesa/ \
-I$(top_srcdir)/src/gallium/include \
-I$(top_srcdir)/src/gallium/auxiliary \
+ $(LIBDRM_CFLAGS) \
$(DEFINES) \
$(VISIBILITY_CFLAGS)
@@ -53,10 +54,3 @@ libdri_test_stubs_la_CFLAGS = $(AM_CFLAGS) -DNO_MAIN
libmegadriver_stub_la_SOURCES = $(megadriver_stub_FILES)
sysconf_DATA = drirc
-
-if DRICOMMON_NEED_LIBDRM
-AM_CFLAGS += $(LIBDRM_CFLAGS)
-libdricommon_la_LIBADD = $(LIBDRM_LIBS)
-else
-AM_CFLAGS += -UHAVE_LIBDRM
-endif