SConscript revision 4202
11689SN/A# -*- mode:python -*- 210333Smitch.hayenga@arm.com 39444SAndreas.Sandberg@ARM.com# Copyright (c) 2006 The Regents of The University of Michigan 49444SAndreas.Sandberg@ARM.com# All rights reserved. 59444SAndreas.Sandberg@ARM.com# 69444SAndreas.Sandberg@ARM.com# Redistribution and use in source and binary forms, with or without 79444SAndreas.Sandberg@ARM.com# modification, are permitted provided that the following conditions are 89444SAndreas.Sandberg@ARM.com# met: redistributions of source code must retain the above copyright 99444SAndreas.Sandberg@ARM.com# notice, this list of conditions and the following disclaimer; 109444SAndreas.Sandberg@ARM.com# redistributions in binary form must reproduce the above copyright 119444SAndreas.Sandberg@ARM.com# notice, this list of conditions and the following disclaimer in the 129444SAndreas.Sandberg@ARM.com# documentation and/or other materials provided with the distribution; 139444SAndreas.Sandberg@ARM.com# neither the name of the copyright holders nor the names of its 142329SN/A# contributors may be used to endorse or promote products derived from 151689SN/A# this software without specific prior written permission. 161689SN/A# 171689SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 181689SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 191689SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 201689SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 211689SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 221689SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 231689SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 241689SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 251689SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 261689SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 271689SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 281689SN/A# 291689SN/A# Authors: Nathan Binkert 301689SN/A 311689SN/AImport('*') 321689SN/A 331689SN/Aneed_simple_base = False 341689SN/Aif 'AtomicSimpleCPU' in env['CPU_MODELS']: 351689SN/A need_simple_base = True 361689SN/A Source('atomic.cc') 371689SN/A 381689SN/Aif 'TimingSimpleCPU' in env['CPU_MODELS']: 392665Ssaidi@eecs.umich.edu need_simple_base = True 402665Ssaidi@eecs.umich.edu Source('timing.cc') 411689SN/A 421061SN/Aif need_simple_base: 432292SN/A Source('base.cc') 442292SN/A