systemc: Move systemc disabling checks to SConsopts.
authorGabe Black <gabeblack@google.com>
Thu, 28 Feb 2019 00:26:39 +0000 (16:26 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 28 Feb 2019 22:29:36 +0000 (22:29 +0000)
commitb48e4a90bfb06612b1402088243e49ef2a1b846f
treec2bcc2a0edd4c1d4cd172e73756d527cec933d3b
parent21a4cc9692e30390547bf99887840ee32a75233b
systemc: Move systemc disabling checks to SConsopts.

This will ensure that the value of USE_SYSTEMC is consistent throughout
the build. It also has the side effect that USE_SYSTEMC can be forced
to a particular value if you're confident you know what you're doing
and want to override these checks.

Change-Id: I0f2d1153245ff17ce4a828c6b7496cb9ded6bd5b
Reviewed-on: https://gem5-review.googlesource.com/c/16810
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/SConscript
src/systemc/SConsopts