summaryrefslogtreecommitdiff
path: root/src/python/SConscript
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-09-09 14:15:42 -0700
committerNathan Binkert <nate@binkert.org>2010-09-09 14:15:42 -0700
commite6ee56c6571999631ce31b05d0e563d66a7bbdd8 (patch)
tree174a7431f8a5b5e80c90b8a9887c90b245af07d8 /src/python/SConscript
parent710ed8f492aa783933df6551ff98c9a6750fd9f7 (diff)
downloadgem5-e6ee56c6571999631ce31b05d0e563d66a7bbdd8.tar.xz
init: don't build files that centralize python and swig code
Instead of putting all object files into m5/object/__init__.py, interrogate the importer to find out what should be imported. Instead of creating a single file that lists all of the embedded python modules, use static object construction to put those objects onto a list. Do something similar for embedded swig (C++) code.
Diffstat (limited to 'src/python/SConscript')
-rw-r--r--src/python/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/SConscript b/src/python/SConscript
index 24a4e4d8a..e68058f40 100644
--- a/src/python/SConscript
+++ b/src/python/SConscript
@@ -49,6 +49,7 @@ PySource('m5', 'm5/simulate.py')
PySource('m5', 'm5/stats.py')
PySource('m5', 'm5/ticks.py')
PySource('m5', 'm5/trace.py')
+PySource('m5.objects', 'm5/objects/__init__.py')
PySource('m5.util', 'm5/util/__init__.py')
PySource('m5.util', 'm5/util/attrdict.py')
PySource('m5.util', 'm5/util/code_formatter.py')