SCons: Support building without an ISA

This commit is contained in:
Ali Saidi
2010-11-19 18:00:39 -06:00
parent 92655b6399
commit e1b9a815dd
17 changed files with 62 additions and 12 deletions

View File

@@ -33,21 +33,23 @@ Import('*')
SimObject('Bridge.py')
SimObject('Bus.py')
SimObject('MemObject.py')
SimObject('PhysicalMemory.py')
Source('bridge.cc')
Source('bus.cc')
Source('dram.cc')
Source('mem_object.cc')
Source('packet.cc')
Source('physical.cc')
Source('port.cc')
Source('tport.cc')
Source('mport.cc')
if env['TARGET_ISA'] != 'no':
SimObject('PhysicalMemory.py')
Source('dram.cc')
Source('physical.cc')
if env['FULL_SYSTEM']:
Source('vport.cc')
else:
elif env['TARGET_ISA'] != 'no':
Source('page_table.cc')
Source('translating_port.cc')