SConscript revision 10749
14123Sbinkertn@umich.edu# -*- mode:python -*-
24123Sbinkertn@umich.edu
39983Sstever@gmail.com# Copyright (c) 2009, 2012-2013 ARM Limited
49983Sstever@gmail.com# All rights reserved.
54123Sbinkertn@umich.edu#
64123Sbinkertn@umich.edu# The license below extends only to copyright in the software and shall
74123Sbinkertn@umich.edu# not be construed as granting a license to any other intellectual
84123Sbinkertn@umich.edu# property including but not limited to intellectual property relating
94123Sbinkertn@umich.edu# to a hardware implementation of the functionality of the software
104123Sbinkertn@umich.edu# licensed hereunder.  You may use the software subject to the license
114123Sbinkertn@umich.edu# terms below provided that you ensure that this notice is replicated
124123Sbinkertn@umich.edu# unmodified and in its entirety in all distributions of the software,
134123Sbinkertn@umich.edu# modified or unmodified, in source code or in binary form.
144123Sbinkertn@umich.edu#
154123Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without
164123Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are
174123Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright
184123Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer;
194123Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright
204123Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the
214123Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution;
224123Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its
234123Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from
244123Sbinkertn@umich.edu# this software without specific prior written permission.
254123Sbinkertn@umich.edu#
264123Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
274123Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
284123Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
294123Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
304123Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
314123Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
324123Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
334123Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
344167Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
354167Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
364167Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
378274SAli.Saidi@ARM.com#
388274SAli.Saidi@ARM.com# Authors: Ali Saidi
398274SAli.Saidi@ARM.com
408274SAli.Saidi@ARM.comImport('*')
414123Sbinkertn@umich.edu
424123Sbinkertn@umich.eduif env['TARGET_ISA'] == 'arm':
436214Snate@binkert.org    SimObject('Gic.py')
449356Snilay@cs.wisc.edu    SimObject('RealView.py')
454123Sbinkertn@umich.edu    SimObject('EnergyCtrl.py')
464167Sbinkertn@umich.edu
479983Sstever@gmail.com    Source('a9scu.cc')
487823Ssteve.reinhardt@amd.com    Source('amba_device.cc')
494167Sbinkertn@umich.edu    Source('amba_fake.cc')
504167Sbinkertn@umich.edu    Source('base_gic.cc')
518274SAli.Saidi@ARM.com    Source('generic_timer.cc')
528274SAli.Saidi@ARM.com    Source('gic_pl390.cc')
537064Snate@binkert.org    Source('gic_v2m.cc')
548274SAli.Saidi@ARM.com    Source('pl011.cc')
554167Sbinkertn@umich.edu    Source('pl111.cc')
564167Sbinkertn@umich.edu    Source('hdlcd.cc')
574167Sbinkertn@umich.edu    Source('kmi.cc')
588274SAli.Saidi@ARM.com    Source('timer_sp804.cc')
598274SAli.Saidi@ARM.com    Source('rv_ctrl.cc')
608274SAli.Saidi@ARM.com    Source('realview.cc')
618274SAli.Saidi@ARM.com    Source('rtc_pl031.cc')
628274SAli.Saidi@ARM.com    Source('timer_cpulocal.cc')
638274SAli.Saidi@ARM.com    Source('vgic.cc')
648274SAli.Saidi@ARM.com    Source('energy_ctrl.cc')
658274SAli.Saidi@ARM.com
668274SAli.Saidi@ARM.com    DebugFlag('AMBA')
678274SAli.Saidi@ARM.com    DebugFlag('HDLcd')
688274SAli.Saidi@ARM.com    DebugFlag('PL111')
698274SAli.Saidi@ARM.com    DebugFlag('GICV2M')
708274SAli.Saidi@ARM.com    DebugFlag('Pl050')
718274SAli.Saidi@ARM.com    DebugFlag('GIC')
728274SAli.Saidi@ARM.com    DebugFlag('RVCTRL')
738274SAli.Saidi@ARM.com    DebugFlag('EnergyCtrl')
748274SAli.Saidi@ARM.com    DebugFlag('VGIC')
7512980Sgabeblack@google.com