SConscript revision 9243
15612Sgblack@eecs.umich.edu# -*- mode:python -*- 25612Sgblack@eecs.umich.edu 35612Sgblack@eecs.umich.edu# Copyright (c) 2004-2005 The Regents of The University of Michigan 45612Sgblack@eecs.umich.edu# All rights reserved. 55612Sgblack@eecs.umich.edu# 67087Snate@binkert.org# Redistribution and use in source and binary forms, with or without 77087Snate@binkert.org# modification, are permitted provided that the following conditions are 87087Snate@binkert.org# met: redistributions of source code must retain the above copyright 97087Snate@binkert.org# notice, this list of conditions and the following disclaimer; 107087Snate@binkert.org# redistributions in binary form must reproduce the above copyright 117087Snate@binkert.org# notice, this list of conditions and the following disclaimer in the 127087Snate@binkert.org# documentation and/or other materials provided with the distribution; 137087Snate@binkert.org# neither the name of the copyright holders nor the names of its 145612Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 157087Snate@binkert.org# this software without specific prior written permission. 167087Snate@binkert.org# 177087Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 187087Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 197087Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 207087Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 217087Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 227087Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 235612Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 247087Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 255612Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 265612Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 275612Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 285612Sgblack@eecs.umich.edu# 295612Sgblack@eecs.umich.edu# Authors: Gabe Black 305612Sgblack@eecs.umich.edu# Steve Reinhardt 315612Sgblack@eecs.umich.edu 325612Sgblack@eecs.umich.eduImport('*') 335612Sgblack@eecs.umich.edu 345612Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'alpha': 355612Sgblack@eecs.umich.edu Source('decoder.cc') 365612Sgblack@eecs.umich.edu Source('ev5.cc') 375612Sgblack@eecs.umich.edu Source('faults.cc') 385612Sgblack@eecs.umich.edu Source('freebsd/system.cc') 395612Sgblack@eecs.umich.edu Source('idle_event.cc') 405612Sgblack@eecs.umich.edu Source('interrupts.cc') 415612Sgblack@eecs.umich.edu Source('ipr.cc') 425612Sgblack@eecs.umich.edu Source('isa.cc') 435612Sgblack@eecs.umich.edu Source('kernel_stats.cc') 445614Sgblack@eecs.umich.edu Source('linux/linux.cc') 455614Sgblack@eecs.umich.edu Source('linux/process.cc') 465612Sgblack@eecs.umich.edu Source('linux/system.cc') 475612Sgblack@eecs.umich.edu Source('osfpal.cc') 485612Sgblack@eecs.umich.edu Source('pagetable.cc') 495614Sgblack@eecs.umich.edu Source('process.cc') 505615Sgblack@eecs.umich.edu Source('regredir.cc') 515612Sgblack@eecs.umich.edu Source('remote_gdb.cc') 525625Sgblack@eecs.umich.edu Source('stacktrace.cc') 535625Sgblack@eecs.umich.edu Source('system.cc') 545625Sgblack@eecs.umich.edu Source('tlb.cc') 555625Sgblack@eecs.umich.edu Source('tru64/process.cc') 565627Sgblack@eecs.umich.edu Source('tru64/system.cc') 575627Sgblack@eecs.umich.edu Source('tru64/tru64.cc') 585627Sgblack@eecs.umich.edu Source('utility.cc') 595627Sgblack@eecs.umich.edu Source('vtophys.cc') 60 61 SimObject('AlphaInterrupts.py') 62 SimObject('AlphaSystem.py') 63 SimObject('AlphaTLB.py') 64 65 66 # Add in files generated by the ISA description. 67 isa_desc_files = env.ISADesc('isa/main.isa') 68 # Only non-header files need to be compiled. 69 for f in isa_desc_files: 70 if not f.path.endswith('.hh'): 71 Source(f) 72