summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-06-04 18:41:43 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2005-06-04 18:41:43 -0400
commit609cacc3da432ca25d19e5a41ea11dc7e0f4b2f7 (patch)
tree3236a4c090f054c1a75b34a8f6357c66840a912d
parentb46730c7ec2e3bd9f110002197c89269d83252f7 (diff)
downloadgem5-609cacc3da432ca25d19e5a41ea11dc7e0f4b2f7.tar.xz
Get rid of vestiges of .mpy file handling.
--HG-- extra : convert_revision : 309b051be3473e2d42d3200c1af84227d01b5900
-rw-r--r--python/SConscript4
-rwxr-xr-xutil/pbs/job.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/python/SConscript b/python/SConscript
index 9c15c6d50..7042a58e6 100644
--- a/python/SConscript
+++ b/python/SConscript
@@ -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')
diff --git a/util/pbs/job.py b/util/pbs/job.py
index 5eed0cd75..4ead50de9 100755
--- a/util/pbs/job.py
+++ b/util/pbs/job.py
@@ -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")