SConscript revision 8777
12568SN/A# -*- mode:python -*-
22568SN/A
32568SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42568SN/A# All rights reserved.
52568SN/A#
62568SN/A# Redistribution and use in source and binary forms, with or without
72568SN/A# modification, are permitted provided that the following conditions are
82568SN/A# met: redistributions of source code must retain the above copyright
92568SN/A# notice, this list of conditions and the following disclaimer;
102568SN/A# redistributions in binary form must reproduce the above copyright
112568SN/A# notice, this list of conditions and the following disclaimer in the
122568SN/A# documentation and/or other materials provided with the distribution;
132568SN/A# neither the name of the copyright holders nor the names of its
142568SN/A# contributors may be used to endorse or promote products derived from
152568SN/A# this software without specific prior written permission.
162568SN/A#
172568SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182568SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192568SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202568SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212568SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222568SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232568SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242568SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252568SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262568SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272568SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Steve Reinhardt
302665Ssaidi@eecs.umich.edu
312568SN/AImport('*')
322568SN/A
332568SN/Aif env['TARGET_ISA'] == 'no':
342982Sstever@eecs.umich.edu    Return()
352982Sstever@eecs.umich.edu
362568SN/ASource('kernel_stats.cc')
372568SN/ASource('linux/events.cc')
382643Sstever@eecs.umich.eduSource('linux/linux.cc')
392568SN/ASource('linux/printk.cc')
402568SN/ASource('operatingsystem.cc')
412568SN/ASource('system_events.cc')
422568SN/A
432568SN/Aif env['TARGET_ISA'] == 'alpha':
442643Sstever@eecs.umich.edu    Source('tru64/dump_mbuf.cc')
452643Sstever@eecs.umich.edu    Source('tru64/printf.cc')
462643Sstever@eecs.umich.edu    Source('tru64/tru64_events.cc')
472643Sstever@eecs.umich.edu
482643Sstever@eecs.umich.edu    DebugFlag('BADADDR')
492643Sstever@eecs.umich.edu
502643Sstever@eecs.umich.eduDebugFlag('DebugPrintf')
512643Sstever@eecs.umich.eduDebugFlag('Printf')
522643Sstever@eecs.umich.edu
532643Sstever@eecs.umich.eduif env['FULL_SYSTEM']:
542643Sstever@eecs.umich.edu    Source('linux/linux_syscalls.cc')
552643Sstever@eecs.umich.edu    
562643Sstever@eecs.umich.edu    if env['TARGET_ISA'] == 'alpha':
572643Sstever@eecs.umich.edu        Source('tru64/tru64_syscalls.cc')
582643Sstever@eecs.umich.edu