summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-04-12 21:20:04 -0700
committerNathan Binkert <binkertn@umich.edu>2007-04-12 21:20:04 -0700
commita575fbd4aaa45af90535f67d5100b95b3c610f93 (patch)
treed3db7a9e7c77c02bc19a00c9c7c4d7a72750e5ea /src/base
parenteefbda7f7c54735791dab70626a40a7d29aa8a80 (diff)
downloadgem5-a575fbd4aaa45af90535f67d5100b95b3c610f93.tar.xz
Completely re-work how the scons framework incorporates swig
and python code into m5 to allow swig an python code to easily added by any SConscript instead of just the one in src/python. This provides SwigSource and PySource for adding new files to m5 (similar to Source for C++). Also provides SimObject for including files that contain SimObject information and build the m5.objects __init__.py file. --HG-- extra : convert_revision : 38b50a0629846ef451ed02f96fe3633947df23eb
Diffstat (limited to 'src/base')
-rw-r--r--src/base/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/SConscript b/src/base/SConscript
index 6fc140145..5e4aaafc2 100644
--- a/src/base/SConscript
+++ b/src/base/SConscript
@@ -97,3 +97,5 @@ Source('stats/visit.cc')
if env['USE_MYSQL']:
Source('mysql.cc')
Source('stats/mysql.cc')
+
+PySource('m5', 'traceflags.py')