summaryrefslogtreecommitdiff
path: root/python/SConscript
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-03-14 07:52:41 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2005-03-14 07:52:41 -0500
commitde4aa841546daa41da88bb8a427c05ff6cd4df4d (patch)
tree85a8f8d78216d0cda59a9827c97e9dd18f3ac230 /python/SConscript
parent1b841a871ecd717dd8705d12ff7311c6fc97fc63 (diff)
downloadgem5-de4aa841546daa41da88bb8a427c05ff6cd4df4d.tar.xz
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
Diffstat (limited to 'python/SConscript')
-rw-r--r--python/SConscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/SConscript b/python/SConscript
index a50903964..8404bc4bd 100644
--- a/python/SConscript
+++ b/python/SConscript
@@ -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':