Move mpy_importer into m5 package (it logically
belongs there since it's so tied in with m5.config). python/SConscript: mpy_importer.py now in m5 package --HG-- extra : convert_revision : 3cd7af4e1cd9338aa6bed5306c824ac5f0965085
This commit is contained in:
parent
1b841a871e
commit
de4aa84154
1 changed files with 4 additions and 2 deletions
|
@ -183,8 +183,10 @@ EmbedMap %(name)s("%(fname)s",
|
|||
/* namespace */ }
|
||||
'''
|
||||
|
||||
embedded_py_files = [ 'mpy_importer.py', '../util/pbs/jobfile.py' ]
|
||||
objpath = os.path.join(env['SRCDIR'], 'python/m5')
|
||||
# base list of .py files to embed
|
||||
embedded_py_files = [ '../util/pbs/jobfile.py' ]
|
||||
# add all .py and .mpy files in python/m5
|
||||
objpath = os.path.join(env['SRCDIR'], 'python', 'm5')
|
||||
for root, dirs, files in os.walk(objpath, topdown=True):
|
||||
for i,dir in enumerate(dirs):
|
||||
if dir == 'SCCS':
|
||||
|
|
Loading…
Reference in a new issue