SConscript revision 10196
16691Stjones1@inf.ed.ac.uk# -*- mode:python -*-
26691Stjones1@inf.ed.ac.uk
36691Stjones1@inf.ed.ac.uk# Copyright (c) 2009 The University of Edinburgh
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: Timothy M. Jones
306691Stjones1@inf.ed.ac.uk
316691Stjones1@inf.ed.ac.ukImport('*')
326691Stjones1@inf.ed.ac.uk
336691Stjones1@inf.ed.ac.ukif env['TARGET_ISA'] == 'power':
346691Stjones1@inf.ed.ac.uk# Workaround for bug in SCons version > 0.97d20071212
356691Stjones1@inf.ed.ac.uk# Scons bug id: 2006 M5 Bug id: 308 
366691Stjones1@inf.ed.ac.uk    Dir('isa/formats')
379022Sgblack@eecs.umich.edu    Source('decoder.cc')
386691Stjones1@inf.ed.ac.uk    Source('insts/branch.cc')
396691Stjones1@inf.ed.ac.uk    Source('insts/mem.cc')
406691Stjones1@inf.ed.ac.uk    Source('insts/integer.cc')
416691Stjones1@inf.ed.ac.uk    Source('insts/floating.cc')
426691Stjones1@inf.ed.ac.uk    Source('insts/condition.cc')
436691Stjones1@inf.ed.ac.uk    Source('insts/static_inst.cc')
448745Sgblack@eecs.umich.edu    Source('interrupts.cc')
458772Sgblack@eecs.umich.edu    Source('linux/linux.cc')
468772Sgblack@eecs.umich.edu    Source('linux/process.cc')
479384SAndreas.Sandberg@arm.com    Source('isa.cc')
486691Stjones1@inf.ed.ac.uk    Source('pagetable.cc')
498772Sgblack@eecs.umich.edu    Source('process.cc')
508792Sgblack@eecs.umich.edu    Source('stacktrace.cc')
516691Stjones1@inf.ed.ac.uk    Source('tlb.cc')
527506Stjones1@inf.ed.ac.uk    Source('utility.cc')
538759Sgblack@eecs.umich.edu    Source('vtophys.cc')
546691Stjones1@inf.ed.ac.uk
558745Sgblack@eecs.umich.edu    SimObject('PowerInterrupts.py')
569384SAndreas.Sandberg@arm.com    SimObject('PowerISA.py')
576691Stjones1@inf.ed.ac.uk    SimObject('PowerTLB.py')
588745Sgblack@eecs.umich.edu
598335Snate@binkert.org    DebugFlag('Power')
606691Stjones1@inf.ed.ac.uk
6110196SCurtis.Dunham@arm.com    env.ISADesc('isa/main.isa')
62