SConscript revision 9930
14202Sbinkertn@umich.edu# -*- mode:python -*- 24202Sbinkertn@umich.edu 34202Sbinkertn@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 44202Sbinkertn@umich.edu# All rights reserved. 54202Sbinkertn@umich.edu# 64202Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without 74202Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are 84202Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright 94202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer; 104202Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright 114202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the 124202Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution; 134202Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its 144202Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from 154202Sbinkertn@umich.edu# this software without specific prior written permission. 164202Sbinkertn@umich.edu# 174202Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 184202Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 194202Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 204202Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 214202Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 224202Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 234202Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 244202Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 254202Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 264202Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 274202Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 284202Sbinkertn@umich.edu# 294202Sbinkertn@umich.edu# Authors: Steve Reinhardt 304202Sbinkertn@umich.edu# Gabe Black 314202Sbinkertn@umich.edu 324202Sbinkertn@umich.eduImport('*') 335628Sgblack@eecs.umich.edu 344486Sbinkertn@umich.eduif env['TARGET_ISA'] == 'null': 354776Sgblack@eecs.umich.edu Return() 364486Sbinkertn@umich.edu 374202Sbinkertn@umich.eduSimObject('BadDevice.py') 384202Sbinkertn@umich.eduSimObject('CopyEngine.py') 394202Sbinkertn@umich.eduSimObject('Device.py') 404202Sbinkertn@umich.eduSimObject('DiskImage.py') 415522Snate@binkert.orgSimObject('Ethernet.py') 428233Snate@binkert.orgSimObject('Ide.py') 434202Sbinkertn@umich.eduSimObject('Pci.py') 444202Sbinkertn@umich.eduSimObject('Platform.py') 454202Sbinkertn@umich.eduSimObject('SimpleDisk.py') 464202Sbinkertn@umich.eduSimObject('Terminal.py') 474202Sbinkertn@umich.eduSimObject('Uart.py') 484202Sbinkertn@umich.edu 497768SAli.Saidi@ARM.comSource('baddev.cc') 507768SAli.Saidi@ARM.comSource('copy_engine.cc') 517768SAli.Saidi@ARM.comSource('disk_image.cc') 527768SAli.Saidi@ARM.comSource('dma_device.cc') 537768SAli.Saidi@ARM.comSource('etherbus.cc') 547768SAli.Saidi@ARM.comSource('etherdevice.cc') 554202Sbinkertn@umich.eduSource('etherdump.cc') 564202Sbinkertn@umich.eduSource('etherint.cc') 574826Ssaidi@eecs.umich.eduSource('etherlink.cc') 587768SAli.Saidi@ARM.comSource('etherpkt.cc') 595016Sgblack@eecs.umich.eduSource('ethertap.cc') 604486Sbinkertn@umich.eduSource('i8254xGBe.cc') 614486Sbinkertn@umich.eduSource('ide_ctrl.cc') 624202Sbinkertn@umich.eduSource('ide_disk.cc') 634202Sbinkertn@umich.eduSource('intel_8254_timer.cc') 645192Ssaidi@eecs.umich.eduSource('io_device.cc') 658335Snate@binkert.orgSource('isa_fake.cc') 668335Snate@binkert.orgSource('mc146818.cc') 678335Snate@binkert.orgSource('ns_gige.cc') 688335Snate@binkert.orgSource('pciconfigall.cc') 698335Snate@binkert.orgSource('pcidev.cc') 708335Snate@binkert.orgSource('pktfifo.cc') 718335Snate@binkert.orgSource('platform.cc') 728335Snate@binkert.orgSource('ps2.cc') 738335Snate@binkert.orgSource('simple_disk.cc') 748335Snate@binkert.orgSource('sinic.cc') 758335Snate@binkert.orgSource('terminal.cc') 768335Snate@binkert.orgSource('uart.cc') 778335Snate@binkert.orgSource('uart8250.cc') 788335Snate@binkert.org 798335Snate@binkert.orgDebugFlag('DiskImageRead') 808335Snate@binkert.orgDebugFlag('DiskImageWrite') 818335Snate@binkert.orgDebugFlag('DMA') 82DebugFlag('DMACopyEngine') 83DebugFlag('Ethernet') 84DebugFlag('EthernetCksum') 85DebugFlag('EthernetDMA') 86DebugFlag('EthernetData') 87DebugFlag('EthernetDesc') 88DebugFlag('EthernetEEPROM') 89DebugFlag('EthernetIntr') 90DebugFlag('EthernetPIO') 91DebugFlag('EthernetSM') 92DebugFlag('IdeCtrl') 93DebugFlag('IdeDisk') 94DebugFlag('Intel8254Timer') 95DebugFlag('IsaFake') 96DebugFlag('MC146818') 97DebugFlag('PCIDEV') 98DebugFlag('PciConfigAll') 99DebugFlag('SimpleDisk') 100DebugFlag('SimpleDiskData') 101DebugFlag('Terminal') 102DebugFlag('TerminalVerbose') 103DebugFlag('Uart') 104 105CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ]) 106CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA', 107 'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM', 108 'EthernetCksum', 'EthernetEEPROM' ]) 109CompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc', 110 'EthernetIntr', 'EthernetSM', 'EthernetCksum' ]) 111CompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ]) 112