diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-07-19 02:56:02 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-07-19 02:56:02 -0700 |
commit | f8ac16b348680b10e5ef80684750008c997e6c07 (patch) | |
tree | a43dc9f1a3c40d0435b5aeab7e681633aa0be9c0 | |
parent | 145deb7c88e38d84a747c1984d772218d527b529 (diff) | |
download | gem5-f8ac16b348680b10e5ef80684750008c997e6c07.tar.xz |
SCons: Only print all the SConsopts being read if verbose is turned on.
-rwxr-xr-x | SConstruct | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index a5a5aa0f1..8c09e5e4d 100755 --- a/SConstruct +++ b/SConstruct @@ -773,13 +773,16 @@ Export('export_vars') # Walk the tree and execute all SConsopts scripts that wil add to the # above variables +if not GetOption('verbose'): + print "Reading SConsopts" for bdir in [ base_dir ] + extras_dir_list: if not isdir(bdir): print "Error: directory '%s' does not exist" % bdir Exit(1) for root, dirs, files in os.walk(bdir): if 'SConsopts' in files: - print "Reading", joinpath(root, 'SConsopts') + if GetOption('verbose'): + print "Reading", joinpath(root, 'SConsopts') SConscript(joinpath(root, 'SConsopts')) all_isa_list.sort() |