util: Add the m5_loadsymbol pseudo op to the m5 tool
[gem5.git] / src / dev / SConscript
index 2e0d7565060bc95a713ca5d491f299b946610b57..9cfda05440f48e403356450580886e791b5df62d 100644 (file)
 
 Import('*')
 
-if env['FULL_SYSTEM']:
-    SimObject('BadDevice.py')
-    SimObject('Device.py')
-    SimObject('DiskImage.py')
-    SimObject('Ethernet.py')
-    SimObject('Ide.py')
-    SimObject('Pci.py')
-    SimObject('Platform.py')
-    SimObject('SimConsole.py')
-    SimObject('SimpleDisk.py')
-    SimObject('Uart.py')
+SimObject('Device.py')
+Source('io_device.cc')
+Source('isa_fake.cc')
+Source('dma_device.cc')
 
-    Source('baddev.cc')
-    Source('disk_image.cc')
-    Source('etherbus.cc')
-    Source('etherdump.cc')
-    Source('etherint.cc')
-    Source('etherlink.cc')
-    Source('etherpkt.cc')
-    Source('ethertap.cc')      
-    Source('i8254xGBe.cc')
-    Source('ide_ctrl.cc')
-    Source('ide_disk.cc')
-    Source('io_device.cc')
-    Source('isa_fake.cc')
-    Source('ns_gige.cc')
-    Source('pciconfigall.cc')
-    Source('pcidev.cc')
-    Source('pktfifo.cc')
-    Source('platform.cc')
-    Source('simconsole.cc')
-    Source('simple_disk.cc')
-    #Source('sinic.cc')
-    Source('uart.cc')
-    Source('uart8250.cc')
+DebugFlag('IsaFake')
+DebugFlag('DMA')
+
+if env['TARGET_ISA'] == 'null':
+    Return()
+
+SimObject('BadDevice.py')
+SimObject('Platform.py')
+SimObject('Terminal.py')
+SimObject('Uart.py')
+
+Source('baddev.cc')
+Source('intel_8254_timer.cc')
+Source('mc146818.cc')
+Source('pixelpump.cc')
+Source('platform.cc')
+Source('ps2.cc')
+Source('terminal.cc')
+Source('uart.cc')
+Source('uart8250.cc')
+
+DebugFlag('Intel8254Timer')
+DebugFlag('MC146818')
+DebugFlag('Terminal')
+DebugFlag('TerminalVerbose')
+DebugFlag('Uart')