summaryrefslogtreecommitdiff
path: root/src/systemc/core
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-11-07 00:17:42 -0800
committerGabe Black <gabeblack@google.com>2018-11-09 01:27:20 +0000
commita993544a6bef7ee23c855045ea22a13b7fceebd0 (patch)
tree313d5b685b221046118c55b7fe8de84a6b9bd0af /src/systemc/core
parente1bebae4514dfc464b4d55e409d2b2bed376368e (diff)
downloadgem5-a993544a6bef7ee23c855045ea22a13b7fceebd0.tar.xz
systemc: Only build python utility code if python is enabled.
Change-Id: I58054ddd0d5ef0dbee18028c4218e7418347f959 Reviewed-on: https://gem5-review.googlesource.com/c/13979 Maintainer: Gabe Black <gabeblack@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/systemc/core')
-rw-r--r--src/systemc/core/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/core/SConscript b/src/systemc/core/SConscript
index 33e6aafe7..536c181e5 100644
--- a/src/systemc/core/SConscript
+++ b/src/systemc/core/SConscript
@@ -38,7 +38,6 @@ if env['USE_SYSTEMC']:
Source('object.cc')
Source('port.cc')
Source('process.cc')
- Source('python.cc')
Source('scheduler.cc')
Source('sched_event.cc')
Source('sensitivity.cc')
@@ -63,4 +62,5 @@ if env['USE_SYSTEMC']:
Source('sc_time.cc')
if env['USE_PYTHON']:
+ Source('python.cc')
Source('sc_main_python.cc')