systemc: Separate and conditionalize exposing sc_main to python.

Change-Id: Ib39dd79c607b277ba94f90dee41c09c1b3b66481
Reviewed-on: https://gem5-review.googlesource.com/c/13978
Maintainer: Gabe Black <gabeblack@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
Gabe Black
2018-11-07 00:15:03 -08:00
parent 6dd72cf55c
commit e1bebae451
3 changed files with 108 additions and 72 deletions

View File

@@ -61,3 +61,6 @@ if env['USE_SYSTEMC']:
Source('sc_simcontext.cc')
Source('sc_spawn.cc')
Source('sc_time.cc')
if env['USE_PYTHON']:
Source('sc_main_python.cc')