summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-10-30 03:06:37 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-10-30 03:06:37 -0700
commitca77249b0cc767096508867328bee77ce5b2ccf6 (patch)
tree6396a9e614ee553605e8b55d345d3d0b6ff7bfd7
parent0c81db77f218d414e13f4721f19b1f7ac5305592 (diff)
downloadgem5-ca77249b0cc767096508867328bee77ce5b2ccf6.tar.xz
SE/FS: Build syscall_emul.cc in FS mode.
-rw-r--r--src/kern/SConscript6
-rw-r--r--src/sim/SConscript3
2 files changed, 4 insertions, 5 deletions
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')