summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorCurtis Dunham <Curtis.Dunham@arm.com>2014-03-23 11:11:51 -0400
committerCurtis Dunham <Curtis.Dunham@arm.com>2014-03-23 11:11:51 -0400
commita3d582f8e64d3ce4b414d615e2ced8d396434ad2 (patch)
tree6522bec614562efa84c4b923fc03391ad568b804 /SConstruct
parent4f77bc230a6ac533b6dd12e5d9c013b1bee1c14f (diff)
downloadgem5-a3d582f8e64d3ce4b414d615e2ced8d396434ad2.tar.xz
scons: Shush scons
make 'scons -s' actually silent.
Diffstat (limited to 'SConstruct')
-rwxr-xr-xSConstruct8
1 files changed, 5 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index e9427124f..2eafb6e6a 100755
--- a/SConstruct
+++ b/SConstruct
@@ -1057,7 +1057,7 @@ Export('slicc_includes')
# Walk the tree and execute all SConsopts scripts that wil add to the
# above variables
-if not GetOption('verbose'):
+if GetOption('verbose'):
print "Reading SConsopts"
for bdir in [ base_dir ] + extras_dir_list:
if not isdir(bdir):
@@ -1194,7 +1194,8 @@ Export('make_switching_dir')
###################################################
for variant_path in variant_paths:
- print "Building in", variant_path
+ if not GetOption('silent'):
+ print "Building in", variant_path
# Make a copy of the build-root environment to use for this config.
env = main.Clone()
@@ -1212,7 +1213,8 @@ for variant_path in variant_paths:
current_vars_file = joinpath(build_root, 'variables', variant_dir)
if isfile(current_vars_file):
sticky_vars.files.append(current_vars_file)
- print "Using saved variables file %s" % current_vars_file
+ if not GetOption('silent'):
+ print "Using saved variables file %s" % current_vars_file
else:
# Build dir-specific variables file doesn't exist.