arm: Don't report the boot ROM as a memory in config tables
[gem5.git] / src / dev / alpha / SConscript
index 304cd9ca9d9281c5642577dc0f03b3747444beb8..9c8a5b4cee7e4051314e270e6ca972609994ae5d 100644 (file)
 # Authors: Steve Reinhardt
 #          Gabe Black
 
-import os.path, sys
+Import('*')
 
-# Import build environment variable from SConstruct.
-Import('env')
+if env['TARGET_ISA'] == 'alpha':
+    SimObject('AlphaBackdoor.py')
+    SimObject('Tsunami.py')
 
-sources = Split('''
-       console.cc
-       tsunami.cc
-       tsunami_cchip.cc
-       tsunami_io.cc
-       tsunami_fake.cc
-       tsunami_pchip.cc
-       ''')
-#      baddev.cc
-#      disk_image.cc
-#      etherbus.cc
-#      etherdump.cc
-#      etherint.cc
-#      etherlink.cc
-#      etherpkt.cc
-#      ethertap.cc     
-#       ide_ctrl.cc
-#      ide_disk.cc
-#      io_device.cc
-#      isa_fake.cc
-#      ns_gige.cc
-#      pciconfigall.cc
-#      pcidev.cc
-#      pcifake.cc
-#      pktfifo.cc
-#      platform.cc
-#       simconsole.cc
-#      simple_disk.cc
+    Source('backdoor.cc')
+    Source('tsunami.cc')
+    Source('tsunami_cchip.cc')
+    Source('tsunami_io.cc')
+    Source('tsunami_pchip.cc')
 
-# Convert file names to SCons File objects.  This takes care of the
-# path relative to the top of the directory tree.
-sources = [File(s) for s in sources]
-
-Return('sources')
+    DebugFlag('AlphaBackdoor')
+    DebugFlag('Tsunami')