gallium: Add warnings incase pipe drivers are not built in targets

This commit is contained in:
Jakob Bornecrantz 2010-03-24 19:16:29 +01:00
parent 738850e522
commit f5ae5b5396
5 changed files with 20 additions and 0 deletions

View file

@ -1,5 +1,9 @@
Import('*')
if not 'i915' in env['drivers']:
print 'warning: i915 pipe driver not built skipping i915_dri.so'
Return()
env = drienv.Clone()
env.ParseConfig('pkg-config --cflags --libs libdrm_intel')

View file

@ -1,5 +1,9 @@
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')

View file

@ -1,5 +1,9 @@
Import('*')
if not 'r300' in env['drivers']:
print 'warning: r300 pipe driver not built skipping radeong_dri.so'
Return()
env = drienv.Clone()
env.ParseConfig('pkg-config --cflags --libs libdrm_radeon')

View file

@ -1,5 +1,9 @@
Import('*')
if not 'svga' in env['drivers']:
print 'warning: svga pipe driver not built skipping vmwgfx_dri.so'
Return()
env = drienv.Clone()
drivers = [

View file

@ -2,6 +2,10 @@ import os.path
Import('*')
if not 'svga' in env['drivers']:
print 'warning: svga pipe driver not built skipping vmwgfx_drv.so'
Return()
if env['platform'] == 'linux':
env = env.Clone()