summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-06-17 20:11:35 +0100
committerJosé Fonseca <[email protected]>2011-06-17 20:13:16 +0100
commitef4bf40db03ff1df2bae2db8f4a65421bf4a7c06 (patch)
tree6b9971c7c78f48f375a9e4f750fd9fca2ee4d59e
parentc9be435c79e2bbc883701c5533ae0490780495be (diff)
scons: Remember the options set on the command line.
Save them in config.py
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 104cc38aa63..6b725c4b695 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']