SConscript revision 11504
16019Shines@cs.fsu.edu# -*- mode:python -*-
26019Shines@cs.fsu.edu
310037SARM gem5 Developers# Copyright (c) 2006 The Regents of The University of Michigan
47100Sgblack@eecs.umich.edu# All rights reserved.
57100Sgblack@eecs.umich.edu#
67100Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
77100Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
87100Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
97100Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
107100Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
117100Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
127100Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
137100Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
147100Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
156019Shines@cs.fsu.edu# this software without specific prior written permission.
166019Shines@cs.fsu.edu#
176019Shines@cs.fsu.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
186019Shines@cs.fsu.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
196019Shines@cs.fsu.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
206019Shines@cs.fsu.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
216019Shines@cs.fsu.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
226019Shines@cs.fsu.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
236019Shines@cs.fsu.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
246019Shines@cs.fsu.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
256019Shines@cs.fsu.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
266019Shines@cs.fsu.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
276019Shines@cs.fsu.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
286019Shines@cs.fsu.edu#
296019Shines@cs.fsu.edu# Authors: Nathan Binkert
306019Shines@cs.fsu.edu
316019Shines@cs.fsu.eduImport('*')
326019Shines@cs.fsu.edu
336019Shines@cs.fsu.eduif env['CP_ANNOTATE']:
346019Shines@cs.fsu.edu    SimObject('CPA.py')
356019Shines@cs.fsu.edu    Source('cp_annotate.cc')
366019Shines@cs.fsu.eduSource('atomicio.cc')
376019Shines@cs.fsu.eduSource('bigint.cc')
386019Shines@cs.fsu.eduSource('bitmap.cc')
396019Shines@cs.fsu.eduSource('callback.cc')
406019Shines@cs.fsu.eduSource('cprintf.cc')
416019Shines@cs.fsu.eduSource('debug.cc')
426757SAli.Saidi@ARM.comif env['USE_FENV']:
436019Shines@cs.fsu.edu    Source('fenv.c')
446019Shines@cs.fsu.eduSource('framebuffer.cc')
456019Shines@cs.fsu.eduSource('hostinfo.cc')
466019Shines@cs.fsu.eduSource('inet.cc')
476019Shines@cs.fsu.eduSource('inifile.cc')
4811320Ssteve.reinhardt@amd.comSource('intmath.cc')
496019Shines@cs.fsu.eduSource('match.cc')
509022Sgblack@eecs.umich.eduSource('misc.cc')
516019Shines@cs.fsu.eduSource('output.cc')
5210037SARM gem5 DevelopersSource('pollevent.cc')
5310037SARM gem5 DevelopersSource('random.cc')
547170Sgblack@eecs.umich.eduif env['TARGET_ISA'] != 'null':
556253Sgblack@eecs.umich.edu    Source('remote_gdb.cc')
5610037SARM gem5 DevelopersSource('socket.cc')
577202Sgblack@eecs.umich.eduSource('statistics.cc')
5810037SARM gem5 DevelopersSource('str.cc')
596253Sgblack@eecs.umich.eduSource('time.cc')
6010611SAndreas.Sandberg@ARM.comSource('trace.cc')
616253Sgblack@eecs.umich.eduSource('types.cc')
627396Sgblack@eecs.umich.edu
6310037SARM gem5 DevelopersSource('loader/aout_object.cc')
648745Sgblack@eecs.umich.eduSource('loader/dtb_object.cc')
657405SAli.Saidi@ARM.comSource('loader/ecoff_object.cc')
6610461SAndreas.Sandberg@ARM.comSource('loader/elf_object.cc')
678782Sgblack@eecs.umich.eduSource('loader/hex_file.cc')
688782Sgblack@eecs.umich.eduSource('loader/object_file.cc')
698782Sgblack@eecs.umich.eduSource('loader/raw_object.cc')
7010810Sbr@bsdpad.comSource('loader/symtab.cc')
7110810Sbr@bsdpad.com
7210810Sbr@bsdpad.comSource('stats/text.cc')
737259Sgblack@eecs.umich.edu
748757Sgblack@eecs.umich.eduDebugFlag('Annotate', "State machine annotation debugging")
7510461SAndreas.Sandberg@ARM.comDebugFlag('AnnotateQ', "State machine annotation queue debugging")
768782Sgblack@eecs.umich.eduDebugFlag('AnnotateVerbose', "Dump all state machine annotation details")
778757Sgblack@eecs.umich.eduDebugFlag('GDBAcc', "Remote debugger accesses")
788777Sgblack@eecs.umich.eduDebugFlag('GDBExtra', "Dump extra information on reads and writes")
798782Sgblack@eecs.umich.eduDebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
808756Sgblack@eecs.umich.eduDebugFlag('GDBRead', "Reads to the remote address space")
8110037SARM gem5 DevelopersDebugFlag('GDBRecv', "Messages received from the remote application")
8210037SARM gem5 DevelopersDebugFlag('GDBSend', "Messages sent to the remote application")
836019Shines@cs.fsu.eduDebugFlag('GDBWrite', "Writes to the remote address space")
846757SAli.Saidi@ARM.comDebugFlag('SQL', "SQL queries sent to the server")
858757Sgblack@eecs.umich.eduDebugFlag('StatEvents', "Statistics event tracking")
866019Shines@cs.fsu.edu
878745Sgblack@eecs.umich.eduCompoundFlag('GDBAll',
889384SAndreas.Sandberg@arm.com    [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
896397Sgblack@eecs.umich.edu      'GDBExtra' ],
908782Sgblack@eecs.umich.edu    desc="All Remote debugging flags")
916019Shines@cs.fsu.eduCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'],
9210461SAndreas.Sandberg@ARM.com    desc="All Annotation flags")
936397Sgblack@eecs.umich.edu
948335Snate@binkert.org