summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")