SConscript revision 7768
13534Sgblack@eecs.umich.edu# -*- mode:python -*-
23534Sgblack@eecs.umich.edu
33534Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
43534Sgblack@eecs.umich.edu# All rights reserved.
53534Sgblack@eecs.umich.edu#
63534Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
73534Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
83534Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
93534Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
103534Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
113534Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
123534Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
133534Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
143534Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
153534Sgblack@eecs.umich.edu# this software without specific prior written permission.
163534Sgblack@eecs.umich.edu#
173534Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
183534Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
193534Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
203534Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
213534Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
223534Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
233534Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
243534Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
253534Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
263534Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
273534Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
283534Sgblack@eecs.umich.edu#
293534Sgblack@eecs.umich.edu# Authors: Steve Reinhardt
303534Sgblack@eecs.umich.edu#          Gabe Black
313534Sgblack@eecs.umich.edu
324202Sbinkertn@umich.eduImport('*')
333534Sgblack@eecs.umich.edu
347768SAli.Saidi@ARM.comif env['TARGET_ISA'] == 'no':
357768SAli.Saidi@ARM.com    Return()
367768SAli.Saidi@ARM.com
374202Sbinkertn@umich.eduif env['FULL_SYSTEM']:
384486Sbinkertn@umich.edu    SimObject('BadDevice.py')
395794Ssaidi@eecs.umich.edu    SimObject('CopyEngine.py')
404486Sbinkertn@umich.edu    SimObject('Device.py')
414486Sbinkertn@umich.edu    SimObject('DiskImage.py')
424486Sbinkertn@umich.edu    SimObject('Ethernet.py')
434486Sbinkertn@umich.edu    SimObject('Ide.py')
444486Sbinkertn@umich.edu    SimObject('Pci.py')
454486Sbinkertn@umich.edu    SimObject('Platform.py')
464486Sbinkertn@umich.edu    SimObject('SimpleDisk.py')
475478Snate@binkert.org    SimObject('Terminal.py')
484486Sbinkertn@umich.edu    SimObject('Uart.py')
494486Sbinkertn@umich.edu
504202Sbinkertn@umich.edu    Source('baddev.cc')
515794Ssaidi@eecs.umich.edu    Source('copy_engine.cc')
524202Sbinkertn@umich.edu    Source('disk_image.cc')
534202Sbinkertn@umich.edu    Source('etherbus.cc')
545485Snate@binkert.org    Source('etherdevice.cc')
554202Sbinkertn@umich.edu    Source('etherdump.cc')
564202Sbinkertn@umich.edu    Source('etherint.cc')
574202Sbinkertn@umich.edu    Source('etherlink.cc')
584202Sbinkertn@umich.edu    Source('etherpkt.cc')
594762Snate@binkert.org    Source('ethertap.cc')
604218Ssaidi@eecs.umich.edu    Source('i8254xGBe.cc')
614202Sbinkertn@umich.edu    Source('ide_ctrl.cc')
624202Sbinkertn@umich.edu    Source('ide_disk.cc')
635443Sgblack@eecs.umich.edu    Source('intel_8254_timer.cc')
644202Sbinkertn@umich.edu    Source('io_device.cc')
654202Sbinkertn@umich.edu    Source('isa_fake.cc')
665392Sgblack@eecs.umich.edu    Source('mc146818.cc')
674202Sbinkertn@umich.edu    Source('ns_gige.cc')
684202Sbinkertn@umich.edu    Source('pciconfigall.cc')
694202Sbinkertn@umich.edu    Source('pcidev.cc')
704202Sbinkertn@umich.edu    Source('pktfifo.cc')
714202Sbinkertn@umich.edu    Source('platform.cc')
724202Sbinkertn@umich.edu    Source('simple_disk.cc')
734762Snate@binkert.org    Source('sinic.cc')
745478Snate@binkert.org    Source('terminal.cc')
754202Sbinkertn@umich.edu    Source('uart.cc')
764202Sbinkertn@umich.edu    Source('uart8250.cc')
775192Ssaidi@eecs.umich.edu
785192Ssaidi@eecs.umich.edu    TraceFlag('DiskImageRead')
795192Ssaidi@eecs.umich.edu    TraceFlag('DiskImageWrite')
805192Ssaidi@eecs.umich.edu    TraceFlag('DMA')
815794Ssaidi@eecs.umich.edu    TraceFlag('DMACopyEngine')
825192Ssaidi@eecs.umich.edu    TraceFlag('Ethernet')
835192Ssaidi@eecs.umich.edu    TraceFlag('EthernetCksum')
845192Ssaidi@eecs.umich.edu    TraceFlag('EthernetDMA')
855192Ssaidi@eecs.umich.edu    TraceFlag('EthernetData')
865192Ssaidi@eecs.umich.edu    TraceFlag('EthernetDesc')
875192Ssaidi@eecs.umich.edu    TraceFlag('EthernetEEPROM')
885192Ssaidi@eecs.umich.edu    TraceFlag('EthernetIntr')
895192Ssaidi@eecs.umich.edu    TraceFlag('EthernetPIO')
905192Ssaidi@eecs.umich.edu    TraceFlag('EthernetSM')
915192Ssaidi@eecs.umich.edu    TraceFlag('IdeCtrl')
925192Ssaidi@eecs.umich.edu    TraceFlag('IdeDisk')
935443Sgblack@eecs.umich.edu    TraceFlag('Intel8254Timer')
945192Ssaidi@eecs.umich.edu    TraceFlag('IsaFake')
955392Sgblack@eecs.umich.edu    TraceFlag('MC146818')
965192Ssaidi@eecs.umich.edu    TraceFlag('PCIDEV')
975192Ssaidi@eecs.umich.edu    TraceFlag('PciConfigAll')
985192Ssaidi@eecs.umich.edu    TraceFlag('SimpleDisk')
995192Ssaidi@eecs.umich.edu    TraceFlag('SimpleDiskData')
1005478Snate@binkert.org    TraceFlag('Terminal')
1015478Snate@binkert.org    TraceFlag('TerminalVerbose')
1025192Ssaidi@eecs.umich.edu    TraceFlag('Uart')
1035192Ssaidi@eecs.umich.edu
1045192Ssaidi@eecs.umich.edu    CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ])
1055192Ssaidi@eecs.umich.edu    CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA',
1065192Ssaidi@eecs.umich.edu        'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM',
1075763Ssaidi@eecs.umich.edu        'EthernetCksum', 'EthernetEEPROM' ])
1085192Ssaidi@eecs.umich.edu    CompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc',
1095192Ssaidi@eecs.umich.edu        'EthernetIntr', 'EthernetSM', 'EthernetCksum' ])
1105192Ssaidi@eecs.umich.edu    CompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ])
1115192Ssaidi@eecs.umich.edu
112