SConscript revision 11765
112150Sgabor.dozsa@arm.com# -*- mode:python -*- 212150Sgabor.dozsa@arm.com 312150Sgabor.dozsa@arm.com# Copyright (c) 2006 The Regents of The University of Michigan 412150Sgabor.dozsa@arm.com# All rights reserved. 512150Sgabor.dozsa@arm.com# 612150Sgabor.dozsa@arm.com# Redistribution and use in source and binary forms, with or without 712150Sgabor.dozsa@arm.com# modification, are permitted provided that the following conditions are 812150Sgabor.dozsa@arm.com# met: redistributions of source code must retain the above copyright 912150Sgabor.dozsa@arm.com# notice, this list of conditions and the following disclaimer; 1012150Sgabor.dozsa@arm.com# redistributions in binary form must reproduce the above copyright 1112150Sgabor.dozsa@arm.com# notice, this list of conditions and the following disclaimer in the 1212150Sgabor.dozsa@arm.com# documentation and/or other materials provided with the distribution; 1312150Sgabor.dozsa@arm.com# neither the name of the copyright holders nor the names of its 1412150Sgabor.dozsa@arm.com# contributors may be used to endorse or promote products derived from 1512150Sgabor.dozsa@arm.com# this software without specific prior written permission. 1612150Sgabor.dozsa@arm.com# 1712150Sgabor.dozsa@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1812150Sgabor.dozsa@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1912150Sgabor.dozsa@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2012150Sgabor.dozsa@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2112150Sgabor.dozsa@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2212150Sgabor.dozsa@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2312150Sgabor.dozsa@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2412150Sgabor.dozsa@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2512150Sgabor.dozsa@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2612150Sgabor.dozsa@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2712150Sgabor.dozsa@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2812150Sgabor.dozsa@arm.com# 2912150Sgabor.dozsa@arm.com# Authors: Steve Reinhardt 3012150Sgabor.dozsa@arm.com# Gabe Black 3112150Sgabor.dozsa@arm.com 3212150Sgabor.dozsa@arm.comImport('*') 3312150Sgabor.dozsa@arm.com 3412150Sgabor.dozsa@arm.comSimObject('Device.py') 3512150Sgabor.dozsa@arm.comSource('io_device.cc') 3612150Sgabor.dozsa@arm.comSource('isa_fake.cc') 3712150Sgabor.dozsa@arm.comSource('dma_device.cc') 3812150Sgabor.dozsa@arm.com 3912150Sgabor.dozsa@arm.comDebugFlag('IsaFake') 4012150Sgabor.dozsa@arm.comDebugFlag('DMA') 4112150Sgabor.dozsa@arm.com 4212150Sgabor.dozsa@arm.comif env['TARGET_ISA'] == 'null': 4312150Sgabor.dozsa@arm.com Return() 4412150Sgabor.dozsa@arm.com 4512150Sgabor.dozsa@arm.comSimObject('BadDevice.py') 4612564Sgabeblack@google.comSimObject('Platform.py') 4713774Sandreas.sandberg@arm.comSimObject('Terminal.py') 4812564Sgabeblack@google.comSimObject('Uart.py') 4912150Sgabor.dozsa@arm.com 5012150Sgabor.dozsa@arm.comSource('baddev.cc') 5112150Sgabor.dozsa@arm.comSource('intel_8254_timer.cc') 5212150Sgabor.dozsa@arm.comSource('mc146818.cc') 5313609Sgiacomo.travaglini@arm.comSource('pixelpump.cc') 5412150Sgabor.dozsa@arm.comSource('platform.cc') 5512150Sgabor.dozsa@arm.comSource('ps2.cc') 5612150Sgabor.dozsa@arm.comSource('terminal.cc') 5712150Sgabor.dozsa@arm.comSource('uart.cc') 5812150Sgabor.dozsa@arm.comSource('uart8250.cc') 5912150Sgabor.dozsa@arm.com 6012150Sgabor.dozsa@arm.comDebugFlag('Intel8254Timer') 6112150Sgabor.dozsa@arm.comDebugFlag('MC146818') 6212150Sgabor.dozsa@arm.comDebugFlag('Terminal') 6312150Sgabor.dozsa@arm.comDebugFlag('TerminalVerbose') 6412150Sgabor.dozsa@arm.comDebugFlag('Uart') 6512150Sgabor.dozsa@arm.com