From: Emil Velikov Date: Wed, 7 Sep 2016 18:04:55 +0000 (+0100) Subject: scons: remove all libudev references X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb23fba3f39bfe6f41a1d6bcd5e08c83be61b241;p=mesa.git scons: remove all libudev references Analogous to previous automake/autoconf commit. Signed-off-by: Emil Velikov Reviewed-by: Axel Davy Reviewed-by: Nicolai Hähnle --- diff --git a/scons/gallium.py b/scons/gallium.py index 7260daa291e..9f7555cf8bc 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 c54e50a921c..f70654f43ae 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'])