From: Emil Velikov Date: Thu, 15 May 2014 18:32:52 +0000 (+0100) Subject: scons: remove dri-i915 build target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c21fca8bf24;p=mesa.git scons: remove dri-i915 build target Unmaintained and broken. Cc: Jakob Bornecrantz Signed-off-by: Emil Velikov Acked-by: Jakob Bornecrantz --- diff --git a/scons/gallium.py b/scons/gallium.py index 5109ebffee0..4c194aa9cfe 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -591,7 +591,6 @@ def generate(env): env.PkgCheckModules('XCB', ['x11-xcb', 'xcb-glx >= 1.8.1']) env.PkgCheckModules('XF86VIDMODE', ['xxf86vm']) env.PkgCheckModules('DRM', ['libdrm >= 2.4.38']) - env.PkgCheckModules('DRM_INTEL', ['libdrm_intel >= 2.4.52']) env.PkgCheckModules('UDEV', ['libudev >= 151']) env['dri'] = env['x11'] and env['drm'] diff --git a/src/gallium/SConscript b/src/gallium/SConscript index 32bbdbe5686..816c79c9a18 100644 --- a/src/gallium/SConscript +++ b/src/gallium/SConscript @@ -85,11 +85,6 @@ if env['dri']: 'winsys/svga/drm/SConscript', ]) - if env['drm_intel']: - SConscript([ - 'winsys/i915/drm/SConscript', - ]) - # # Targets # @@ -126,10 +121,6 @@ if not env['embedded']: 'targets/dri-swrast/SConscript', 'targets/dri-vmwgfx/SConscript', ]) - if env['drm_intel']: - SConscript([ - 'targets/dri-i915/SConscript', - ]) # diff --git a/src/gallium/targets/dri-i915/SConscript b/src/gallium/targets/dri-i915/SConscript deleted file mode 100644 index b3bd3dd5826..00000000000 --- a/src/gallium/targets/dri-i915/SConscript +++ /dev/null @@ -1,29 +0,0 @@ -Import('*') - -env = drienv.Clone() - -env.PkgUseModules('DRM_INTEL') - -env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE', 'GALLIUM_GALAHAD']) - -env.Prepend(LIBS = [ - ws_wrapper, - st_dri, - i915drm, - i915, - galahad, - trace, - rbug, - mesa, - glsl, - gallium, - COMMON_DRI_DRM_OBJECTS -]) - -module = env.LoadableModule( - target = 'i915_dri.so', - source = 'target.c', - SHLIBPREFIX = '', -) - -env.Alias('dri-i915', module) diff --git a/src/gallium/targets/egl-static/SConscript b/src/gallium/targets/egl-static/SConscript index f879cc36de4..7d8d4d27cdb 100644 --- a/src/gallium/targets/egl-static/SConscript +++ b/src/gallium/targets/egl-static/SConscript @@ -85,15 +85,6 @@ if env['HAVE_X11']: if env['HAVE_DRM']: env.PkgUseModules('DRM') - if env['HAVE_DRM_INTEL']: - env.PkgUseModules('DRM_INTEL') - env.Append(CPPDEFINES = ['_EGL_PIPE_I915']) - env.Prepend(LIBS = [ - i915drm, - i915, - ws_wrapper, - ]) - env.Append(CPPDEFINES = ['_EGL_PIPE_VMWGFX']) env.Prepend(LIBS = [ svgadrm, diff --git a/src/gallium/winsys/i915/drm/SConscript b/src/gallium/winsys/i915/drm/SConscript deleted file mode 100644 index 3d276288105..00000000000 --- a/src/gallium/winsys/i915/drm/SConscript +++ /dev/null @@ -1,14 +0,0 @@ -Import('*') - -env = env.Clone() - -env.PkgUseModules('DRM') - -i915drm_sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES') - -i915drm = env.ConvenienceLibrary( - target ='i915drm', - source = i915drm_sources, -) - -Export('i915drm')