SConscript revision 5337
1955SN/A# -*- mode:python -*- 2955SN/A 31762SN/A# Copyright (c) 2004-2005 The Regents of The University of Michigan 4955SN/A# All rights reserved. 5955SN/A# 6955SN/A# Redistribution and use in source and binary forms, with or without 7955SN/A# modification, are permitted provided that the following conditions are 8955SN/A# met: redistributions of source code must retain the above copyright 9955SN/A# notice, this list of conditions and the following disclaimer; 10955SN/A# redistributions in binary form must reproduce the above copyright 11955SN/A# notice, this list of conditions and the following disclaimer in the 12955SN/A# documentation and/or other materials provided with the distribution; 13955SN/A# neither the name of the copyright holders nor the names of its 14955SN/A# contributors may be used to endorse or promote products derived from 15955SN/A# this software without specific prior written permission. 16955SN/A# 17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Gabe Black 30955SN/A# Steve Reinhardt 31955SN/A 32955SN/AImport('*') 33955SN/A 34955SN/Aif env['TARGET_ISA'] == 'alpha': 352632Sstever@eecs.umich.edu Source('ev5.cc') 362632Sstever@eecs.umich.edu Source('faults.cc') 372632Sstever@eecs.umich.edu Source('floatregfile.cc') 382632Sstever@eecs.umich.edu Source('intregfile.cc') 39955SN/A Source('ipr.cc') 402632Sstever@eecs.umich.edu Source('miscregfile.cc') 412632Sstever@eecs.umich.edu Source('pagetable.cc') 422761Sstever@eecs.umich.edu Source('regfile.cc') 432632Sstever@eecs.umich.edu Source('remote_gdb.cc') 442632Sstever@eecs.umich.edu Source('tlb.cc') 452632Sstever@eecs.umich.edu Source('utility.cc') 462761Sstever@eecs.umich.edu 472761Sstever@eecs.umich.edu SimObject('AlphaTLB.py') 482761Sstever@eecs.umich.edu 492632Sstever@eecs.umich.edu if env['FULL_SYSTEM']: 502632Sstever@eecs.umich.edu SimObject('AlphaSystem.py') 512761Sstever@eecs.umich.edu 522761Sstever@eecs.umich.edu Source('idle_event.cc') 532761Sstever@eecs.umich.edu Source('kernel_stats.cc') 542761Sstever@eecs.umich.edu Source('osfpal.cc') 552761Sstever@eecs.umich.edu Source('stacktrace.cc') 562632Sstever@eecs.umich.edu Source('system.cc') 572632Sstever@eecs.umich.edu Source('vtophys.cc') 582632Sstever@eecs.umich.edu 592632Sstever@eecs.umich.edu Source('freebsd/system.cc') 602632Sstever@eecs.umich.edu Source('linux/system.cc') 612632Sstever@eecs.umich.edu Source('tru64/system.cc') 622632Sstever@eecs.umich.edu 63955SN/A else: 64955SN/A Source('process.cc') 65955SN/A 66955SN/A Source('linux/linux.cc') 67955SN/A Source('linux/process.cc') 685396Ssaidi@eecs.umich.edu 694202Sbinkertn@umich.edu Source('tru64/tru64.cc') 705342Sstever@gmail.com Source('tru64/process.cc') 71955SN/A 725273Sstever@gmail.com # Add in files generated by the ISA description. 735273Sstever@gmail.com isa_desc_files = env.ISADesc('isa/main.isa') 742656Sstever@eecs.umich.edu # Only non-header files need to be compiled. 752656Sstever@eecs.umich.edu for f in isa_desc_files: 762656Sstever@eecs.umich.edu if not f.path.endswith('.hh'): 772656Sstever@eecs.umich.edu Source(f) 782656Sstever@eecs.umich.edu