SConscript revision 11265:1bdbdd6ae348
16911SBrad.Beckmann@amd.com# -*- mode:python -*- 26911SBrad.Beckmann@amd.com 36911SBrad.Beckmann@amd.com# Copyright (c) 2015 ARM Limited 46911SBrad.Beckmann@amd.com# All rights reserved. 56911SBrad.Beckmann@amd.com# 66911SBrad.Beckmann@amd.com# The license below extends only to copyright in the software and shall 76911SBrad.Beckmann@amd.com# not be construed as granting a license to any other intellectual 86911SBrad.Beckmann@amd.com# property including but not limited to intellectual property relating 96911SBrad.Beckmann@amd.com# to a hardware implementation of the functionality of the software 106911SBrad.Beckmann@amd.com# licensed hereunder. You may use the software subject to the license 116911SBrad.Beckmann@amd.com# terms below provided that you ensure that this notice is replicated 126911SBrad.Beckmann@amd.com# unmodified and in its entirety in all distributions of the software, 136911SBrad.Beckmann@amd.com# modified or unmodified, in source code or in binary form. 146911SBrad.Beckmann@amd.com# 156911SBrad.Beckmann@amd.com# Redistribution and use in source and binary forms, with or without 166911SBrad.Beckmann@amd.com# modification, are permitted provided that the following conditions are 176911SBrad.Beckmann@amd.com# met: redistributions of source code must retain the above copyright 186911SBrad.Beckmann@amd.com# notice, this list of conditions and the following disclaimer; 196911SBrad.Beckmann@amd.com# redistributions in binary form must reproduce the above copyright 206911SBrad.Beckmann@amd.com# notice, this list of conditions and the following disclaimer in the 216911SBrad.Beckmann@amd.com# documentation and/or other materials provided with the distribution; 226911SBrad.Beckmann@amd.com# neither the name of the copyright holders nor the names of its 236911SBrad.Beckmann@amd.com# contributors may be used to endorse or promote products derived from 246911SBrad.Beckmann@amd.com# this software without specific prior written permission. 256911SBrad.Beckmann@amd.com# 266911SBrad.Beckmann@amd.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 276911SBrad.Beckmann@amd.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 286911SBrad.Beckmann@amd.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 296911SBrad.Beckmann@amd.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 306911SBrad.Beckmann@amd.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 316911SBrad.Beckmann@amd.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 326911SBrad.Beckmann@amd.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 336911SBrad.Beckmann@amd.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 349100SBrad.Beckmann@amd.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 356911SBrad.Beckmann@amd.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 366911SBrad.Beckmann@amd.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 376911SBrad.Beckmann@amd.com# 386911SBrad.Beckmann@amd.com# Authors: Andreas Sandberg 396911SBrad.Beckmann@amd.com 406911SBrad.Beckmann@amd.comImport('*') 416911SBrad.Beckmann@amd.com 426911SBrad.Beckmann@amd.comif env['TARGET_ISA'] == 'null': 436911SBrad.Beckmann@amd.com Return() 446911SBrad.Beckmann@amd.com 456911SBrad.Beckmann@amd.comSimObject('I2C.py') 466911SBrad.Beckmann@amd.comSource('bus.cc') 476911SBrad.Beckmann@amd.com