SConscript revision 7090
12139SN/A# -*- mode:python -*-
22139SN/A
32139SN/A# Copyright (c) 2009 ARM Limited
42139SN/A# All rights reserved.
52139SN/A#
62139SN/A# The license below extends only to copyright in the software and shall
72139SN/A# not be construed as granting a license to any other intellectual
82139SN/A# property including but not limited to intellectual property relating
92139SN/A# to a hardware implementation of the functionality of the software
102139SN/A# licensed hereunder.  You may use the software subject to the license
112139SN/A# terms below provided that you ensure that this notice is replicated
122139SN/A# unmodified and in its entirety in all distributions of the software,
132139SN/A# modified or unmodified, in source code or in binary form.
142139SN/A#
152139SN/A# Redistribution and use in source and binary forms, with or without
162139SN/A# modification, are permitted provided that the following conditions are
172139SN/A# met: redistributions of source code must retain the above copyright
182139SN/A# notice, this list of conditions and the following disclaimer;
192139SN/A# redistributions in binary form must reproduce the above copyright
202139SN/A# notice, this list of conditions and the following disclaimer in the
212139SN/A# documentation and/or other materials provided with the distribution;
222139SN/A# neither the name of the copyright holders nor the names of its
232139SN/A# contributors may be used to endorse or promote products derived from
242139SN/A# this software without specific prior written permission.
252139SN/A#
262139SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
272139SN/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
302139SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
312718Sstever@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
322139SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
332139SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
342139SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
352139SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
362152SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
372152SN/A#
382152SN/A# Authors: Ali Saidi
392152SN/A
402139SN/AImport('*')
412139SN/A
422139SN/Aif env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'arm':
432139SN/A    SimObject('Versatile.py')
442139SN/A
452152SN/A    Source('versatile.cc')
462152SN/A