diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-17 22:01:30 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-17 22:01:30 -0400 |
commit | dfe0ea6cba9c0765c0217a835ed2a1b56837dbb2 (patch) | |
tree | b36f7bdc5c660d09368a8d958374b2b6f480e26c /src/arch/SConscript | |
parent | f3d74759ca2c21b45e4cb9255ba4c3cd699b90d5 (diff) | |
download | gem5-dfe0ea6cba9c0765c0217a835ed2a1b56837dbb2.tar.xz |
Fix up code to be able to use the Checker.
SConstruct:
Remove check for Checker from this SConstruct
src/arch/SConscript:
Specific check if CheckerCPU is being used. Not the cleanest, but works for now.
src/cpu/SConscript:
Code to handle using the CheckerCPU a little better. Allows -c to be used normally.
--HG--
extra : convert_revision : 0a82f16db0f38e5ce114d08368477bd211331fa3
Diffstat (limited to 'src/arch/SConscript')
-rw-r--r-- | src/arch/SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/SConscript b/src/arch/SConscript index ff460dafd..bc517341a 100644 --- a/src/arch/SConscript +++ b/src/arch/SConscript @@ -128,6 +128,11 @@ isa_desc_gen_files = Split('decoder.cc decoder.hh') isa_desc_gen_files += [CpuModel.dict[cpu].filename for cpu in env['CPU_MODELS']] +# Also include the CheckerCPU as one of the models if it is being +# enabled via command line. +if env['USE_CHECKER']: + isa_desc_gen_files += [CpuModel.dict['CheckerCPU'].filename] + # The emitter patches up the sources & targets to include the # autogenerated files as targets and isa parser itself as a source. def isa_desc_emitter(target, source, env): |