From: Gabe Black Date: Sun, 30 Oct 2011 10:06:37 +0000 (-0700) Subject: SE/FS: Build syscall_emul.cc in FS mode. X-Git-Tag: stable_2012_06_28~303 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca77249b0cc767096508867328bee77ce5b2ccf6;p=gem5.git SE/FS: Build syscall_emul.cc in FS mode. --- diff --git a/src/kern/SConscript b/src/kern/SConscript index 93394829b..76d55114c 100644 --- a/src/kern/SConscript +++ b/src/kern/SConscript @@ -33,6 +33,9 @@ Import('*') if env['TARGET_ISA'] == 'no': Return() +Source('linux/linux.cc') +Source('operatingsystem.cc') + if env['FULL_SYSTEM']: Source('kernel_stats.cc') Source('system_events.cc') @@ -50,6 +53,3 @@ if env['FULL_SYSTEM']: Source('tru64/tru64_events.cc') Source('tru64/tru64_syscalls.cc') DebugFlag('BADADDR') -else: - Source('linux/linux.cc') - Source('operatingsystem.cc') diff --git a/src/sim/SConscript b/src/sim/SConscript index d9d8ded24..0f241df92 100644 --- a/src/sim/SConscript +++ b/src/sim/SConscript @@ -46,6 +46,7 @@ Source('sim_events.cc') Source('sim_object.cc') Source('simulate.cc') Source('stat_control.cc') +Source('syscall_emul.cc') if env['TARGET_ISA'] != 'no': SimObject('Process.py') @@ -60,8 +61,6 @@ if env['FULL_SYSTEM']: elif env['TARGET_ISA'] != 'no': Source('tlb.cc') - Source('syscall_emul.cc') - DebugFlag('Checkpoint') DebugFlag('Config') DebugFlag('Event')