Get rid of vestiges of .mpy file handling.
--HG-- extra : convert_revision : 309b051be3473e2d42d3200c1af84227d01b5900
This commit is contained in:
parent
b46730c7ec
commit
609cacc3da
2 changed files with 3 additions and 3 deletions
|
@ -182,7 +182,7 @@ EmbedMap %(name)s("%(fname)s",
|
|||
|
||||
# base list of .py files to embed
|
||||
embedded_py_files = [ '../util/pbs/jobfile.py' ]
|
||||
# add all .py and .mpy files in python/m5
|
||||
# add all .py 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):
|
||||
|
@ -192,7 +192,7 @@ for root, dirs, files in os.walk(objpath, topdown=True):
|
|||
|
||||
assert(root.startswith(objpath))
|
||||
for f in files:
|
||||
if f.endswith('.mpy') or f.endswith('.py'):
|
||||
if f.endswith('.py'):
|
||||
embedded_py_files.append(os.path.join(root, f))
|
||||
|
||||
embedfile_hh = os.path.join(env['SRCDIR'], 'base/embedfile.hh')
|
||||
|
|
|
@ -134,7 +134,7 @@ if __name__ == '__main__':
|
|||
|
||||
os.symlink(joinpath(jobdir, 'output'), 'status.out')
|
||||
|
||||
args = [ joinpath(basedir, 'm5'), joinpath(basedir, 'run.mpy') ]
|
||||
args = [ joinpath(basedir, 'm5'), joinpath(basedir, 'run.py') ]
|
||||
if not len(args):
|
||||
sys.exit("no arguments")
|
||||
|
||||
|
|
Loading…
Reference in a new issue