summaryrefslogtreecommitdiff
path: root/src/python/swig/system.i
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-09-09 14:26:29 -0700
committerNathan Binkert <nate@binkert.org>2010-09-09 14:26:29 -0700
commit47ef97b9caad0a72751523855d145dcd96fc5738 (patch)
tree9c221cdf3826302b1a908c06ea279fe4c6d8b722 /src/python/swig/system.i
parente6ee56c6571999631ce31b05d0e563d66a7bbdd8 (diff)
downloadgem5-47ef97b9caad0a72751523855d145dcd96fc5738.tar.xz
scons: Stop building the big monolithic swigged params module
kill params.i and create a separate .i for each object (param, enums, etc.)
Diffstat (limited to 'src/python/swig/system.i')
-rw-r--r--src/python/swig/system.i7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/python/swig/system.i b/src/python/swig/system.i
index a95101bf7..5e36b4ac5 100644
--- a/src/python/swig/system.i
+++ b/src/python/swig/system.i
@@ -28,9 +28,12 @@
* Authors: Nathan Binkert
*/
-%module sim_object
+%{
+#include "sim/system.hh"
+%}
-%include "enums/MemoryMode.hh"
+%import "python/swig/sim_object.i"
+%import "enums/MemoryMode.hh"
class System : public SimObject
{