SCons: centralize the Dir() workaround for newer versions of scons.
[gem5.git] / src / arch / sparc / SConscript
index c9dbb8cf23aa2c8e25a26595f7fea45b467d3647..6a4c08a8efd03178f442a73dac3eb93d00a7f1a6 100644 (file)
@@ -37,18 +37,22 @@ if env['TARGET_ISA'] == 'sparc':
     Source('floatregfile.cc')
     Source('intregfile.cc')
     Source('miscregfile.cc')
+    Source('pagetable.cc')
     Source('regfile.cc')
     Source('remote_gdb.cc')
+    Source('tlb.cc')
+    Source('utility.cc')
+
+    SimObject('SparcTLB.py')
+    TraceFlag('Sparc')
 
     if env['FULL_SYSTEM']:
         SimObject('SparcSystem.py')
-        SimObject('SparcTLB.py')
+        SimObject('SparcInterrupts.py')
 
-        Source('arguments.cc')
-        Source('pagetable.cc')
+        Source('interrupts.cc')
         Source('stacktrace.cc')
         Source('system.cc')
-        Source('tlb.cc')
         Source('ua2005.cc')
         Source('vtophys.cc')
     else: