SConscript revision 8777:dd43f1c9fa0a
14561Sgblack@eecs.umich.edu# -*- mode:python -*- 24561Sgblack@eecs.umich.edu 34561Sgblack@eecs.umich.edu# Copyright (c) 2004-2005 The Regents of The University of Michigan 44561Sgblack@eecs.umich.edu# All rights reserved. 54561Sgblack@eecs.umich.edu# 64561Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 74561Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 84561Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 94561Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 104561Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 114561Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 124561Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 134561Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 144561Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 154561Sgblack@eecs.umich.edu# this software without specific prior written permission. 164561Sgblack@eecs.umich.edu# 174561Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 184561Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 194561Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 204561Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 214561Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 224561Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 234561Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 244561Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 254561Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 264561Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 274561Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 284561Sgblack@eecs.umich.edu# 294561Sgblack@eecs.umich.edu# Authors: Gabe Black 304561Sgblack@eecs.umich.edu# Steve Reinhardt 314561Sgblack@eecs.umich.edu 324561Sgblack@eecs.umich.eduImport('*') 334561Sgblack@eecs.umich.edu 344561Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'alpha': 354561Sgblack@eecs.umich.edu Source('ev5.cc') 364561Sgblack@eecs.umich.edu Source('faults.cc') 374561Sgblack@eecs.umich.edu Source('interrupts.cc') 384561Sgblack@eecs.umich.edu Source('ipr.cc') 394561Sgblack@eecs.umich.edu Source('isa.cc') 404561Sgblack@eecs.umich.edu Source('kernel_stats.cc') 414561Sgblack@eecs.umich.edu Source('osfpal.cc') 424561Sgblack@eecs.umich.edu Source('pagetable.cc') 434561Sgblack@eecs.umich.edu Source('regredir.cc') 444561Sgblack@eecs.umich.edu Source('remote_gdb.cc') 454561Sgblack@eecs.umich.edu Source('stacktrace.cc') 464561Sgblack@eecs.umich.edu Source('tlb.cc') 474561Sgblack@eecs.umich.edu Source('utility.cc') 484561Sgblack@eecs.umich.edu Source('vtophys.cc') 494561Sgblack@eecs.umich.edu 504561Sgblack@eecs.umich.edu SimObject('AlphaInterrupts.py') 514561Sgblack@eecs.umich.edu SimObject('AlphaTLB.py') 524561Sgblack@eecs.umich.edu 534561Sgblack@eecs.umich.edu if env['FULL_SYSTEM']: 544561Sgblack@eecs.umich.edu SimObject('AlphaSystem.py') 554561Sgblack@eecs.umich.edu 564561Sgblack@eecs.umich.edu Source('idle_event.cc') 574561Sgblack@eecs.umich.edu Source('system.cc') 584561Sgblack@eecs.umich.edu 594561Sgblack@eecs.umich.edu Source('freebsd/system.cc') 604561Sgblack@eecs.umich.edu Source('linux/system.cc') 614561Sgblack@eecs.umich.edu Source('tru64/system.cc') 624601Sgblack@eecs.umich.edu 634601Sgblack@eecs.umich.edu else: 644601Sgblack@eecs.umich.edu Source('process.cc') 654601Sgblack@eecs.umich.edu 664601Sgblack@eecs.umich.edu Source('linux/linux.cc') 674601Sgblack@eecs.umich.edu Source('linux/process.cc') 684601Sgblack@eecs.umich.edu 694601Sgblack@eecs.umich.edu Source('tru64/tru64.cc') 704601Sgblack@eecs.umich.edu Source('tru64/process.cc') 714601Sgblack@eecs.umich.edu 724601Sgblack@eecs.umich.edu # Add in files generated by the ISA description. 734601Sgblack@eecs.umich.edu isa_desc_files = env.ISADesc('isa/main.isa') 744601Sgblack@eecs.umich.edu # Only non-header files need to be compiled. 754601Sgblack@eecs.umich.edu for f in isa_desc_files: 764601Sgblack@eecs.umich.edu if not f.path.endswith('.hh'): 774601Sgblack@eecs.umich.edu Source(f) 784601Sgblack@eecs.umich.edu