[Mesa-dev] [PATCH 10/16] scons: remove all libudev references

Emil Velikov emil.l.velikov at gmail.com
Tue Oct 11 18:31:54 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Analogous to previous automake/autoconf commit.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 scons/gallium.py      | 1 -
 src/loader/SConscript | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/scons/gallium.py b/scons/gallium.py
index 7260daa..9f7555c 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -652,7 +652,6 @@ def generate(env):
     env.PkgCheckModules('XCB', ['x11-xcb', 'xcb-glx >= 1.8.1', 'xcb-dri2 >= 1.8'])
     env.PkgCheckModules('XF86VIDMODE', ['xxf86vm'])
     env.PkgCheckModules('DRM', ['libdrm >= 2.4.38'])
-    env.PkgCheckModules('UDEV', ['libudev >= 151'])
 
     if env['x11']:
         env.Append(CPPPATH = env['X11_CPPPATH'])
diff --git a/src/loader/SConscript b/src/loader/SConscript
index c54e50a..f70654f 100644
--- a/src/loader/SConscript
+++ b/src/loader/SConscript
@@ -8,10 +8,6 @@ env.Prepend(CPPPATH = [
     '#include'
 ])
 
-if env['udev']:
-    env.PkgUseModules('UDEV')
-    env.Append(CPPDEFINES = ['HAVE_LIBUDEV'])
-
 if env['drm']:
     env.PkgUseModules('DRM')
     env.Append(CPPDEFINES = ['HAVE_LIBDRM'])
-- 
2.10.0



More information about the mesa-dev mailing list