Mesa (master): SConscript: don' t build mesa components if mesa not in state trackers

Keith Whitwell keithw at kemper.freedesktop.org
Tue Jun 8 09:40:49 PDT 2010


Module: Mesa
Branch: master
Commit: e3c6d4108c278d4818920113cc3daecb8a0e5b59
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3c6d4108c278d4818920113cc3daecb8a0e5b59

Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Jun  8 17:38:01 2010 +0100

SConscript: don't build mesa components if mesa not in state trackers

---

 src/SConscript |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/SConscript b/src/SConscript
index 6e522e9..2b46186 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -1,16 +1,16 @@
 Import('*')
 
-SConscript('glsl/SConscript')
-SConscript('mapi/glapi/SConscript')
-
 if 'egl' in env['statetrackers']:
     SConscript('mapi/vgapi/SConscript')
     SConscript('egl/main/SConscript')
 
 if 'mesa' in env['statetrackers']:
+    SConscript('glsl/SConscript')
+    SConscript('mapi/glapi/SConscript')
     SConscript('mesa/SConscript')
 
+    if platform != 'embedded':
+        SConscript('glut/glx/SConscript')
+
 SConscript('gallium/SConscript')
 
-if platform != 'embedded':
-    SConscript('glut/glx/SConscript')



More information about the mesa-commit mailing list