SE/FS: Compile in system events in SE mode.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 31 Oct 2011 00:38:11 +0000 (17:38 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 31 Oct 2011 00:38:11 +0000 (17:38 -0700)
src/kern/SConscript
src/sim/SConscript

index 76d55114c173738a282bbc495299a91dff11aee5..b730e4b494bb7b5ce13430e757165eefd3dbe943 100644 (file)
@@ -33,23 +33,25 @@ Import('*')
 if env['TARGET_ISA'] == 'no':
     Return()
 
+Source('linux/events.cc')
 Source('linux/linux.cc')
+Source('linux/printk.cc')
 Source('operatingsystem.cc')
+Source('system_events.cc')
 
-if env['FULL_SYSTEM']:
-    Source('kernel_stats.cc')
-    Source('system_events.cc')
+if env['TARGET_ISA'] == 'alpha':
+    Source('tru64/dump_mbuf.cc')
+    Source('tru64/printf.cc')
+    Source('tru64/tru64_events.cc')
+
+    DebugFlag('BADADDR')
 
-    DebugFlag('DebugPrintf')
-    DebugFlag('Printf')
+DebugFlag('DebugPrintf')
+DebugFlag('Printf')
 
-    Source('linux/events.cc')
+if env['FULL_SYSTEM']:
+    Source('kernel_stats.cc')
     Source('linux/linux_syscalls.cc')
-    Source('linux/printk.cc')
     
     if env['TARGET_ISA'] == 'alpha':
-        Source('tru64/dump_mbuf.cc')
-        Source('tru64/printf.cc')
-        Source('tru64/tru64_events.cc')
         Source('tru64/tru64_syscalls.cc')
-        DebugFlag('BADADDR')
index 0f241df9251a5d6fc7b6d2ad07777307e92adea0..aae3eb5adca2872d8dab3c6b31c2bbcccb1b58b1 100644 (file)
@@ -34,6 +34,7 @@ SimObject('BaseTLB.py')
 SimObject('Root.py')
 SimObject('InstTracer.py')
 
+Source('arguments.cc')
 Source('async.cc')
 Source('core.cc')
 Source('debug.cc')
@@ -56,9 +57,7 @@ if env['TARGET_ISA'] != 'no':
     Source('pseudo_inst.cc')
     Source('system.cc')
 
-if env['FULL_SYSTEM']:
-    Source('arguments.cc')
-elif env['TARGET_ISA'] != 'no':
+if not env['FULL_SYSTEM'] and env['TARGET_ISA'] != 'no':
     Source('tlb.cc')
 
 DebugFlag('Checkpoint')