SConscript revision 12226
16691Stjones1@inf.ed.ac.uk# -*- mode:python -*- 26691Stjones1@inf.ed.ac.uk 36691Stjones1@inf.ed.ac.uk# Copyright (c) 2006 The Regents of The University of Michigan 46691Stjones1@inf.ed.ac.uk# All rights reserved. 56691Stjones1@inf.ed.ac.uk# 66691Stjones1@inf.ed.ac.uk# Redistribution and use in source and binary forms, with or without 76691Stjones1@inf.ed.ac.uk# modification, are permitted provided that the following conditions are 86691Stjones1@inf.ed.ac.uk# met: redistributions of source code must retain the above copyright 96691Stjones1@inf.ed.ac.uk# notice, this list of conditions and the following disclaimer; 106691Stjones1@inf.ed.ac.uk# redistributions in binary form must reproduce the above copyright 116691Stjones1@inf.ed.ac.uk# notice, this list of conditions and the following disclaimer in the 126691Stjones1@inf.ed.ac.uk# documentation and/or other materials provided with the distribution; 136691Stjones1@inf.ed.ac.uk# neither the name of the copyright holders nor the names of its 146691Stjones1@inf.ed.ac.uk# contributors may be used to endorse or promote products derived from 156691Stjones1@inf.ed.ac.uk# this software without specific prior written permission. 166691Stjones1@inf.ed.ac.uk# 176691Stjones1@inf.ed.ac.uk# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 186691Stjones1@inf.ed.ac.uk# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 196691Stjones1@inf.ed.ac.uk# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 206691Stjones1@inf.ed.ac.uk# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 216691Stjones1@inf.ed.ac.uk# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 226691Stjones1@inf.ed.ac.uk# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 236691Stjones1@inf.ed.ac.uk# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 246691Stjones1@inf.ed.ac.uk# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 256691Stjones1@inf.ed.ac.uk# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 266691Stjones1@inf.ed.ac.uk# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 276691Stjones1@inf.ed.ac.uk# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 286691Stjones1@inf.ed.ac.uk# 296691Stjones1@inf.ed.ac.uk# Authors: Nathan Binkert 306691Stjones1@inf.ed.ac.uk 316691Stjones1@inf.ed.ac.ukImport('*') 326691Stjones1@inf.ed.ac.uk 336691Stjones1@inf.ed.ac.ukif env['CP_ANNOTATE']: 346691Stjones1@inf.ed.ac.uk SimObject('CPA.py') 3511320Ssteve.reinhardt@amd.com Source('cp_annotate.cc') 366691Stjones1@inf.ed.ac.ukSource('atomicio.cc') 379022Sgblack@eecs.umich.eduSource('bitfield.cc') 386691Stjones1@inf.ed.ac.ukSource('bigint.cc') 396691Stjones1@inf.ed.ac.ukSource('bitmap.cc') 406691Stjones1@inf.ed.ac.ukSource('callback.cc') 416691Stjones1@inf.ed.ac.ukSource('cprintf.cc') 426691Stjones1@inf.ed.ac.ukSource('debug.cc') 436691Stjones1@inf.ed.ac.ukif env['USE_FENV']: 448745Sgblack@eecs.umich.edu Source('fenv.c') 458772Sgblack@eecs.umich.eduSource('framebuffer.cc') 468772Sgblack@eecs.umich.eduSource('hostinfo.cc') 479384SAndreas.Sandberg@arm.comSource('inet.cc') 486691Stjones1@inf.ed.ac.ukSource('inifile.cc') 498772Sgblack@eecs.umich.eduSource('intmath.cc') 5011176Sshingarov@labware.comSource('match.cc') 518792Sgblack@eecs.umich.eduSource('misc.cc') 526691Stjones1@inf.ed.ac.ukSource('output.cc') 537506Stjones1@inf.ed.ac.ukSource('pollevent.cc') 548759Sgblack@eecs.umich.eduSource('random.cc') 556691Stjones1@inf.ed.ac.ukif env['TARGET_ISA'] != 'null': 568745Sgblack@eecs.umich.edu Source('remote_gdb.cc') 579384SAndreas.Sandberg@arm.comSource('socket.cc') 586691Stjones1@inf.ed.ac.ukSource('statistics.cc') 598745Sgblack@eecs.umich.eduSource('str.cc') 608335Snate@binkert.orgSource('time.cc') 616691Stjones1@inf.ed.ac.ukSource('trace.cc') 6210196SCurtis.Dunham@arm.comSource('types.cc') 63 64Source('loader/aout_object.cc') 65Source('loader/dtb_object.cc') 66Source('loader/ecoff_object.cc') 67Source('loader/elf_object.cc') 68Source('loader/hex_file.cc') 69Source('loader/object_file.cc') 70Source('loader/raw_object.cc') 71Source('loader/symtab.cc') 72 73Source('stats/text.cc') 74 75DebugFlag('Annotate', "State machine annotation debugging") 76DebugFlag('AnnotateQ', "State machine annotation queue debugging") 77DebugFlag('AnnotateVerbose', "Dump all state machine annotation details") 78DebugFlag('GDBAcc', "Remote debugger accesses") 79DebugFlag('GDBExtra', "Dump extra information on reads and writes") 80DebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 81DebugFlag('GDBRead', "Reads to the remote address space") 82DebugFlag('GDBRecv', "Messages received from the remote application") 83DebugFlag('GDBSend', "Messages sent to the remote application") 84DebugFlag('GDBWrite', "Writes to the remote address space") 85DebugFlag('SQL', "SQL queries sent to the server") 86DebugFlag('StatEvents', "Statistics event tracking") 87 88CompoundFlag('GDBAll', 89 [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 90 'GDBExtra' ], 91 desc="All Remote debugging flags") 92CompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 93 desc="All Annotation flags") 94 95