scons: build the xorg state trackers only when env includes drm
authorZack Rusin <zackr@vmware.com>
Tue, 9 Nov 2010 05:28:05 +0000 (00:28 -0500)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 9 Nov 2010 10:41:59 +0000 (10:41 +0000)
src/gallium/SConscript

index 207987bedc54f43cd481aa185623637abe2803a3..0efab834f66b4691a40efb6ab346d0e694dd48bd 100644 (file)
@@ -116,7 +116,7 @@ if env['dri']:
             'targets/dri-r600/SConscript',
         ])
 
-if env['xorg']:
+if env['xorg'] and env['drm']:
     SConscript([
         #'targets/xorg-i915/SConscript',
         #'targets/xorg-i965/SConscript',