SConscript revision 10839
19397Sandreas.hansson@arm.com# -*- mode:python -*- 29397Sandreas.hansson@arm.com 39397Sandreas.hansson@arm.com# Copyright (c) 2004-2006 The Regents of The University of Michigan 49397Sandreas.hansson@arm.com# All rights reserved. 59397Sandreas.hansson@arm.com# 69397Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without 79397Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are 89397Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright 99397Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer; 109397Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright 119397Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the 129397Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution; 139397Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its 149397Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from 159397Sandreas.hansson@arm.com# this software without specific prior written permission. 169397Sandreas.hansson@arm.com# 179397Sandreas.hansson@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 189397Sandreas.hansson@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 199397Sandreas.hansson@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 209397Sandreas.hansson@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 219397Sandreas.hansson@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 229397Sandreas.hansson@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 239397Sandreas.hansson@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 249397Sandreas.hansson@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 259397Sandreas.hansson@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 269397Sandreas.hansson@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 279397Sandreas.hansson@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 289397Sandreas.hansson@arm.com# 299397Sandreas.hansson@arm.com# Authors: Gabe Black 309397Sandreas.hansson@arm.com# Steve Reinhardt 319397Sandreas.hansson@arm.com# Korey Sewell 329397Sandreas.hansson@arm.com 339397Sandreas.hansson@arm.comImport('*') 349397Sandreas.hansson@arm.com 359397Sandreas.hansson@arm.comif env['TARGET_ISA'] == 'mips': 369397Sandreas.hansson@arm.com Source('bare_iron/system.cc') 379397Sandreas.hansson@arm.com Source('decoder.cc') 389397Sandreas.hansson@arm.com Source('dsp.cc') 399397Sandreas.hansson@arm.com Source('faults.cc') 409397Sandreas.hansson@arm.com Source('idle_event.cc') 419397Sandreas.hansson@arm.com Source('interrupts.cc') 429397Sandreas.hansson@arm.com Source('isa.cc') 439397Sandreas.hansson@arm.com Source('linux/linux.cc') 449398Sandreas.hansson@arm.com Source('linux/process.cc') 459397Sandreas.hansson@arm.com Source('linux/system.cc') 46 Source('pagetable.cc') 47 Source('process.cc') 48 Source('remote_gdb.cc') 49 Source('stacktrace.cc') 50 Source('system.cc') 51 Source('tlb.cc') 52 Source('utility.cc') 53 Source('vtophys.cc') 54 55 SimObject('MipsInterrupts.py') 56 SimObject('MipsISA.py') 57 SimObject('MipsSystem.py') 58 SimObject('MipsTLB.py') 59 60 DebugFlag('MipsPRA') 61 62 env.ISADesc('isa/main.isa') 63