SConscript revision 7674
11689SN/A# -*- mode:python -*-
28707Sandreas.hansson@arm.com
37849SAli.Saidi@ARM.com# Copyright (c) 2006 The Regents of The University of Michigan
47849SAli.Saidi@ARM.com# All rights reserved.
57849SAli.Saidi@ARM.com#
67849SAli.Saidi@ARM.com# Redistribution and use in source and binary forms, with or without
77849SAli.Saidi@ARM.com# modification, are permitted provided that the following conditions are
87849SAli.Saidi@ARM.com# met: redistributions of source code must retain the above copyright
97849SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer;
107849SAli.Saidi@ARM.com# redistributions in binary form must reproduce the above copyright
117849SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer in the
127849SAli.Saidi@ARM.com# documentation and/or other materials provided with the distribution;
137849SAli.Saidi@ARM.com# neither the name of the copyright holders nor the names of its
142329SN/A# contributors may be used to endorse or promote products derived from
151689SN/A# this software without specific prior written permission.
161689SN/A#
171689SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
181689SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
191689SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
201689SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
211689SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
221689SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
231689SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
241689SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
251689SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
261689SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
271689SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
281689SN/A#
291689SN/A# Authors: Steve Reinhardt
301689SN/A
311689SN/AImport('*')
321689SN/A
331689SN/Aif env['FULL_SYSTEM']:
341689SN/A    Source('kernel_stats.cc')
351689SN/A    Source('system_events.cc')
361689SN/A
371689SN/A    TraceFlag('DebugPrintf')
381689SN/A    TraceFlag('Printf')
392665Ssaidi@eecs.umich.edu
402665Ssaidi@eecs.umich.edu    Source('linux/events.cc')
412756Sksewell@umich.edu    Source('linux/linux_syscalls.cc')
421689SN/A    Source('linux/printk.cc')
431689SN/A    
442292SN/A    if env['TARGET_ISA'] == 'alpha':
452292SN/A        Source('tru64/dump_mbuf.cc')
461060SN/A        Source('tru64/printf.cc')
479020Sgblack@eecs.umich.edu        Source('tru64/tru64_events.cc')
482669Sktlim@umich.edu        Source('tru64/tru64_syscalls.cc')
491461SN/A        TraceFlag('BADADDR')
506658Snate@binkert.orgelse:
511060SN/A    Source('linux/linux.cc')
528229Snate@binkert.org    Source('operatingsystem.cc')
537849SAli.Saidi@ARM.com