SConscript revision 5485:840f91d062a9
12086SN/A# -*- mode:python -*-
22086SN/A
32086SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42086SN/A# All rights reserved.
52086SN/A#
62086SN/A# Redistribution and use in source and binary forms, with or without
72086SN/A# modification, are permitted provided that the following conditions are
82086SN/A# met: redistributions of source code must retain the above copyright
92086SN/A# notice, this list of conditions and the following disclaimer;
102086SN/A# redistributions in binary form must reproduce the above copyright
112086SN/A# notice, this list of conditions and the following disclaimer in the
122086SN/A# documentation and/or other materials provided with the distribution;
132086SN/A# neither the name of the copyright holders nor the names of its
142086SN/A# contributors may be used to endorse or promote products derived from
152086SN/A# this software without specific prior written permission.
162086SN/A#
172086SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182086SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192086SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202086SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212086SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222086SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232086SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242086SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252086SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262086SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272086SN/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
312086SN/A
324202Sbinkertn@umich.eduImport('*')
332086SN/A
344202Sbinkertn@umich.eduif env['FULL_SYSTEM']:
354202Sbinkertn@umich.edu    SimObject('BadDevice.py')
369022Sgblack@eecs.umich.edu    SimObject('Device.py')
374202Sbinkertn@umich.edu    SimObject('DiskImage.py')
388745Sgblack@eecs.umich.edu    SimObject('Ethernet.py')
396313Sgblack@eecs.umich.edu    SimObject('Ide.py')
408778Sgblack@eecs.umich.edu    SimObject('Pci.py')
418778Sgblack@eecs.umich.edu    SimObject('Platform.py')
428778Sgblack@eecs.umich.edu    SimObject('SimpleDisk.py')
436365Sgblack@eecs.umich.edu    SimObject('Terminal.py')
444997Sgblack@eecs.umich.edu    SimObject('Uart.py')
458778Sgblack@eecs.umich.edu
464202Sbinkertn@umich.edu    Source('baddev.cc')
478778Sgblack@eecs.umich.edu    Source('disk_image.cc')
488778Sgblack@eecs.umich.edu    Source('etherbus.cc')
498778Sgblack@eecs.umich.edu    Source('etherdevice.cc')
504997Sgblack@eecs.umich.edu    Source('etherdump.cc')
518747Sgblack@eecs.umich.edu    Source('etherint.cc')
524826Ssaidi@eecs.umich.edu    Source('etherlink.cc')
538760Sgblack@eecs.umich.edu    Source('etherpkt.cc')
542086SN/A    Source('ethertap.cc')
558745Sgblack@eecs.umich.edu    Source('i8254xGBe.cc')
569384SAndreas.Sandberg@arm.com    Source('ide_ctrl.cc')
576365Sgblack@eecs.umich.edu    Source('ide_disk.cc')
588778Sgblack@eecs.umich.edu    Source('intel_8254_timer.cc')
598745Sgblack@eecs.umich.edu    Source('io_device.cc')
606365Sgblack@eecs.umich.edu    Source('isa_fake.cc')
618335Snate@binkert.org    Source('mc146818.cc')
628335Snate@binkert.org    Source('ns_gige.cc')
634997Sgblack@eecs.umich.edu    Source('pciconfigall.cc')
6412222Sgabeblack@google.com    Source('pcidev.cc')
65    Source('pktfifo.cc')
66    Source('platform.cc')
67    Source('simple_disk.cc')
68    Source('sinic.cc')
69    Source('terminal.cc')
70    Source('uart.cc')
71    Source('uart8250.cc')
72
73    TraceFlag('DiskImageRead')
74    TraceFlag('DiskImageWrite')
75    TraceFlag('DMA')
76    TraceFlag('Ethernet')
77    TraceFlag('EthernetCksum')
78    TraceFlag('EthernetDMA')
79    TraceFlag('EthernetData')
80    TraceFlag('EthernetDesc')
81    TraceFlag('EthernetEEPROM')
82    TraceFlag('EthernetIntr')
83    TraceFlag('EthernetPIO')
84    TraceFlag('EthernetSM')
85    TraceFlag('IdeCtrl')
86    TraceFlag('IdeDisk')
87    TraceFlag('Intel8254Timer')
88    TraceFlag('IsaFake')
89    TraceFlag('MC146818')
90    TraceFlag('PCIDEV')
91    TraceFlag('PciConfigAll')
92    TraceFlag('SimpleDisk')
93    TraceFlag('SimpleDiskData')
94    TraceFlag('Terminal')
95    TraceFlag('TerminalVerbose')
96    TraceFlag('Uart')
97
98    CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ])
99    CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA',
100        'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM',
101        'EthernetCksum' ])
102    CompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc',
103        'EthernetIntr', 'EthernetSM', 'EthernetCksum' ])
104    CompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ])
105
106