From e6ee56c6571999631ce31b05d0e563d66a7bbdd8 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 9 Sep 2010 14:15:42 -0700 Subject: 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. --- src/python/SConscript | 1 + 1 file changed, 1 insertion(+) (limited to 'src/python/SConscript') 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') -- cgit v1.2.3