SConscript revision 8780
12023SN/A# -*- mode:python -*- 22023SN/A 32023SN/A# Copyright (c) 2004-2005 The Regents of The University of Michigan 42023SN/A# All rights reserved. 52023SN/A# 62023SN/A# Redistribution and use in source and binary forms, with or without 72023SN/A# modification, are permitted provided that the following conditions are 82023SN/A# met: redistributions of source code must retain the above copyright 92023SN/A# notice, this list of conditions and the following disclaimer; 102023SN/A# redistributions in binary form must reproduce the above copyright 112023SN/A# notice, this list of conditions and the following disclaimer in the 122023SN/A# documentation and/or other materials provided with the distribution; 132023SN/A# neither the name of the copyright holders nor the names of its 142023SN/A# contributors may be used to endorse or promote products derived from 152023SN/A# this software without specific prior written permission. 162023SN/A# 172023SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182023SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192023SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202023SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212023SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222023SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232023SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242023SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252023SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262023SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272023SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Gabe Black 302665Ssaidi@eecs.umich.edu# Steve Reinhardt 312023SN/A 322023SN/AImport('*') 332023SN/A 342023SN/Aif env['TARGET_ISA'] == 'alpha': 352023SN/A Source('ev5.cc') 362023SN/A Source('faults.cc') 372023SN/A Source('freebsd/system.cc') 382023SN/A Source('idle_event.cc') 392023SN/A Source('interrupts.cc') 402023SN/A Source('ipr.cc') 412023SN/A Source('isa.cc') 422023SN/A Source('kernel_stats.cc') 432023SN/A Source('linux/linux.cc') 442023SN/A Source('linux/process.cc') 452023SN/A Source('linux/system.cc') 462023SN/A Source('osfpal.cc') 472023SN/A Source('pagetable.cc') 482023SN/A Source('process.cc') 492152SN/A Source('regredir.cc') 502152SN/A Source('remote_gdb.cc') 512152SN/A Source('stacktrace.cc') 522023SN/A Source('system.cc') 532023SN/A Source('tlb.cc') 542023SN/A Source('tru64/process.cc') 552152SN/A Source('tru64/system.cc') 562171SN/A Source('tru64/tru64.cc') 572152SN/A Source('utility.cc') 582152SN/A Source('vtophys.cc') 592152SN/A 602152SN/A SimObject('AlphaInterrupts.py') 612152SN/A SimObject('AlphaSystem.py') 622221SN/A SimObject('AlphaTLB.py') 632221SN/A 642221SN/A 652221SN/A # Add in files generated by the ISA description. 662023SN/A isa_desc_files = env.ISADesc('isa/main.isa') 672023SN/A # Only non-header files need to be compiled. 682023SN/A for f in isa_desc_files: 692023SN/A if not f.path.endswith('.hh'): 702152SN/A Source(f) 712553SN/A