SConscript revision 10801
112027Sjungma@eit.uni-kl.de# -*- mode:python -*- 212027Sjungma@eit.uni-kl.de 312027Sjungma@eit.uni-kl.de# Copyright (c) 2009, 2012-2013 ARM Limited 412027Sjungma@eit.uni-kl.de# All rights reserved. 512027Sjungma@eit.uni-kl.de# 612027Sjungma@eit.uni-kl.de# The license below extends only to copyright in the software and shall 712027Sjungma@eit.uni-kl.de# not be construed as granting a license to any other intellectual 812027Sjungma@eit.uni-kl.de# property including but not limited to intellectual property relating 912027Sjungma@eit.uni-kl.de# to a hardware implementation of the functionality of the software 1012027Sjungma@eit.uni-kl.de# licensed hereunder. You may use the software subject to the license 1112027Sjungma@eit.uni-kl.de# terms below provided that you ensure that this notice is replicated 1212027Sjungma@eit.uni-kl.de# unmodified and in its entirety in all distributions of the software, 1312027Sjungma@eit.uni-kl.de# modified or unmodified, in source code or in binary form. 1412027Sjungma@eit.uni-kl.de# 1512027Sjungma@eit.uni-kl.de# Copyright (c) 2007-2008 The Florida State University 1612027Sjungma@eit.uni-kl.de# All rights reserved. 1712027Sjungma@eit.uni-kl.de# 1812027Sjungma@eit.uni-kl.de# Redistribution and use in source and binary forms, with or without 1912027Sjungma@eit.uni-kl.de# modification, are permitted provided that the following conditions are 2012027Sjungma@eit.uni-kl.de# met: redistributions of source code must retain the above copyright 2112027Sjungma@eit.uni-kl.de# notice, this list of conditions and the following disclaimer; 2212027Sjungma@eit.uni-kl.de# redistributions in binary form must reproduce the above copyright 2312027Sjungma@eit.uni-kl.de# notice, this list of conditions and the following disclaimer in the 2412027Sjungma@eit.uni-kl.de# documentation and/or other materials provided with the distribution; 2512027Sjungma@eit.uni-kl.de# neither the name of the copyright holders nor the names of its 2612027Sjungma@eit.uni-kl.de# contributors may be used to endorse or promote products derived from 2712027Sjungma@eit.uni-kl.de# this software without specific prior written permission. 2812027Sjungma@eit.uni-kl.de# 2912027Sjungma@eit.uni-kl.de# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 3012027Sjungma@eit.uni-kl.de# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3112027Sjungma@eit.uni-kl.de# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 3212027Sjungma@eit.uni-kl.de# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3312027Sjungma@eit.uni-kl.de# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3412027Sjungma@eit.uni-kl.de# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3512027Sjungma@eit.uni-kl.de# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3612027Sjungma@eit.uni-kl.de# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3712027Sjungma@eit.uni-kl.de# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3812027Sjungma@eit.uni-kl.de# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3912027Sjungma@eit.uni-kl.de# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 4012027Sjungma@eit.uni-kl.de# 4112027Sjungma@eit.uni-kl.de# Authors: Stephen Hines 4212027Sjungma@eit.uni-kl.de# Ali Saidi 4312027Sjungma@eit.uni-kl.de 4412027Sjungma@eit.uni-kl.deImport('*') 4512027Sjungma@eit.uni-kl.de 4612027Sjungma@eit.uni-kl.deif env['TARGET_ISA'] == 'arm': 4712027Sjungma@eit.uni-kl.de# Workaround for bug in SCons version > 0.97d20071212 4812027Sjungma@eit.uni-kl.de# Scons bug id: 2006 M5 Bug id: 308 4912027Sjungma@eit.uni-kl.de Dir('isa/formats') 5012027Sjungma@eit.uni-kl.de Source('decoder.cc') 5112027Sjungma@eit.uni-kl.de Source('faults.cc') 5212027Sjungma@eit.uni-kl.de Source('insts/branch64.cc') 5312027Sjungma@eit.uni-kl.de Source('insts/data64.cc') 5412027Sjungma@eit.uni-kl.de Source('insts/macromem.cc') 5512027Sjungma@eit.uni-kl.de Source('insts/mem.cc') 5612027Sjungma@eit.uni-kl.de Source('insts/mem64.cc') 5712027Sjungma@eit.uni-kl.de Source('insts/misc.cc') 5812027Sjungma@eit.uni-kl.de Source('insts/misc64.cc') 5912027Sjungma@eit.uni-kl.de Source('insts/pred_inst.cc') 6012027Sjungma@eit.uni-kl.de Source('insts/pseudo.cc') 6112027Sjungma@eit.uni-kl.de Source('insts/static_inst.cc') 6212027Sjungma@eit.uni-kl.de Source('insts/vfp.cc') 6312027Sjungma@eit.uni-kl.de Source('insts/fplib.cc') 6412027Sjungma@eit.uni-kl.de Source('interrupts.cc') 6512027Sjungma@eit.uni-kl.de Source('isa.cc') 6612027Sjungma@eit.uni-kl.de Source('isa_device.cc') 6712027Sjungma@eit.uni-kl.de Source('linux/linux.cc') 6812027Sjungma@eit.uni-kl.de Source('linux/process.cc') 6912027Sjungma@eit.uni-kl.de Source('linux/system.cc') 7012027Sjungma@eit.uni-kl.de Source('miscregs.cc') 7112027Sjungma@eit.uni-kl.de Source('nativetrace.cc') 7212027Sjungma@eit.uni-kl.de Source('pmu.cc') 7312027Sjungma@eit.uni-kl.de Source('process.cc') 7412027Sjungma@eit.uni-kl.de Source('remote_gdb.cc') 7512027Sjungma@eit.uni-kl.de Source('stacktrace.cc') 7612027Sjungma@eit.uni-kl.de Source('system.cc') 7712027Sjungma@eit.uni-kl.de Source('table_walker.cc') 7812027Sjungma@eit.uni-kl.de Source('stage2_mmu.cc') 7912027Sjungma@eit.uni-kl.de Source('stage2_lookup.cc') 8012027Sjungma@eit.uni-kl.de Source('tlb.cc') 8112027Sjungma@eit.uni-kl.de Source('utility.cc') 8212027Sjungma@eit.uni-kl.de Source('vtophys.cc') 8312027Sjungma@eit.uni-kl.de 8412027Sjungma@eit.uni-kl.de SimObject('ArmInterrupts.py') 8512027Sjungma@eit.uni-kl.de SimObject('ArmISA.py') 8612027Sjungma@eit.uni-kl.de SimObject('ArmNativeTrace.py') 8712027Sjungma@eit.uni-kl.de SimObject('ArmSystem.py') 8812027Sjungma@eit.uni-kl.de SimObject('ArmTLB.py') 8912027Sjungma@eit.uni-kl.de SimObject('ArmPMU.py') 9012027Sjungma@eit.uni-kl.de 9112027Sjungma@eit.uni-kl.de DebugFlag('Arm') 9212027Sjungma@eit.uni-kl.de DebugFlag('Decoder', "Instructions returned by the predecoder") 9312027Sjungma@eit.uni-kl.de DebugFlag('Faults', "Trace Exceptions, interrupts, svc/swi") 94 DebugFlag('PMUVerbose', "Performance Monitor") 95 DebugFlag('TLBVerbose') 96 97 # Add files generated by the ISA description. 98 env.ISADesc('isa/main.isa') 99