scons: remove all libudev references
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 7 Sep 2016 18:04:55 +0000 (19:04 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 18 Oct 2016 16:06:21 +0000 (17:06 +0100)
Analogous to previous automake/autoconf commit.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
scons/gallium.py
src/loader/SConscript

index 7260daa291e4b710d961e25a86de288084e8483d..9f7555cf8bce5c692ecb4c38001af755711d444d 100755 (executable)
@@ -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'])
index c54e50a921cdf4f04d1c54034054b521aa4d2223..f70654f43ae4d05c9cae13566b59e61eef542071 100644 (file)
@@ -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'])