SConsopts revision 12817
112817Sgabeblack@google.com# Copyright 2018 Google, Inc. 212817Sgabeblack@google.com# 312817Sgabeblack@google.com# Redistribution and use in source and binary forms, with or without 412817Sgabeblack@google.com# modification, are permitted provided that the following conditions are 512817Sgabeblack@google.com# met: redistributions of source code must retain the above copyright 612817Sgabeblack@google.com# notice, this list of conditions and the following disclaimer; 712817Sgabeblack@google.com# redistributions in binary form must reproduce the above copyright 812817Sgabeblack@google.com# notice, this list of conditions and the following disclaimer in the 912817Sgabeblack@google.com# documentation and/or other materials provided with the distribution; 1012817Sgabeblack@google.com# neither the name of the copyright holders nor the names of its 1112817Sgabeblack@google.com# contributors may be used to endorse or promote products derived from 1212817Sgabeblack@google.com# this software without specific prior written permission. 1312817Sgabeblack@google.com# 1412817Sgabeblack@google.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1512817Sgabeblack@google.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1612817Sgabeblack@google.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1712817Sgabeblack@google.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 1812817Sgabeblack@google.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 1912817Sgabeblack@google.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2012817Sgabeblack@google.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2112817Sgabeblack@google.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2212817Sgabeblack@google.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2312817Sgabeblack@google.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2412817Sgabeblack@google.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2512817Sgabeblack@google.com# 2612817Sgabeblack@google.com# Authors: Gabe Black 2712817Sgabeblack@google.com 2812817Sgabeblack@google.comImport('*') 2912817Sgabeblack@google.com 3012817Sgabeblack@google.comsticky_vars.AddVariables( 3112817Sgabeblack@google.com BoolVariable('USE_SYSTEMC', 'Enable SystemC API support', False) 3212817Sgabeblack@google.com ) 3312817Sgabeblack@google.com 3412817Sgabeblack@google.comexport_vars.append('USE_SYSTEMC') 35