SConscript revision 8780
112396SRiken.Gohil@arm.com# -*- mode:python -*- 212811Sandreas.sandberg@arm.com 312396SRiken.Gohil@arm.com# Copyright (c) 2004-2005 The Regents of The University of Michigan 412396SRiken.Gohil@arm.com# All rights reserved. 512396SRiken.Gohil@arm.com# 612396SRiken.Gohil@arm.com# Redistribution and use in source and binary forms, with or without 712396SRiken.Gohil@arm.com# modification, are permitted provided that the following conditions are 812396SRiken.Gohil@arm.com# met: redistributions of source code must retain the above copyright 912396SRiken.Gohil@arm.com# notice, this list of conditions and the following disclaimer; 1012396SRiken.Gohil@arm.com# redistributions in binary form must reproduce the above copyright 1112396SRiken.Gohil@arm.com# notice, this list of conditions and the following disclaimer in the 1212396SRiken.Gohil@arm.com# documentation and/or other materials provided with the distribution; 1312396SRiken.Gohil@arm.com# neither the name of the copyright holders nor the names of its 1412396SRiken.Gohil@arm.com# contributors may be used to endorse or promote products derived from 1512396SRiken.Gohil@arm.com# this software without specific prior written permission. 1612396SRiken.Gohil@arm.com# 1712396SRiken.Gohil@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1812396SRiken.Gohil@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1912396SRiken.Gohil@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2012396SRiken.Gohil@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2112396SRiken.Gohil@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2212396SRiken.Gohil@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2312396SRiken.Gohil@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2412396SRiken.Gohil@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2512396SRiken.Gohil@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2612396SRiken.Gohil@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2712396SRiken.Gohil@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2812396SRiken.Gohil@arm.com# 2912396SRiken.Gohil@arm.com# Authors: Gabe Black 3012396SRiken.Gohil@arm.com# Steve Reinhardt 3112396SRiken.Gohil@arm.com 3212396SRiken.Gohil@arm.comImport('*') 3312396SRiken.Gohil@arm.com 3412396SRiken.Gohil@arm.comif env['TARGET_ISA'] == 'alpha': 3512396SRiken.Gohil@arm.com Source('ev5.cc') 3612396SRiken.Gohil@arm.com Source('faults.cc') 3712396SRiken.Gohil@arm.com Source('freebsd/system.cc') 3812396SRiken.Gohil@arm.com Source('idle_event.cc') 3912396SRiken.Gohil@arm.com Source('interrupts.cc') 4012396SRiken.Gohil@arm.com Source('ipr.cc') 4112396SRiken.Gohil@arm.com Source('isa.cc') 4212396SRiken.Gohil@arm.com Source('kernel_stats.cc') 4312396SRiken.Gohil@arm.com Source('linux/linux.cc') 4412396SRiken.Gohil@arm.com Source('linux/process.cc') 4512396SRiken.Gohil@arm.com Source('linux/system.cc') 4612396SRiken.Gohil@arm.com Source('osfpal.cc') 4712396SRiken.Gohil@arm.com Source('pagetable.cc') 4812396SRiken.Gohil@arm.com Source('process.cc') 4912396SRiken.Gohil@arm.com Source('regredir.cc') 5012396SRiken.Gohil@arm.com Source('remote_gdb.cc') 5112396SRiken.Gohil@arm.com Source('stacktrace.cc') 5212396SRiken.Gohil@arm.com Source('system.cc') 5312396SRiken.Gohil@arm.com Source('tlb.cc') 5412396SRiken.Gohil@arm.com Source('tru64/process.cc') 5512396SRiken.Gohil@arm.com Source('tru64/system.cc') 5612396SRiken.Gohil@arm.com Source('tru64/tru64.cc') 5712396SRiken.Gohil@arm.com Source('utility.cc') 5812396SRiken.Gohil@arm.com Source('vtophys.cc') 5912396SRiken.Gohil@arm.com 6012396SRiken.Gohil@arm.com SimObject('AlphaInterrupts.py') 6112396SRiken.Gohil@arm.com SimObject('AlphaSystem.py') 6212396SRiken.Gohil@arm.com SimObject('AlphaTLB.py') 6312396SRiken.Gohil@arm.com 6412396SRiken.Gohil@arm.com 6512396SRiken.Gohil@arm.com # Add in files generated by the ISA description. 6612396SRiken.Gohil@arm.com isa_desc_files = env.ISADesc('isa/main.isa') 6712396SRiken.Gohil@arm.com # Only non-header files need to be compiled. 6812396SRiken.Gohil@arm.com for f in isa_desc_files: 6912396SRiken.Gohil@arm.com if not f.path.endswith('.hh'): 7012844Sgiacomo.travaglini@arm.com Source(f) 7112844Sgiacomo.travaglini@arm.com