From: Gabe Black Date: Wed, 7 Nov 2018 08:17:42 +0000 (-0800) Subject: systemc: Only build python utility code if python is enabled. X-Git-Tag: v19.0.0.0~1414 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a993544a6bef7ee23c855045ea22a13b7fceebd0;p=gem5.git 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 Reviewed-by: Andreas Sandberg Reviewed-by: Jason Lowe-Power --- 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')