Mesa (master): scons: remove dri-i915 build target

Emil Velikov evelikov at kemper.freedesktop.org
Mon Jun 9 21:59:35 UTC 2014


Module: Mesa
Branch: master
Commit: c21fca8bf241544ef2690be22d5b0e1eaba6397d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c21fca8bf241544ef2690be22d5b0e1eaba6397d

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu May 15 19:32:52 2014 +0100

scons: remove dri-i915 build target

Unmaintained and broken.

Cc: Jakob Bornecrantz <jakob at vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Jakob Bornecrantz <jakob at vmware.com>

---

 scons/gallium.py                          |    1 -
 src/gallium/SConscript                    |    9 ---------
 src/gallium/targets/dri-i915/SConscript   |   29 -----------------------------
 src/gallium/targets/egl-static/SConscript |    9 ---------
 src/gallium/winsys/i915/drm/SConscript    |   14 --------------
 5 files changed, 62 deletions(-)

diff --git a/scons/gallium.py b/scons/gallium.py
index 5109ebf..4c194aa 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 32bbdbe..816c79c 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 b3bd3dd..0000000
--- 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 f879cc3..7d8d4d2 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 3d27628..0000000
--- 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')




More information about the mesa-commit mailing list