SConscript revision 10749
12155SN/A# -*- mode:python -*-
22155SN/A
32155SN/A# Copyright (c) 2009, 2012-2013 ARM Limited
42155SN/A# All rights reserved.
52155SN/A#
62155SN/A# The license below extends only to copyright in the software and shall
72155SN/A# not be construed as granting a license to any other intellectual
82155SN/A# property including but not limited to intellectual property relating
92155SN/A# to a hardware implementation of the functionality of the software
102155SN/A# licensed hereunder.  You may use the software subject to the license
112155SN/A# terms below provided that you ensure that this notice is replicated
122155SN/A# unmodified and in its entirety in all distributions of the software,
132155SN/A# modified or unmodified, in source code or in binary form.
142155SN/A#
152155SN/A# Redistribution and use in source and binary forms, with or without
162155SN/A# modification, are permitted provided that the following conditions are
172155SN/A# met: redistributions of source code must retain the above copyright
182155SN/A# notice, this list of conditions and the following disclaimer;
192155SN/A# redistributions in binary form must reproduce the above copyright
202155SN/A# notice, this list of conditions and the following disclaimer in the
212155SN/A# documentation and/or other materials provided with the distribution;
222155SN/A# neither the name of the copyright holders nor the names of its
232155SN/A# contributors may be used to endorse or promote products derived from
242155SN/A# this software without specific prior written permission.
252155SN/A#
262155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
272155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
282665Ssaidi@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
292665Ssaidi@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
302155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
314202Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
322155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
339850Sandreas.hansson@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
349850Sandreas.hansson@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
359850Sandreas.hansson@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
367768SAli.Saidi@ARM.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
377768SAli.Saidi@ARM.com#
388887Sgeoffrey.blake@arm.com# Authors: Ali Saidi
392766Sktlim@umich.edu
404486Sbinkertn@umich.eduImport('*')
414486Sbinkertn@umich.edu
424776Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'arm':
434776Sgblack@eecs.umich.edu    SimObject('Gic.py')
448739Sgblack@eecs.umich.edu    SimObject('RealView.py')
456365Sgblack@eecs.umich.edu    SimObject('EnergyCtrl.py')
4610259SAndrew.Bardsley@arm.com
474486Sbinkertn@umich.edu    Source('a9scu.cc')
484202Sbinkertn@umich.edu    Source('amba_device.cc')
494202Sbinkertn@umich.edu    Source('amba_fake.cc')
504202Sbinkertn@umich.edu    Source('base_gic.cc')
514202Sbinkertn@umich.edu    Source('generic_timer.cc')
5210319SAndreas.Sandberg@ARM.com    Source('gic_pl390.cc')
534202Sbinkertn@umich.edu    Source('gic_v2m.cc')
544776Sgblack@eecs.umich.edu    Source('pl011.cc')
558739Sgblack@eecs.umich.edu    Source('pl111.cc')
566365Sgblack@eecs.umich.edu    Source('hdlcd.cc')
574202Sbinkertn@umich.edu    Source('kmi.cc')
588777Sgblack@eecs.umich.edu    Source('timer_sp804.cc')
594202Sbinkertn@umich.edu    Source('rv_ctrl.cc')
609913Ssteve.reinhardt@amd.com    Source('realview.cc')
614202Sbinkertn@umich.edu    Source('rtc_pl031.cc')
624202Sbinkertn@umich.edu    Source('timer_cpulocal.cc')
635217Ssaidi@eecs.umich.edu    Source('vgic.cc')
644202Sbinkertn@umich.edu    Source('energy_ctrl.cc')
6510259SAndrew.Bardsley@arm.com
662155SN/A    DebugFlag('AMBA')
678793Sgblack@eecs.umich.edu    DebugFlag('HDLcd')
688793Sgblack@eecs.umich.edu    DebugFlag('PL111')
698793Sgblack@eecs.umich.edu    DebugFlag('GICV2M')
704776Sgblack@eecs.umich.edu    DebugFlag('Pl050')
718887Sgeoffrey.blake@arm.com    DebugFlag('GIC')
7210201SAndrew.Bardsley@arm.com    DebugFlag('RVCTRL')
738887Sgeoffrey.blake@arm.com    DebugFlag('EnergyCtrl')
749340SAndreas.Sandberg@arm.com    DebugFlag('VGIC')
758887Sgeoffrey.blake@arm.com