SConscript revision 12852
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,
332178SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
342178SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
352178SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
362178SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
372178SN/A#
382178SN/A# Authors: Ali Saidi
392178SN/A
402178SN/AImport('*')
412178SN/A
422178SN/Aif env['TARGET_ISA'] == 'arm':
432178SN/A    SimObject('AbstractNVM.py')
442178SN/A    SimObject('FlashDevice.py')
452155SN/A    SimObject('Gic.py')
462178SN/A    SimObject('RealView.py')
472155SN/A    SimObject('UFSHostDevice.py')
482155SN/A    SimObject('EnergyCtrl.py')
492178SN/A    SimObject('NoMali.py')
502155SN/A    SimObject('VirtIOMMIO.py')
515865Sksewell@umich.edu
525865Sksewell@umich.edu    Source('a9scu.cc')
533918Ssaidi@eecs.umich.edu    Source('amba_device.cc')
545865Sksewell@umich.edu    Source('amba_fake.cc')
552623SN/A    Source('base_gic.cc')
563918Ssaidi@eecs.umich.edu    Source('flash_device.cc')
575865Sksewell@umich.edu    Source('generic_timer.cc')
585865Sksewell@umich.edu    Source('gic_pl390.cc')
592155SN/A    Source('gic_v2m.cc')
602155SN/A    Source('pl011.cc')
612292SN/A    Source('pl111.cc')
623918Ssaidi@eecs.umich.edu    Source('hdlcd.cc')
632292SN/A    Source('kmi.cc')
642292SN/A    Source('timer_sp804.cc')
652292SN/A    Source('gpu_nomali.cc')
663918Ssaidi@eecs.umich.edu    Source('pci_host.cc')
672292SN/A    Source('rv_ctrl.cc')
682292SN/A    Source('realview.cc')
692766Sktlim@umich.edu    Source('rtc_pl031.cc')
702766Sktlim@umich.edu    Source('timer_cpulocal.cc')
712766Sktlim@umich.edu    Source('timer_a9global.cc')
722921Sktlim@umich.edu    Source('vgic.cc')
732921Sktlim@umich.edu    Source('vio_mmio.cc')
742766Sktlim@umich.edu    Source('ufs_device.cc')
752766Sktlim@umich.edu    Source('energy_ctrl.cc')
765529Snate@binkert.org
772766Sktlim@umich.edu    DebugFlag('AMBA')
784762Snate@binkert.org    DebugFlag('FlashDevice')
792155SN/A    DebugFlag('HDLcd')
802155SN/A    DebugFlag('PL111')
812155SN/A    DebugFlag('GICV2M')
822155SN/A    DebugFlag('Pl050')
832155SN/A    DebugFlag('GIC')
842155SN/A    DebugFlag('RVCTRL')
852766Sktlim@umich.edu    DebugFlag('EnergyCtrl')
862155SN/A    DebugFlag('UFSHostDevice')
875865Sksewell@umich.edu    DebugFlag('VGIC')
882155SN/A    DebugFlag('NoMali')
892155SN/A