SConscript revision 9646:7a0c51f14095
18333Snate@binkert.org# -*- mode:python -*-
28333Snate@binkert.org
38333Snate@binkert.org# Copyright (c) 2009 ARM Limited
48333Snate@binkert.org# All rights reserved.
58333Snate@binkert.org#
68333Snate@binkert.org# The license below extends only to copyright in the software and shall
78333Snate@binkert.org# not be construed as granting a license to any other intellectual
88333Snate@binkert.org# property including but not limited to intellectual property relating
98333Snate@binkert.org# to a hardware implementation of the functionality of the software
108333Snate@binkert.org# licensed hereunder.  You may use the software subject to the license
118333Snate@binkert.org# terms below provided that you ensure that this notice is replicated
128333Snate@binkert.org# unmodified and in its entirety in all distributions of the software,
138333Snate@binkert.org# modified or unmodified, in source code or in binary form.
148333Snate@binkert.org#
158333Snate@binkert.org# Redistribution and use in source and binary forms, with or without
168333Snate@binkert.org# modification, are permitted provided that the following conditions are
178333Snate@binkert.org# met: redistributions of source code must retain the above copyright
188333Snate@binkert.org# notice, this list of conditions and the following disclaimer;
198333Snate@binkert.org# redistributions in binary form must reproduce the above copyright
208333Snate@binkert.org# notice, this list of conditions and the following disclaimer in the
218333Snate@binkert.org# documentation and/or other materials provided with the distribution;
228333Snate@binkert.org# neither the name of the copyright holders nor the names of its
238333Snate@binkert.org# contributors may be used to endorse or promote products derived from
248333Snate@binkert.org# this software without specific prior written permission.
258333Snate@binkert.org#
268333Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
278333Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
288333Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
298333Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
308333Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
318333Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
328333Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
338333Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
348333Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
358333Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
368333Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
378333Snate@binkert.org#
388333Snate@binkert.org# Authors: Ali Saidi
398333Snate@binkert.org
408333Snate@binkert.orgImport('*')
418333Snate@binkert.org
428333Snate@binkert.orgif env['TARGET_ISA'] == 'arm':
438333Snate@binkert.org    SimObject('Gic.py')
448333Snate@binkert.org    SimObject('RealView.py')
458333Snate@binkert.org
468333Snate@binkert.org    Source('a9scu.cc')
478333Snate@binkert.org    Source('amba_device.cc')
4811888Sleolson@google.com    Source('amba_fake.cc')
49    Source('base_gic.cc')
50    Source('gic_pl390.cc')
51    Source('pl011.cc')
52    Source('pl111.cc')
53    Source('hdlcd.cc')
54    Source('kmi.cc')
55    Source('timer_sp804.cc')
56    Source('rv_ctrl.cc')
57    Source('realview.cc')
58    Source('rtc_pl031.cc')
59    Source('timer_cpulocal.cc')
60
61    DebugFlag('AMBA')
62    DebugFlag('HDLcd')
63    DebugFlag('PL111')
64    DebugFlag('Pl050')
65    DebugFlag('GIC')
66