diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-07-14 17:51:29 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-07-14 17:51:29 -0400 |
commit | 40ebf0811a5cca1de50c71d5c56216bb37a756b3 (patch) | |
tree | 792f87776e45921b77faaa612b33f1ee82f980bd /src/cpu | |
parent | 6dfaf06edf53eb80af8d2a5b1722fb399cdb814d (diff) | |
download | gem5-40ebf0811a5cca1de50c71d5c56216bb37a756b3.tar.xz |
Fix the CheckerCPU being included via python.
src/arch/SConscript:
Fixes for including the CheckerCPU if it's specified via command line. Previously the env variable was actually being modified.
src/cpu/SConscript:
Copy the CPU_MODELS from the env, don't create a proxy to it.
--HG--
extra : convert_revision : 7d069bd93a6834ccaa1c378b2bc76dce76745c19
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/SConscript b/src/cpu/SConscript index bc4ec7923..442c190ce 100644 --- a/src/cpu/SConscript +++ b/src/cpu/SConscript @@ -71,7 +71,8 @@ virtual Fault completeAcc(uint8_t *data, %s *xc, Trace::InstRecord *traceData) c # Generate a temporary CPU list, including the CheckerCPU if # it's enabled. This isn't used for anything else other than StaticInst # headers. -temp_cpu_list = env['CPU_MODELS'] +temp_cpu_list = env['CPU_MODELS'][:] + if env['USE_CHECKER']: temp_cpu_list.append('CheckerCPU') |