scons: remove dri-i915 build target
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 15 May 2014 18:32:52 +0000 (19:32 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 9 Jun 2014 21:46:17 +0000 (22:46 +0100)
Unmaintained and broken.

Cc: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
scons/gallium.py
src/gallium/SConscript
src/gallium/targets/dri-i915/SConscript [deleted file]
src/gallium/targets/egl-static/SConscript
src/gallium/winsys/i915/drm/SConscript [deleted file]

index 5109ebffee0f10888972b8cdef91a2435fb48aba..4c194aa9cfee4cd2ee589cad6105504791e2f9c9 100755 (executable)
@@ -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']
index 32bbdbe568632fab6a41c544226acd2af7e43e2a..816c79c9a184cdd48d5ada99abb3da51c5451c8f 100644 (file)
@@ -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 (file)
index b3bd3dd..0000000
+++ /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)
index f879cc36de4da1160c79ba9ecd90e34bf2f9233f..7d8d4d27cdb4c20288fbe8265b3fe3b64d52ab46 100644 (file)
@@ -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 (file)
index 3d27628..0000000
+++ /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')