summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-05-24 10:29:44 -0700
committerJosé Fonseca <jfonseca@vmware.com>2009-05-24 10:29:44 -0700
commit3f6fc98cc39c973b110352d1083608e716648c77 (patch)
tree54ec00074f1f55ce6c0b82f71cd65857ed8392c9 /src
parentef9b30e48cf119eeab312437a7aa097932dafd5b (diff)
xlib: Fix scons conditional compilation logic.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/trace/README2
-rw-r--r--src/gallium/winsys/xlib/SConscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/README b/src/gallium/drivers/trace/README
index 73dce20372e..a040000acc1 100644
--- a/src/gallium/drivers/trace/README
+++ b/src/gallium/drivers/trace/README
@@ -10,7 +10,7 @@ This directory contains a Gallium3D pipe driver which traces all incoming calls.
To build, invoke scons on the top dir as
- scons dri=no statetrackers=mesa drivers=softpipe,i965simple,trace winsys=xlib
+ scons debug=yes statetrackers=mesa drivers=softpipe,trace winsys=xlib dri=no
= Usage =
diff --git a/src/gallium/winsys/xlib/SConscript b/src/gallium/winsys/xlib/SConscript
index 0fb4b50f634..76e80dca611 100644
--- a/src/gallium/winsys/xlib/SConscript
+++ b/src/gallium/winsys/xlib/SConscript
@@ -5,7 +5,7 @@ Import('*')
if env['platform'] == 'linux' \
and 'mesa' in env['statetrackers'] \
- and ('softpipe' or 'i915simple' or 'trace') in env['drivers'] \
+ and set(['softpipe', 'i965simple', 'cell']).intersection(env['drivers']) \
and not env['dri']:
env = env.Clone()