scons: Fix i965/xlib build.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 27 Jun 2008 04:01:37 +0000 (13:01 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 27 Jun 2008 04:01:37 +0000 (13:01 +0900)
src/gallium/drivers/i965simple/SConscript
src/gallium/winsys/xlib/SConscript

index c0825c4de37f2231ee1e4d329b62ca82630dec74..43fc2a40052ba3ce2e475cef75f91e616613c3a0 100644 (file)
@@ -26,6 +26,7 @@ i965simple = env.ConvenienceLibrary(
                'brw_gs_emit.c',
                'brw_gs_state.c',
                'brw_misc_state.c',
+               'brw_screen.c',
                'brw_sf.c',
                'brw_sf_emit.c',
                'brw_sf_state.c',
index 5e98a36abc2e799c569dc289fcd1c6a051524985..14a85ae0f2b2d9ac7ceeced88e819d765360006c 100644 (file)
@@ -3,7 +3,11 @@
 
 Import('*')
 
-if env['platform'] == 'linux' and 'mesa' in env['statetrackers'] and not env['dri']:
+if env['platform'] == 'linux' \
+        and 'mesa' in env['statetrackers'] \
+        and 'softpipe' in env['drivers'] \
+        and 'i965simple' in env['drivers'] \
+        and not env['dri']:
 
        env = env.Clone()
 
@@ -24,6 +28,7 @@ if env['platform'] == 'linux' and 'mesa' in env['statetrackers'] and not env['dr
                
        drivers = [
                softpipe,
+               i965simple
        ]
 
        # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions