SConscript revision 10641
12632Sstever@eecs.umich.edu# -*- mode:python -*-
22632Sstever@eecs.umich.edu
32632Sstever@eecs.umich.edu# Copyright (c) 2009, 2012-2013 ARM Limited
42632Sstever@eecs.umich.edu# All rights reserved.
52632Sstever@eecs.umich.edu#
62632Sstever@eecs.umich.edu# The license below extends only to copyright in the software and shall
72632Sstever@eecs.umich.edu# not be construed as granting a license to any other intellectual
82632Sstever@eecs.umich.edu# property including but not limited to intellectual property relating
92632Sstever@eecs.umich.edu# to a hardware implementation of the functionality of the software
102632Sstever@eecs.umich.edu# licensed hereunder.  You may use the software subject to the license
112632Sstever@eecs.umich.edu# terms below provided that you ensure that this notice is replicated
122632Sstever@eecs.umich.edu# unmodified and in its entirety in all distributions of the software,
132632Sstever@eecs.umich.edu# modified or unmodified, in source code or in binary form.
142632Sstever@eecs.umich.edu#
152632Sstever@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
162632Sstever@eecs.umich.edu# modification, are permitted provided that the following conditions are
172632Sstever@eecs.umich.edu# met: redistributions of source code must retain the above copyright
182632Sstever@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
192632Sstever@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
202632Sstever@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
212632Sstever@eecs.umich.edu# documentation and/or other materials provided with the distribution;
222632Sstever@eecs.umich.edu# neither the name of the copyright holders nor the names of its
232632Sstever@eecs.umich.edu# contributors may be used to endorse or promote products derived from
242632Sstever@eecs.umich.edu# this software without specific prior written permission.
252632Sstever@eecs.umich.edu#
262632Sstever@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
272632Sstever@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
282632Sstever@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
292632Sstever@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
302632Sstever@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
312469SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
322469SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
332482SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
342469SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
352469SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
362469SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
372469SN/A#
382469SN/A# Authors: Ali Saidi
392469SN/A
402469SN/AImport('*')
412469SN/A
422469SN/Aif env['TARGET_ISA'] == 'arm':
432469SN/A    SimObject('Gic.py')
442469SN/A    SimObject('RealView.py')
452469SN/A    SimObject('EnergyCtrl.py')
462469SN/A
472469SN/A    Source('a9scu.cc')
482469SN/A    Source('amba_device.cc')
492469SN/A    Source('amba_fake.cc')
502469SN/A    Source('base_gic.cc')
512469SN/A    Source('generic_timer.cc')
522469SN/A    Source('gic_pl390.cc')
532469SN/A    Source('pl011.cc')
542469SN/A    Source('pl111.cc')
552469SN/A    Source('hdlcd.cc')
562469SN/A    Source('kmi.cc')
572469SN/A    Source('timer_sp804.cc')
582469SN/A    Source('rv_ctrl.cc')
592469SN/A    Source('realview.cc')
602469SN/A    Source('rtc_pl031.cc')
612469SN/A    Source('timer_cpulocal.cc')
622469SN/A    Source('vgic.cc')
632469SN/A    Source('energy_ctrl.cc')
642469SN/A
652469SN/A    DebugFlag('AMBA')
662526SN/A    DebugFlag('HDLcd')
672469SN/A    DebugFlag('PL111')
682469SN/A    DebugFlag('Pl050')
692469SN/A    DebugFlag('GIC')
702469SN/A    DebugFlag('RVCTRL')
712469SN/A    DebugFlag('EnergyCtrl')
722469SN/A    DebugFlag('VGIC')
732469SN/A