SConscript revision 7966
112837Sgabeblack@google.com# -*- mode:python -*- 212837Sgabeblack@google.com 312837Sgabeblack@google.com# Copyright (c) 2006 The Regents of The University of Michigan 412837Sgabeblack@google.com# All rights reserved. 512837Sgabeblack@google.com# 612837Sgabeblack@google.com# Redistribution and use in source and binary forms, with or without 712837Sgabeblack@google.com# modification, are permitted provided that the following conditions are 812837Sgabeblack@google.com# met: redistributions of source code must retain the above copyright 912837Sgabeblack@google.com# notice, this list of conditions and the following disclaimer; 1012837Sgabeblack@google.com# redistributions in binary form must reproduce the above copyright 1112837Sgabeblack@google.com# notice, this list of conditions and the following disclaimer in the 1212837Sgabeblack@google.com# documentation and/or other materials provided with the distribution; 1312837Sgabeblack@google.com# neither the name of the copyright holders nor the names of its 1412837Sgabeblack@google.com# contributors may be used to endorse or promote products derived from 1512837Sgabeblack@google.com# this software without specific prior written permission. 1612837Sgabeblack@google.com# 1712837Sgabeblack@google.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1812837Sgabeblack@google.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1912837Sgabeblack@google.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2012837Sgabeblack@google.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2112837Sgabeblack@google.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2212837Sgabeblack@google.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2312837Sgabeblack@google.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2412837Sgabeblack@google.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2512837Sgabeblack@google.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2612837Sgabeblack@google.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2712837Sgabeblack@google.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2812837Sgabeblack@google.com# 2912837Sgabeblack@google.com# Authors: Steve Reinhardt 3012837Sgabeblack@google.com# Gabe Black 3112837Sgabeblack@google.com 3212837Sgabeblack@google.comImport('*') 3312954Sgabeblack@google.com 3412955Sgabeblack@google.comif env['TARGET_ISA'] == 'no': 3512837Sgabeblack@google.com Return() 3612863Sgabeblack@google.com 3712950Sgabeblack@google.comif env['FULL_SYSTEM']: 3813207Sgabeblack@google.com SimObject('BadDevice.py') 3912952Sgabeblack@google.com SimObject('CopyEngine.py') 4012953Sgabeblack@google.com SimObject('Device.py') 4113038Sgabeblack@google.com SimObject('DiskImage.py') 4212953Sgabeblack@google.com SimObject('Ethernet.py') 4313072Sgabeblack@google.com SimObject('Ide.py') 4413206Sgabeblack@google.com SimObject('Pci.py') 4512837Sgabeblack@google.com SimObject('Platform.py') 4612837Sgabeblack@google.com SimObject('SimpleDisk.py') 4712837Sgabeblack@google.com SimObject('Terminal.py') 4812837Sgabeblack@google.com SimObject('Uart.py') 4912837Sgabeblack@google.com 5012943Sgabeblack@google.com Source('baddev.cc') 5112837Sgabeblack@google.com Source('copy_engine.cc') 5212837Sgabeblack@google.com Source('disk_image.cc') 5312837Sgabeblack@google.com Source('etherbus.cc') 5412837Sgabeblack@google.com Source('etherdevice.cc') 5512837Sgabeblack@google.com Source('etherdump.cc') 5612838Sgabeblack@google.com Source('etherint.cc') 5712837Sgabeblack@google.com Source('etherlink.cc') 5812837Sgabeblack@google.com Source('etherpkt.cc') 5912940Sgabeblack@google.com Source('ethertap.cc') 6012839Sgabeblack@google.com Source('i8254xGBe.cc') 6112837Sgabeblack@google.com Source('ide_ctrl.cc') 62 Source('ide_disk.cc') 63 Source('intel_8254_timer.cc') 64 Source('io_device.cc') 65 Source('isa_fake.cc') 66 Source('mc146818.cc') 67 Source('ns_gige.cc') 68 Source('pciconfigall.cc') 69 Source('pcidev.cc') 70 Source('pktfifo.cc') 71 Source('platform.cc') 72 Source('ps2.cc') 73 Source('simple_disk.cc') 74 Source('sinic.cc') 75 Source('terminal.cc') 76 Source('uart.cc') 77 Source('uart8250.cc') 78 79 TraceFlag('DiskImageRead') 80 TraceFlag('DiskImageWrite') 81 TraceFlag('DMA') 82 TraceFlag('DMACopyEngine') 83 TraceFlag('Ethernet') 84 TraceFlag('EthernetCksum') 85 TraceFlag('EthernetDMA') 86 TraceFlag('EthernetData') 87 TraceFlag('EthernetDesc') 88 TraceFlag('EthernetEEPROM') 89 TraceFlag('EthernetIntr') 90 TraceFlag('EthernetPIO') 91 TraceFlag('EthernetSM') 92 TraceFlag('IdeCtrl') 93 TraceFlag('IdeDisk') 94 TraceFlag('Intel8254Timer') 95 TraceFlag('IsaFake') 96 TraceFlag('MC146818') 97 TraceFlag('PCIDEV') 98 TraceFlag('PciConfigAll') 99 TraceFlag('SimpleDisk') 100 TraceFlag('SimpleDiskData') 101 TraceFlag('Terminal') 102 TraceFlag('TerminalVerbose') 103 TraceFlag('Uart') 104 105 CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ]) 106 CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA', 107 'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM', 108 'EthernetCksum', 'EthernetEEPROM' ]) 109 CompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc', 110 'EthernetIntr', 'EthernetSM', 'EthernetCksum' ]) 111 CompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ]) 112 113