[Mesa-dev] [PATCH 7/8] gbm: drop unneeded dependency of libudev

Emil Velikov emil.l.velikov at gmail.com
Wed Jan 29 12:23:57 PST 2014


As of recently we dlopen the library, additionally the only
code that is including the libudev.h header, is the loader.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/targets/gbm/Makefile.am | 2 --
 src/gbm/Makefile.am                 | 2 --
 2 files changed, 4 deletions(-)

diff --git a/src/gallium/targets/gbm/Makefile.am b/src/gallium/targets/gbm/Makefile.am
index 4299d07..6d71a65 100644
--- a/src/gallium/targets/gbm/Makefile.am
+++ b/src/gallium/targets/gbm/Makefile.am
@@ -34,7 +34,6 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
 	$(GALLIUM_CFLAGS) \
-	$(LIBUDEV_CFLAGS) \
 	$(LIBDRM_CFLAGS)
 
 gbm_LTLIBRARIES = gbm_gallium_drm.la
@@ -47,7 +46,6 @@ gbm_gallium_drm_la_LIBADD = \
 	$(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
 	$(top_builddir)/src/gallium/state_trackers/gbm/libgbm.la \
 	$(top_builddir)/src/gallium/auxiliary/libgallium.la \
-	$(LIBUDEV_LIBS) \
 	$(LIBDRM_LIBS) \
 	-lm
 
diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
index de5126c..2b02365 100644
--- a/src/gbm/Makefile.am
+++ b/src/gbm/Makefile.am
@@ -9,7 +9,6 @@ AM_CFLAGS = \
 	-I$(top_srcdir)/include \
 	-I$(top_srcdir)/src/loader \
 	-I$(top_srcdir)/src/gbm/main \
-	$(LIBUDEV_CFLAGS) \
 	$(LIBKMS_CFLAGS) \
 	$(DLOPEN_CFLAGS) \
 	$(DEFINES)
@@ -23,7 +22,6 @@ libgbm_la_SOURCES = \
 libgbm_la_LDFLAGS = -version-info 1:0
 libgbm_la_LIBADD = \
 	$(top_builddir)/src/loader/libloader.la \
-	$(LIBUDEV_LIBS) \
 	$(LIBKMS_LIBS) \
 	$(DLOPEN_LIBS)
 
-- 
1.8.5.2



More information about the mesa-dev mailing list