scons: Shush scons
make 'scons -s' actually silent.
This commit is contained in:
parent
4f77bc230a
commit
a3d582f8e6
1 changed files with 5 additions and 3 deletions
|
@ -1057,7 +1057,7 @@ Export('slicc_includes')
|
||||||
|
|
||||||
# Walk the tree and execute all SConsopts scripts that wil add to the
|
# Walk the tree and execute all SConsopts scripts that wil add to the
|
||||||
# above variables
|
# above variables
|
||||||
if not GetOption('verbose'):
|
if GetOption('verbose'):
|
||||||
print "Reading SConsopts"
|
print "Reading SConsopts"
|
||||||
for bdir in [ base_dir ] + extras_dir_list:
|
for bdir in [ base_dir ] + extras_dir_list:
|
||||||
if not isdir(bdir):
|
if not isdir(bdir):
|
||||||
|
@ -1194,6 +1194,7 @@ Export('make_switching_dir')
|
||||||
###################################################
|
###################################################
|
||||||
|
|
||||||
for variant_path in variant_paths:
|
for variant_path in variant_paths:
|
||||||
|
if not GetOption('silent'):
|
||||||
print "Building in", variant_path
|
print "Building in", variant_path
|
||||||
|
|
||||||
# Make a copy of the build-root environment to use for this config.
|
# Make a copy of the build-root environment to use for this config.
|
||||||
|
@ -1212,6 +1213,7 @@ for variant_path in variant_paths:
|
||||||
current_vars_file = joinpath(build_root, 'variables', variant_dir)
|
current_vars_file = joinpath(build_root, 'variables', variant_dir)
|
||||||
if isfile(current_vars_file):
|
if isfile(current_vars_file):
|
||||||
sticky_vars.files.append(current_vars_file)
|
sticky_vars.files.append(current_vars_file)
|
||||||
|
if not GetOption('silent'):
|
||||||
print "Using saved variables file %s" % current_vars_file
|
print "Using saved variables file %s" % current_vars_file
|
||||||
else:
|
else:
|
||||||
# Build dir-specific variables file doesn't exist.
|
# Build dir-specific variables file doesn't exist.
|
||||||
|
|
Loading…
Reference in a new issue