SE/FS: Build syscall_emul.cc in FS mode.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 30 Oct 2011 10:06:37 +0000 (03:06 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 30 Oct 2011 10:06:37 +0000 (03:06 -0700)
src/kern/SConscript
src/sim/SConscript

index 93394829bfe45a83458541d543921101491ffeed..76d55114c173738a282bbc495299a91dff11aee5 100644 (file)
@@ -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')
index d9d8ded24a9bf969d790ade9cc84912d09bf34d6..0f241df9251a5d6fc7b6d2ad07777307e92adea0 100644 (file)
@@ -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')