1Import('*')
2
3env = drienv.Clone()
4
5env.PkgUseModules('DRM_INTEL')
6
7env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE', 'GALLIUM_GALAHAD'])
8
9env.Prepend(LIBS = [
10    ws_wrapper,
11    st_dri,
12    i915drm,
13    i915,
14    galahad,
15    trace,
16    rbug,
17    mesa,
18    glsl,
19    gallium,
20    COMMON_DRI_DRM_OBJECTS
21])
22
23module = env.LoadableModule(
24    target = 'i915_dri.so',
25    source = 'target.c',
26    SHLIBPREFIX = '',
27)
28
29env.Alias('dri-i915', module)
30