SConscript revision 8755:a9934545489d
16145SN/A# -*- mode:python -*- 26145SN/A 36145SN/A# Copyright (c) 2004-2005 The Regents of The University of Michigan 46145SN/A# All rights reserved. 56145SN/A# 66145SN/A# Redistribution and use in source and binary forms, with or without 76145SN/A# modification, are permitted provided that the following conditions are 86145SN/A# met: redistributions of source code must retain the above copyright 96145SN/A# notice, this list of conditions and the following disclaimer; 106145SN/A# redistributions in binary form must reproduce the above copyright 116145SN/A# notice, this list of conditions and the following disclaimer in the 126145SN/A# documentation and/or other materials provided with the distribution; 136145SN/A# neither the name of the copyright holders nor the names of its 146145SN/A# contributors may be used to endorse or promote products derived from 156145SN/A# this software without specific prior written permission. 166145SN/A# 176145SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 186145SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 196145SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 206145SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 216145SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 226145SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 236145SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 246145SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 256145SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 266145SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 276145SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 286145SN/A# 2911793Sbrandon.potter@amd.com# Authors: Gabe Black 3011793Sbrandon.potter@amd.com# Steve Reinhardt 317056SN/A 328232SN/AImport('*') 339104SN/A 347039SN/Aif env['TARGET_ISA'] == 'alpha': 3511108Sdavid.hashe@amd.com Source('ev5.cc') 366145SN/A Source('faults.cc') 377055SN/A Source('interrupts.cc') 387055SN/A Source('ipr.cc') 396285SN/A Source('isa.cc') 406285SN/A Source('pagetable.cc') 417027SN/A Source('regredir.cc') 426285SN/A Source('remote_gdb.cc') 436876SN/A Source('tlb.cc') 446876SN/A Source('utility.cc') 456145SN/A Source('vtophys.cc') 466876SN/A 476903SN/A SimObject('AlphaInterrupts.py') 487056SN/A SimObject('AlphaTLB.py') 497025SN/A 507027SN/A if env['FULL_SYSTEM']: 516285SN/A SimObject('AlphaSystem.py') 526285SN/A 537039SN/A Source('idle_event.cc') 547039SN/A Source('kernel_stats.cc') 556285SN/A Source('osfpal.cc') 567039SN/A Source('stacktrace.cc') 5710520Snilay@cs.wisc.edu Source('system.cc') 5810520Snilay@cs.wisc.edu 5910520Snilay@cs.wisc.edu Source('freebsd/system.cc') 606285SN/A Source('linux/system.cc') 617039SN/A Source('tru64/system.cc') 6210004SN/A 637027SN/A else: 647039SN/A Source('process.cc') 657563SN/A 667039SN/A Source('linux/linux.cc') 677039SN/A Source('linux/process.cc') 686145SN/A 696145SN/A Source('tru64/tru64.cc') 706145SN/A Source('tru64/process.cc') 716145SN/A 727039SN/A # Add in files generated by the ISA description. 7311025Snilay@cs.wisc.edu isa_desc_files = env.ISADesc('isa/main.isa') 7410520Snilay@cs.wisc.edu # Only non-header files need to be compiled. 7510520Snilay@cs.wisc.edu for f in isa_desc_files: 767039SN/A if not f.path.endswith('.hh'): 777039SN/A Source(f) 7810520Snilay@cs.wisc.edu