diff options
author | Nathan Binkert <nate@binkert.org> | 2010-02-26 18:14:48 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-02-26 18:14:48 -0800 |
commit | f0b4259e98773bee04cd0af5dda7bcfba5032589 (patch) | |
tree | 6507a2f53b7e645d7ab30fd43384afa4b6b98b48 /src/cpu/simple | |
parent | ac106767c86e58af623c81ed04521ea40ad7b8a9 (diff) | |
download | gem5-f0b4259e98773bee04cd0af5dda7bcfba5032589.tar.xz |
cpu_models: get rid of cpu_models.py and move the stuff into SCons
Diffstat (limited to 'src/cpu/simple')
-rw-r--r-- | src/cpu/simple/SConsopts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/cpu/simple/SConsopts b/src/cpu/simple/SConsopts index 32dbda1a5..ab84144af 100644 --- a/src/cpu/simple/SConsopts +++ b/src/cpu/simple/SConsopts @@ -30,5 +30,11 @@ Import('*') -all_cpu_list.extend(('AtomicSimpleCPU', 'TimingSimpleCPU')) -default_cpus.extend(('AtomicSimpleCPU', 'TimingSimpleCPU')) +CpuModel('AtomicSimpleCPU', 'atomic_simple_cpu_exec.cc', + '#include "cpu/simple/atomic.hh"', + { 'CPU_exec_context': 'AtomicSimpleCPU' }, + default=True) +CpuModel('TimingSimpleCPU', 'timing_simple_cpu_exec.cc', + '#include "cpu/simple/timing.hh"', + { 'CPU_exec_context': 'TimingSimpleCPU' }, + default=True) |