1 Import('*') 2 3 env = drienv.Clone() 4 5 env.PkgUseModules('DRM_INTEL') 6 7 env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE', 'GALLIUM_GALAHAD']) 8 9 env.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 23 module = env.LoadableModule( 24 target = 'i915_dri.so', 25 source = 'target.c', 26 SHLIBPREFIX = '', 27 ) 28 29 env.Alias('dri-i915', module) 30