Mesa (master): scons: Remember the options set on the command line.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Fri Jun 17 12:13:46 PDT 2011


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

Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Jun 17 20:11:35 2011 +0100

scons: Remember the options set on the command line.

Save them in config.py

---

 SConstruct |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/SConstruct b/SConstruct
index 104cc38..6b725c4 100644
--- a/SConstruct
+++ b/SConstruct
@@ -40,6 +40,8 @@ env = Environment(
 	ENV = os.environ,
 )
 
+opts.Save('config.py', env)
+
 # Backwards compatability with old target configuration variable
 try:
     targets = ARGUMENTS['targets']



More information about the mesa-commit mailing list