[Mesa-dev] [PATCH 03/23] scons: remove dri-i915 build target

Jakob Bornecrantz wallbraker at gmail.com
Tue May 20 02:41:50 PDT 2014


Acked-by: Jakob Bornecrantz <wallbraker at gmail.com>

On Sun, May 18, 2014 at 9:07 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Unmaintained and broken.
>
> Cc: Jakob Bornecrantz <jakob at vmware.com>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.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(-)
>  delete mode 100644 src/gallium/targets/dri-i915/SConscript
>  delete mode 100644 src/gallium/winsys/i915/drm/SConscript
>
> 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 83937fe..afb5c11 100644
> --- a/src/gallium/targets/egl-static/SConscript
> +++ b/src/gallium/targets/egl-static/SConscript
> @@ -91,15 +91,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')
> --
> 1.9.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list