SCons: centralize the Dir() workaround for newer versions of scons.
Scons bug id: 2006 M5 Bug id: 308
This commit is contained in:
@@ -220,6 +220,11 @@ for extra_dir in extras_dir_list:
|
||||
# Add a flag defining what THE_ISA should be for all compilation
|
||||
env.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())])
|
||||
|
||||
# Workaround for bug in SCons version > 0.97d20071212
|
||||
# Scons bug id: 2006 M5 Bug id: 308
|
||||
for root, dirs, files in os.walk(base_dir, topdown=True):
|
||||
Dir(root[len(base_dir) + 1:])
|
||||
|
||||
########################################################################
|
||||
#
|
||||
# Walk the tree and execute all SConscripts in subdirectories
|
||||
|
||||
Reference in New Issue
Block a user