diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2010-11-19 18:00:39 -0600 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2010-11-19 18:00:39 -0600 |
commit | e1b9a815dd34b8c2ff9db1225d3553eab287ba1b (patch) | |
tree | 3f71a4461ca57c215ba9abac0449fb251eb52e80 /src/sim/SConscript | |
parent | 92655b6399df526c8fe69f3b566dc9c7761782e3 (diff) | |
download | gem5-e1b9a815dd34b8c2ff9db1225d3553eab287ba1b.tar.xz |
SCons: Support building without an ISA
Diffstat (limited to 'src/sim/SConscript')
-rw-r--r-- | src/sim/SConscript | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/sim/SConscript b/src/sim/SConscript index b1e3a4b02..97c6ddaae 100644 --- a/src/sim/SConscript +++ b/src/sim/SConscript @@ -32,28 +32,30 @@ Import('*') SimObject('BaseTLB.py') SimObject('Root.py') -SimObject('System.py') SimObject('InstTracer.py') Source('async.cc') Source('core.cc') Source('debug.cc') Source('eventq.cc') -Source('faults.cc') Source('init.cc') Source('main.cc', bin_only=True) -Source('pseudo_inst.cc') Source('root.cc') Source('serialize.cc') Source('sim_events.cc') Source('sim_object.cc') Source('simulate.cc') Source('stat_control.cc') -Source('system.cc') + +if env['TARGET_ISA'] != 'no': + SimObject('System.py') + Source('faults.cc') + Source('pseudo_inst.cc') + Source('system.cc') if env['FULL_SYSTEM']: Source('arguments.cc') -else: +elif env['TARGET_ISA'] != 'no': Source('tlb.cc') SimObject('Process.py') |