SConscript revision 5794
114184Sgabeblack@google.com# -*- mode:python -*- 214184Sgabeblack@google.com 314184Sgabeblack@google.com# Copyright (c) 2006 The Regents of The University of Michigan 414184Sgabeblack@google.com# All rights reserved. 514184Sgabeblack@google.com# 614184Sgabeblack@google.com# Redistribution and use in source and binary forms, with or without 714184Sgabeblack@google.com# modification, are permitted provided that the following conditions are 814184Sgabeblack@google.com# met: redistributions of source code must retain the above copyright 914184Sgabeblack@google.com# notice, this list of conditions and the following disclaimer; 1014184Sgabeblack@google.com# redistributions in binary form must reproduce the above copyright 1114184Sgabeblack@google.com# notice, this list of conditions and the following disclaimer in the 1214184Sgabeblack@google.com# documentation and/or other materials provided with the distribution; 1314184Sgabeblack@google.com# neither the name of the copyright holders nor the names of its 1414184Sgabeblack@google.com# contributors may be used to endorse or promote products derived from 1514184Sgabeblack@google.com# this software without specific prior written permission. 1614184Sgabeblack@google.com# 1714184Sgabeblack@google.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1814184Sgabeblack@google.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1914184Sgabeblack@google.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2014184Sgabeblack@google.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2114184Sgabeblack@google.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2214184Sgabeblack@google.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2314184Sgabeblack@google.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2414184Sgabeblack@google.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2514184Sgabeblack@google.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2614184Sgabeblack@google.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2714184Sgabeblack@google.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2814184Sgabeblack@google.com# 2914184Sgabeblack@google.com# Authors: Steve Reinhardt 3014184Sgabeblack@google.com# Gabe Black 3114184Sgabeblack@google.com 3214184Sgabeblack@google.comImport('*') 3314184Sgabeblack@google.com 3414184Sgabeblack@google.comif env['FULL_SYSTEM']: 3514184Sgabeblack@google.com SimObject('BadDevice.py') 3614184Sgabeblack@google.com SimObject('CopyEngine.py') 3714184Sgabeblack@google.com SimObject('Device.py') 3814184Sgabeblack@google.com SimObject('DiskImage.py') 3914184Sgabeblack@google.com SimObject('Ethernet.py') 4014184Sgabeblack@google.com SimObject('Ide.py') 4114184Sgabeblack@google.com SimObject('Pci.py') 4214184Sgabeblack@google.com SimObject('Platform.py') 4314184Sgabeblack@google.com SimObject('SimpleDisk.py') 4414184Sgabeblack@google.com SimObject('Terminal.py') 4514184Sgabeblack@google.com SimObject('Uart.py') 4614184Sgabeblack@google.com 4714184Sgabeblack@google.com Source('baddev.cc') 4814184Sgabeblack@google.com Source('copy_engine.cc') 4914184Sgabeblack@google.com Source('disk_image.cc') 5014184Sgabeblack@google.com Source('etherbus.cc') 5114184Sgabeblack@google.com Source('etherdevice.cc') 5214184Sgabeblack@google.com Source('etherdump.cc') 5314184Sgabeblack@google.com Source('etherint.cc') 5414184Sgabeblack@google.com Source('etherlink.cc') 5514184Sgabeblack@google.com Source('etherpkt.cc') 5614184Sgabeblack@google.com Source('ethertap.cc') 5714184Sgabeblack@google.com Source('i8254xGBe.cc') 5814184Sgabeblack@google.com Source('ide_ctrl.cc') 5914184Sgabeblack@google.com Source('ide_disk.cc') 6014184Sgabeblack@google.com Source('intel_8254_timer.cc') 6114184Sgabeblack@google.com Source('io_device.cc') 6214184Sgabeblack@google.com Source('isa_fake.cc') 6314184Sgabeblack@google.com Source('mc146818.cc') 6414184Sgabeblack@google.com Source('ns_gige.cc') 6514184Sgabeblack@google.com Source('pciconfigall.cc') 6614184Sgabeblack@google.com Source('pcidev.cc') 6714184Sgabeblack@google.com Source('pktfifo.cc') 6814184Sgabeblack@google.com Source('platform.cc') 6914184Sgabeblack@google.com Source('simple_disk.cc') 7014184Sgabeblack@google.com Source('sinic.cc') 7114184Sgabeblack@google.com Source('terminal.cc') 7214184Sgabeblack@google.com Source('uart.cc') 7314184Sgabeblack@google.com Source('uart8250.cc') 7414184Sgabeblack@google.com 7514184Sgabeblack@google.com TraceFlag('DiskImageRead') 7614184Sgabeblack@google.com TraceFlag('DiskImageWrite') 7714184Sgabeblack@google.com TraceFlag('DMA') 7814184Sgabeblack@google.com TraceFlag('DMACopyEngine') 7914184Sgabeblack@google.com TraceFlag('Ethernet') 8014184Sgabeblack@google.com TraceFlag('EthernetCksum') 8114184Sgabeblack@google.com TraceFlag('EthernetDMA') 8214184Sgabeblack@google.com TraceFlag('EthernetData') 8314184Sgabeblack@google.com TraceFlag('EthernetDesc') 8414184Sgabeblack@google.com TraceFlag('EthernetEEPROM') 8514184Sgabeblack@google.com TraceFlag('EthernetIntr') 8614184Sgabeblack@google.com TraceFlag('EthernetPIO') 8714184Sgabeblack@google.com TraceFlag('EthernetSM') 8814184Sgabeblack@google.com TraceFlag('IdeCtrl') 8914184Sgabeblack@google.com TraceFlag('IdeDisk') 9014184Sgabeblack@google.com TraceFlag('Intel8254Timer') 9114184Sgabeblack@google.com TraceFlag('IsaFake') 9214184Sgabeblack@google.com TraceFlag('MC146818') 9314184Sgabeblack@google.com TraceFlag('PCIDEV') 9414184Sgabeblack@google.com TraceFlag('PciConfigAll') 9514184Sgabeblack@google.com TraceFlag('SimpleDisk') 9614184Sgabeblack@google.com TraceFlag('SimpleDiskData') 9714184Sgabeblack@google.com TraceFlag('Terminal') 9814184Sgabeblack@google.com TraceFlag('TerminalVerbose') 9914184Sgabeblack@google.com TraceFlag('Uart') 10014184Sgabeblack@google.com 10114184Sgabeblack@google.com CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ]) 10214184Sgabeblack@google.com CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA', 10314184Sgabeblack@google.com 'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM', 10414184Sgabeblack@google.com 'EthernetCksum', 'EthernetEEPROM' ]) 10514184Sgabeblack@google.com CompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc', 10614184Sgabeblack@google.com 'EthernetIntr', 'EthernetSM', 'EthernetCksum' ]) 10714184Sgabeblack@google.com CompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ]) 10814184Sgabeblack@google.com 10914184Sgabeblack@google.com