Mesa (master): scons: add comments and whitespace

Brian Paul brianp at kemper.freedesktop.org
Thu May 20 16:28:12 UTC 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 20 10:26:19 2010 -0600

scons: add comments and whitespace

---

 common.py |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/common.py b/common.py
index e396ad9..dc594a3 100644
--- a/common.py
+++ b/common.py
@@ -29,12 +29,19 @@ _machine_map = {
 	'ppc' : 'ppc',
 	'x86_64': 'x86_64',
 }
+
+
+# find default_machine value
 if 'PROCESSOR_ARCHITECTURE' in os.environ:
 	default_machine = os.environ['PROCESSOR_ARCHITECTURE']
 else:
 	default_machine = _platform.machine()
 default_machine = _machine_map.get(default_machine, 'generic')
 
+print "sys.argv = " + sys.argv[2]
+
+
+# find default_llvm value
 if 'LLVM' in os.environ:
     default_llvm = 'yes'
 else:
@@ -54,6 +61,8 @@ else:
     except:
         pass
 
+
+# find default_dri value
 if default_platform in ('linux', 'freebsd'):
 	default_dri = 'yes'
 elif default_platform in ('winddk', 'windows', 'wince', 'darwin'):




More information about the mesa-commit mailing list