diff options
Diffstat (limited to 'src/gallium/targets/dri-i965/SConscript')
-rw-r--r-- | src/gallium/targets/dri-i965/SConscript | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gallium/targets/dri-i965/SConscript b/src/gallium/targets/dri-i965/SConscript new file mode 100644 index 0000000000..3b37d8e1af --- /dev/null +++ b/src/gallium/targets/dri-i965/SConscript @@ -0,0 +1,23 @@ +Import('*') + +if not 'i965' in env['drivers']: + print 'warning: i965 pipe driver not built skipping i965_dri.so' + Return() + +env = drienv.Clone() + +env.ParseConfig('pkg-config --cflags --libs libdrm_intel') + +drivers = [ + st_dri, + i965drm, + i965, + trace, +] + +env.LoadableModule( + target ='i965_dri.so', + source = COMMON_GALLIUM_SOURCES, + LIBS = drivers + mesa + gallium + env['LIBS'], + SHLIBPREFIX = '', +) |