SConscript revision 11856
12155SN/A# -*- mode:python -*- 22155SN/A 32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42155SN/A# All rights reserved. 52155SN/A# 62155SN/A# Redistribution and use in source and binary forms, with or without 72155SN/A# modification, are permitted provided that the following conditions are 82155SN/A# met: redistributions of source code must retain the above copyright 92155SN/A# notice, this list of conditions and the following disclaimer; 102155SN/A# redistributions in binary form must reproduce the above copyright 112155SN/A# notice, this list of conditions and the following disclaimer in the 122155SN/A# documentation and/or other materials provided with the distribution; 132155SN/A# neither the name of the copyright holders nor the names of its 142155SN/A# contributors may be used to endorse or promote products derived from 152155SN/A# this software without specific prior written permission. 162155SN/A# 172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert 302155SN/A 314202Sbinkertn@umich.eduImport('*') 322155SN/A 3313898Sgabeblack@google.comSimObject('ClockedObject.py') 3413898Sgabeblack@google.comSimObject('TickedObject.py') 3513898Sgabeblack@google.comSimObject('Root.py') 3613898Sgabeblack@google.comSimObject('ClockDomain.py') 3713898Sgabeblack@google.comSimObject('VoltageDomain.py') 3813898Sgabeblack@google.comSimObject('System.py') 3913898Sgabeblack@google.comSimObject('DVFSHandler.py') 4013898Sgabeblack@google.comSimObject('SubSystem.py') 4113898Sgabeblack@google.com 4213898Sgabeblack@google.comSource('arguments.cc') 4313898Sgabeblack@google.comSource('async.cc') 4413898Sgabeblack@google.comSource('backtrace_%s.cc' % env['BACKTRACE_IMPL']) 4513898Sgabeblack@google.comSource('core.cc') 4613898Sgabeblack@google.comSource('tags.cc') 4713898Sgabeblack@google.comSource('cxx_config.cc') 4813898Sgabeblack@google.comSource('cxx_manager.cc') 4913898Sgabeblack@google.comSource('cxx_config_ini.cc') 5013898Sgabeblack@google.comSource('debug.cc') 5113898Sgabeblack@google.comSource('py_interact.cc', skip_no_python=True) 5213898Sgabeblack@google.comSource('eventq.cc') 5313898Sgabeblack@google.comSource('global_event.cc') 5413898Sgabeblack@google.comSource('init.cc', skip_no_python=True) 5513898Sgabeblack@google.comSource('init_signals.cc') 5613898Sgabeblack@google.comSource('main.cc', main=True, skip_lib=True) 5713898Sgabeblack@google.comSource('root.cc') 5813898Sgabeblack@google.comSource('serialize.cc') 5913898Sgabeblack@google.comSource('drain.cc') 6013898Sgabeblack@google.comSource('sim_events.cc') 6113898Sgabeblack@google.comSource('sim_object.cc') 6213898Sgabeblack@google.comSource('sub_system.cc') 6313898Sgabeblack@google.comSource('ticked_object.cc') 6413898Sgabeblack@google.comSource('simulate.cc') 6513898Sgabeblack@google.comSource('stat_control.cc') 6613898Sgabeblack@google.comSource('stat_register.cc', skip_no_python=True) 6713898Sgabeblack@google.comSource('clock_domain.cc') 6813898Sgabeblack@google.comSource('voltage_domain.cc') 6913898Sgabeblack@google.comSource('linear_solver.cc') 7013898Sgabeblack@google.comSource('system.cc') 7113898Sgabeblack@google.comSource('dvfs_handler.cc') 7213898Sgabeblack@google.comSource('clocked_object.cc') 7313898Sgabeblack@google.comSource('mathexpr.cc') 7413898Sgabeblack@google.com 759850Sandreas.hansson@arm.comif env['TARGET_ISA'] != 'null': 769850Sandreas.hansson@arm.com SimObject('InstTracer.py') 779850Sandreas.hansson@arm.com SimObject('Process.py') 787768SAli.Saidi@ARM.com Source('aux_vector.cc') 797768SAli.Saidi@ARM.com Source('faults.cc') 8010695SAli.Saidi@ARM.com Source('process.cc') 8110695SAli.Saidi@ARM.com Source('fd_array.cc') 8210695SAli.Saidi@ARM.com Source('fd_entry.cc') 8310695SAli.Saidi@ARM.com Source('pseudo_inst.cc') 8410695SAli.Saidi@ARM.com Source('syscall_emul.cc') 858887Sgeoffrey.blake@arm.com Source('syscall_desc.cc') 862766Sktlim@umich.edu 874486Sbinkertn@umich.eduif env['TARGET_ISA'] != 'x86': 8810663SAli.Saidi@ARM.com Source('microcode_rom.cc') 894486Sbinkertn@umich.edu 908739Sgblack@eecs.umich.eduDebugFlag('Checkpoint') 9110259SAndrew.Bardsley@arm.comDebugFlag('Config') 924486Sbinkertn@umich.eduDebugFlag('CxxConfig') 934202Sbinkertn@umich.eduDebugFlag('Drain') 944202Sbinkertn@umich.eduDebugFlag('Event') 954202Sbinkertn@umich.eduDebugFlag('Fault') 964202Sbinkertn@umich.eduDebugFlag('Flow') 9710319SAndreas.Sandberg@ARM.comDebugFlag('IPI') 984202Sbinkertn@umich.eduDebugFlag('IPR') 994776Sgblack@eecs.umich.eduDebugFlag('Interrupt') 1008739Sgblack@eecs.umich.eduDebugFlag('Loader') 1016365Sgblack@eecs.umich.eduDebugFlag('PseudoInst') 1024202Sbinkertn@umich.eduDebugFlag('Stack') 1038777Sgblack@eecs.umich.eduDebugFlag('SyscallBase') 1044202Sbinkertn@umich.eduDebugFlag('SyscallVerbose') 1059913Ssteve.reinhardt@amd.comDebugFlag('TimeSync') 1064202Sbinkertn@umich.eduDebugFlag('Thread') 1074202Sbinkertn@umich.eduDebugFlag('Timer') 1085217Ssaidi@eecs.umich.eduDebugFlag('VtoPhys') 1094202Sbinkertn@umich.eduDebugFlag('WorkItems') 11010259SAndrew.Bardsley@arm.comDebugFlag('ClockDomain') 1112155SN/ADebugFlag('VoltageDomain') 1128887Sgeoffrey.blake@arm.comDebugFlag('DVFS') 11310201SAndrew.Bardsley@arm.com 1148887Sgeoffrey.blake@arm.comCompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose']) 1159340SAndreas.Sandberg@arm.com