SConscript revision 9022:bb25e7646c41
12089SN/A# -*- mode:python -*- 22089SN/A 35268Sksewell@umich.edu# Copyright (c) 2004-2005 The Regents of The University of Michigan 45268Sksewell@umich.edu# All rights reserved. 55268Sksewell@umich.edu# 65268Sksewell@umich.edu# Redistribution and use in source and binary forms, with or without 75268Sksewell@umich.edu# modification, are permitted provided that the following conditions are 85268Sksewell@umich.edu# met: redistributions of source code must retain the above copyright 95268Sksewell@umich.edu# notice, this list of conditions and the following disclaimer; 105268Sksewell@umich.edu# redistributions in binary form must reproduce the above copyright 115268Sksewell@umich.edu# notice, this list of conditions and the following disclaimer in the 125268Sksewell@umich.edu# documentation and/or other materials provided with the distribution; 135268Sksewell@umich.edu# neither the name of the copyright holders nor the names of its 145268Sksewell@umich.edu# contributors may be used to endorse or promote products derived from 155268Sksewell@umich.edu# this software without specific prior written permission. 165268Sksewell@umich.edu# 175268Sksewell@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 185268Sksewell@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 195268Sksewell@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 205268Sksewell@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 215268Sksewell@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 225268Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 235268Sksewell@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 245268Sksewell@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 255268Sksewell@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 265268Sksewell@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 275268Sksewell@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 285268Sksewell@umich.edu# 295268Sksewell@umich.edu# Authors: Gabe Black 302706Sksewell@umich.edu# Steve Reinhardt 312022SN/A 322022SN/AImport('*') 332022SN/A 342022SN/Aif env['TARGET_ISA'] == 'alpha': 352022SN/A Source('decoder.cc') 362239SN/A Source('ev5.cc') 374661Sksewell@umich.edu Source('faults.cc') 382022SN/A Source('freebsd/system.cc') 392022SN/A Source('idle_event.cc') 402022SN/A Source('interrupts.cc') 412041SN/A Source('ipr.cc') 422022SN/A Source('isa.cc') 432022SN/A Source('kernel_stats.cc') 442022SN/A Source('linux/linux.cc') 452022SN/A Source('linux/process.cc') 462089SN/A Source('linux/system.cc') 472044SN/A Source('osfpal.cc') 482044SN/A Source('pagetable.cc') 492044SN/A Source('process.cc') 502044SN/A Source('regredir.cc') 512044SN/A Source('remote_gdb.cc') 522044SN/A Source('stacktrace.cc') 532044SN/A Source('system.cc') 542686Sksewell@umich.edu Source('tlb.cc') 552686Sksewell@umich.edu Source('tru64/process.cc') 562686Sksewell@umich.edu Source('tru64/system.cc') 572686Sksewell@umich.edu Source('tru64/tru64.cc') 582686Sksewell@umich.edu Source('utility.cc') 592686Sksewell@umich.edu Source('vtophys.cc') 602686Sksewell@umich.edu 612686Sksewell@umich.edu SimObject('AlphaInterrupts.py') 622686Sksewell@umich.edu SimObject('AlphaSystem.py') 632686Sksewell@umich.edu SimObject('AlphaTLB.py') 642686Sksewell@umich.edu 652686Sksewell@umich.edu 662686Sksewell@umich.edu # Add in files generated by the ISA description. 672686Sksewell@umich.edu isa_desc_files = env.ISADesc('isa/main.isa') 684661Sksewell@umich.edu # Only non-header files need to be compiled. 692686Sksewell@umich.edu for f in isa_desc_files: 702686Sksewell@umich.edu if not f.path.endswith('.hh'): 712686Sksewell@umich.edu Source(f) 722686Sksewell@umich.edu