summaryrefslogtreecommitdiff
diff options
context:
space:
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')