SConscript revision 8739
13534Sgblack@eecs.umich.edu# -*- mode:python -*- 23534Sgblack@eecs.umich.edu 33534Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 43534Sgblack@eecs.umich.edu# All rights reserved. 53534Sgblack@eecs.umich.edu# 63534Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 73534Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 83534Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 93534Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 103534Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 113534Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 123534Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 133534Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 143534Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 153534Sgblack@eecs.umich.edu# this software without specific prior written permission. 163534Sgblack@eecs.umich.edu# 173534Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 183534Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 193534Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 203534Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 213534Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 223534Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 233534Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 243534Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 253534Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 263534Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 273534Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 283534Sgblack@eecs.umich.edu# 293534Sgblack@eecs.umich.edu# Authors: Steve Reinhardt 303534Sgblack@eecs.umich.edu# Gabe Black 313534Sgblack@eecs.umich.edu 324202Sbinkertn@umich.eduImport('*') 333534Sgblack@eecs.umich.edu 347768SAli.Saidi@ARM.comif env['TARGET_ISA'] == 'no': 357768SAli.Saidi@ARM.com Return() 367768SAli.Saidi@ARM.com 378739Sgblack@eecs.umich.eduSimObject('BadDevice.py') 388739Sgblack@eecs.umich.eduSimObject('CopyEngine.py') 398739Sgblack@eecs.umich.eduSimObject('Device.py') 408739Sgblack@eecs.umich.eduSimObject('DiskImage.py') 418739Sgblack@eecs.umich.eduSimObject('Ethernet.py') 428739Sgblack@eecs.umich.eduSimObject('Ide.py') 438739Sgblack@eecs.umich.eduSimObject('Pci.py') 448739Sgblack@eecs.umich.eduSimObject('Platform.py') 458739Sgblack@eecs.umich.eduSimObject('SimpleDisk.py') 468739Sgblack@eecs.umich.eduSimObject('Terminal.py') 478739Sgblack@eecs.umich.eduSimObject('Uart.py') 484486Sbinkertn@umich.edu 498739Sgblack@eecs.umich.eduSource('baddev.cc') 508739Sgblack@eecs.umich.eduSource('copy_engine.cc') 518739Sgblack@eecs.umich.eduSource('disk_image.cc') 528739Sgblack@eecs.umich.eduSource('etherbus.cc') 538739Sgblack@eecs.umich.eduSource('etherdevice.cc') 548739Sgblack@eecs.umich.eduSource('etherdump.cc') 558739Sgblack@eecs.umich.eduSource('etherint.cc') 568739Sgblack@eecs.umich.eduSource('etherlink.cc') 578739Sgblack@eecs.umich.eduSource('etherpkt.cc') 588739Sgblack@eecs.umich.eduSource('ethertap.cc') 598739Sgblack@eecs.umich.eduSource('i8254xGBe.cc') 608739Sgblack@eecs.umich.eduSource('ide_ctrl.cc') 618739Sgblack@eecs.umich.eduSource('ide_disk.cc') 628739Sgblack@eecs.umich.eduSource('intel_8254_timer.cc') 638739Sgblack@eecs.umich.eduSource('io_device.cc') 648739Sgblack@eecs.umich.eduSource('isa_fake.cc') 658739Sgblack@eecs.umich.eduSource('mc146818.cc') 668739Sgblack@eecs.umich.eduSource('ns_gige.cc') 678739Sgblack@eecs.umich.eduSource('pciconfigall.cc') 688739Sgblack@eecs.umich.eduSource('pcidev.cc') 698739Sgblack@eecs.umich.eduSource('pktfifo.cc') 708739Sgblack@eecs.umich.eduSource('platform.cc') 718739Sgblack@eecs.umich.eduSource('ps2.cc') 728739Sgblack@eecs.umich.eduSource('simple_disk.cc') 738739Sgblack@eecs.umich.eduSource('sinic.cc') 748739Sgblack@eecs.umich.eduSource('terminal.cc') 758739Sgblack@eecs.umich.eduSource('uart.cc') 768739Sgblack@eecs.umich.eduSource('uart8250.cc') 775192Ssaidi@eecs.umich.edu 788739Sgblack@eecs.umich.eduDebugFlag('DiskImageRead') 798739Sgblack@eecs.umich.eduDebugFlag('DiskImageWrite') 808739Sgblack@eecs.umich.eduDebugFlag('DMA') 818739Sgblack@eecs.umich.eduDebugFlag('DMACopyEngine') 828739Sgblack@eecs.umich.eduDebugFlag('Ethernet') 838739Sgblack@eecs.umich.eduDebugFlag('EthernetCksum') 848739Sgblack@eecs.umich.eduDebugFlag('EthernetDMA') 858739Sgblack@eecs.umich.eduDebugFlag('EthernetData') 868739Sgblack@eecs.umich.eduDebugFlag('EthernetDesc') 878739Sgblack@eecs.umich.eduDebugFlag('EthernetEEPROM') 888739Sgblack@eecs.umich.eduDebugFlag('EthernetIntr') 898739Sgblack@eecs.umich.eduDebugFlag('EthernetPIO') 908739Sgblack@eecs.umich.eduDebugFlag('EthernetSM') 918739Sgblack@eecs.umich.eduDebugFlag('IdeCtrl') 928739Sgblack@eecs.umich.eduDebugFlag('IdeDisk') 938739Sgblack@eecs.umich.eduDebugFlag('Intel8254Timer') 948739Sgblack@eecs.umich.eduDebugFlag('IsaFake') 958739Sgblack@eecs.umich.eduDebugFlag('MC146818') 968739Sgblack@eecs.umich.eduDebugFlag('PCIDEV') 978739Sgblack@eecs.umich.eduDebugFlag('PciConfigAll') 988739Sgblack@eecs.umich.eduDebugFlag('SimpleDisk') 998739Sgblack@eecs.umich.eduDebugFlag('SimpleDiskData') 1008739Sgblack@eecs.umich.eduDebugFlag('Terminal') 1018739Sgblack@eecs.umich.eduDebugFlag('TerminalVerbose') 1028739Sgblack@eecs.umich.eduDebugFlag('Uart') 1035192Ssaidi@eecs.umich.edu 1048739Sgblack@eecs.umich.eduCompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ]) 1058739Sgblack@eecs.umich.eduCompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA', 1068739Sgblack@eecs.umich.edu 'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM', 1078739Sgblack@eecs.umich.edu 'EthernetCksum', 'EthernetEEPROM' ]) 1088739Sgblack@eecs.umich.eduCompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc', 1098739Sgblack@eecs.umich.edu 'EthernetIntr', 'EthernetSM', 'EthernetCksum' ]) 1108739Sgblack@eecs.umich.eduCompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ]) 111