SCons: Only print all the SConsopts being read if verbose is turned on.
This commit is contained in:
parent
145deb7c88
commit
f8ac16b348
1 changed files with 4 additions and 1 deletions
|
@ -773,13 +773,16 @@ Export('export_vars')
|
||||||
|
|
||||||
# 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'):
|
||||||
|
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):
|
||||||
print "Error: directory '%s' does not exist" % bdir
|
print "Error: directory '%s' does not exist" % bdir
|
||||||
Exit(1)
|
Exit(1)
|
||||||
for root, dirs, files in os.walk(bdir):
|
for root, dirs, files in os.walk(bdir):
|
||||||
if 'SConsopts' in files:
|
if 'SConsopts' in files:
|
||||||
print "Reading", joinpath(root, 'SConsopts')
|
if GetOption('verbose'):
|
||||||
|
print "Reading", joinpath(root, 'SConsopts')
|
||||||
SConscript(joinpath(root, 'SConsopts'))
|
SConscript(joinpath(root, 'SConsopts'))
|
||||||
|
|
||||||
all_isa_list.sort()
|
all_isa_list.sort()
|
||||||
|
|
Loading…
Reference in a new issue