SConscript revision 8752
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()
3613317Sgabeblack@google.com
3712863Sgabeblack@google.comSimObject('BadDevice.py')
3812950Sgabeblack@google.comSimObject('CopyEngine.py')
3913207Sgabeblack@google.comSimObject('Device.py')
4012952Sgabeblack@google.comSimObject('DiskImage.py')
4113038Sgabeblack@google.comSimObject('Ethernet.py')
4212953Sgabeblack@google.comSimObject('Ide.py')
4313072Sgabeblack@google.comSimObject('Pci.py')
4413206Sgabeblack@google.comSimObject('Platform.py')
4513252Sgabeblack@google.comSimObject('SimpleDisk.py')
4612837Sgabeblack@google.comSimObject('Terminal.py')
4712837Sgabeblack@google.comSimObject('Uart.py')
4812837Sgabeblack@google.com
4912837Sgabeblack@google.comSource('baddev.cc')
5012837Sgabeblack@google.comSource('copy_engine.cc')
5112943Sgabeblack@google.comSource('disk_image.cc')
5212837Sgabeblack@google.comSource('etherbus.cc')
5312837Sgabeblack@google.comSource('etherdevice.cc')
5412837Sgabeblack@google.comSource('etherdump.cc')
5512837Sgabeblack@google.comSource('etherint.cc')
5612837Sgabeblack@google.comSource('etherlink.cc')
5712838Sgabeblack@google.comSource('etherpkt.cc')
5812837Sgabeblack@google.comSource('ethertap.cc')
5912837Sgabeblack@google.comSource('i8254xGBe.cc')
6012940Sgabeblack@google.comSource('ide_ctrl.cc')
6112839Sgabeblack@google.comSource('ide_disk.cc')
6212837Sgabeblack@google.comSource('intel_8254_timer.cc')
63Source('io_device.cc')
64Source('isa_fake.cc')
65Source('mc146818.cc')
66Source('ns_gige.cc')
67Source('pciconfigall.cc')
68Source('pcidev.cc')
69Source('pktfifo.cc')
70Source('platform.cc')
71Source('ps2.cc')
72Source('simple_disk.cc')
73Source('sinic.cc')
74Source('terminal.cc')
75Source('uart.cc')
76Source('uart8250.cc')
77
78DebugFlag('DiskImageRead')
79DebugFlag('DiskImageWrite')
80DebugFlag('DMA')
81DebugFlag('DMACopyEngine')
82DebugFlag('Ethernet')
83DebugFlag('EthernetCksum')
84DebugFlag('EthernetDMA')
85DebugFlag('EthernetData')
86DebugFlag('EthernetDesc')
87DebugFlag('EthernetEEPROM')
88DebugFlag('EthernetIntr')
89DebugFlag('EthernetPIO')
90DebugFlag('EthernetSM')
91DebugFlag('IdeCtrl')
92DebugFlag('IdeDisk')
93DebugFlag('Intel8254Timer')
94DebugFlag('IsaFake')
95DebugFlag('MC146818')
96DebugFlag('PCIDEV')
97DebugFlag('PciConfigAll')
98DebugFlag('SimpleDisk')
99DebugFlag('SimpleDiskData')
100DebugFlag('Terminal')
101DebugFlag('TerminalVerbose')
102DebugFlag('Uart')
103
104CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ])
105CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA',
106    'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM',
107    'EthernetCksum', 'EthernetEEPROM' ])
108CompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc',
109    'EthernetIntr', 'EthernetSM', 'EthernetCksum' ])
110CompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ])
111