SConscript revision 9016
11046SN/A# -*- mode:python -*- 21046SN/A 31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan 41046SN/A# All rights reserved. 51046SN/A# 61046SN/A# Redistribution and use in source and binary forms, with or without 71046SN/A# modification, are permitted provided that the following conditions are 81046SN/A# met: redistributions of source code must retain the above copyright 91046SN/A# notice, this list of conditions and the following disclaimer; 101046SN/A# redistributions in binary form must reproduce the above copyright 111046SN/A# notice, this list of conditions and the following disclaimer in the 121046SN/A# documentation and/or other materials provided with the distribution; 131046SN/A# neither the name of the copyright holders nor the names of its 141046SN/A# contributors may be used to endorse or promote products derived from 151046SN/A# this software without specific prior written permission. 161046SN/A# 171046SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 181046SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 191046SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 201046SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 211046SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 221046SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 231046SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 241046SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 251046SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 261046SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 271046SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Steve Reinhardt 302665Ssaidi@eecs.umich.edu# Gabe Black 311046SN/A 324202Sbinkertn@umich.eduImport('*') 334202Sbinkertn@umich.edu 341530SN/Aif env['TARGET_ISA'] == 'no': 354202Sbinkertn@umich.edu Return() 364202Sbinkertn@umich.edu 374202Sbinkertn@umich.eduSimObject('BadDevice.py') 383645Sbinkertn@umich.eduSimObject('CopyEngine.py') 394382Sbinkertn@umich.eduSimObject('Device.py') 404382Sbinkertn@umich.eduSimObject('DiskImage.py') 414382Sbinkertn@umich.eduSimObject('Ethernet.py') 424382Sbinkertn@umich.eduSimObject('Ide.py') 434382Sbinkertn@umich.eduSimObject('Pci.py') 444382Sbinkertn@umich.eduSimObject('Platform.py') 454382Sbinkertn@umich.eduSimObject('SimpleDisk.py') 464382Sbinkertn@umich.eduSimObject('Terminal.py') 474382Sbinkertn@umich.eduSimObject('Uart.py') 484382Sbinkertn@umich.edu 494382Sbinkertn@umich.eduSource('baddev.cc') 504382Sbinkertn@umich.eduSource('copy_engine.cc') 514382Sbinkertn@umich.eduSource('disk_image.cc') 522667Sstever@eecs.umich.eduSource('dma_device.cc') 534382Sbinkertn@umich.eduSource('etherbus.cc') 544086Sbinkertn@umich.eduSource('etherdevice.cc') 554382Sbinkertn@umich.eduSource('etherdump.cc') 564382Sbinkertn@umich.eduSource('etherint.cc') 574382Sbinkertn@umich.eduSource('etherlink.cc') 584382Sbinkertn@umich.eduSource('etherpkt.cc') 594382Sbinkertn@umich.eduSource('ethertap.cc') 604382Sbinkertn@umich.eduSource('i8254xGBe.cc') 614382Sbinkertn@umich.eduSource('ide_ctrl.cc') 624382Sbinkertn@umich.eduSource('ide_disk.cc') 634086Sbinkertn@umich.eduSource('intel_8254_timer.cc') 644382Sbinkertn@umich.eduSource('io_device.cc') 654382Sbinkertn@umich.eduSource('isa_fake.cc') 664382Sbinkertn@umich.eduSource('mc146818.cc') 674382Sbinkertn@umich.eduSource('ns_gige.cc') 684382Sbinkertn@umich.eduSource('pciconfigall.cc') 694382Sbinkertn@umich.eduSource('pcidev.cc') 704382Sbinkertn@umich.eduSource('pktfifo.cc') 714382Sbinkertn@umich.eduSource('platform.cc') 724382Sbinkertn@umich.eduSource('ps2.cc') 734382Sbinkertn@umich.eduSource('simple_disk.cc') 744382Sbinkertn@umich.eduSource('sinic.cc') 754382Sbinkertn@umich.eduSource('terminal.cc') 764382Sbinkertn@umich.eduSource('uart.cc') 774382Sbinkertn@umich.eduSource('uart8250.cc') 784382Sbinkertn@umich.edu 794382Sbinkertn@umich.eduDebugFlag('DiskImageRead') 804382Sbinkertn@umich.eduDebugFlag('DiskImageWrite') 814382Sbinkertn@umich.eduDebugFlag('DMA') 824382Sbinkertn@umich.eduDebugFlag('DMACopyEngine') 834382Sbinkertn@umich.eduDebugFlag('Ethernet') 844382Sbinkertn@umich.eduDebugFlag('EthernetCksum') 854382Sbinkertn@umich.eduDebugFlag('EthernetDMA') 864382Sbinkertn@umich.eduDebugFlag('EthernetData') 874382Sbinkertn@umich.eduDebugFlag('EthernetDesc') 884382Sbinkertn@umich.eduDebugFlag('EthernetEEPROM') 894382Sbinkertn@umich.eduDebugFlag('EthernetIntr') 904382Sbinkertn@umich.eduDebugFlag('EthernetPIO') 914382Sbinkertn@umich.eduDebugFlag('EthernetSM') 924382Sbinkertn@umich.eduDebugFlag('IdeCtrl') 934382Sbinkertn@umich.eduDebugFlag('IdeDisk') 944382Sbinkertn@umich.eduDebugFlag('Intel8254Timer') 954382Sbinkertn@umich.eduDebugFlag('IsaFake') 964382Sbinkertn@umich.eduDebugFlag('MC146818') 974382Sbinkertn@umich.eduDebugFlag('PCIDEV') 984382Sbinkertn@umich.eduDebugFlag('PciConfigAll') 994382Sbinkertn@umich.eduDebugFlag('SimpleDisk') 1004382Sbinkertn@umich.eduDebugFlag('SimpleDiskData') 1014382Sbinkertn@umich.eduDebugFlag('Terminal') 1024382Sbinkertn@umich.eduDebugFlag('TerminalVerbose') 1034382Sbinkertn@umich.eduDebugFlag('Uart') 1044382Sbinkertn@umich.edu 1054382Sbinkertn@umich.eduCompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ]) 1064382Sbinkertn@umich.eduCompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA', 1074382Sbinkertn@umich.edu 'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM', 1084382Sbinkertn@umich.edu 'EthernetCksum', 'EthernetEEPROM' ]) 1094382Sbinkertn@umich.eduCompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc', 1104382Sbinkertn@umich.edu 'EthernetIntr', 'EthernetSM', 'EthernetCksum' ]) 1114382Sbinkertn@umich.eduCompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ]) 1124382Sbinkertn@umich.edu