SConscript revision 12047
14202Sbinkertn@umich.edu#!python
24202Sbinkertn@umich.edu
34202Sbinkertn@umich.edu# Copyright (c) 2016, Dresden University of Technology (TU Dresden)
44202Sbinkertn@umich.edu# All rights reserved.
54202Sbinkertn@umich.edu#
64202Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without
74202Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are
84202Sbinkertn@umich.edu# met:
94202Sbinkertn@umich.edu#
104202Sbinkertn@umich.edu# 1. Redistributions of source code must retain the above copyright notice,
114202Sbinkertn@umich.edu#    this list of conditions and the following disclaimer.
124202Sbinkertn@umich.edu#
134202Sbinkertn@umich.edu# 2. Redistributions in binary form must reproduce the above copyright
144202Sbinkertn@umich.edu#    notice, this list of conditions and the following disclaimer in the
154202Sbinkertn@umich.edu#    documentation and/or other materials provided with the distribution.
164202Sbinkertn@umich.edu#
174202Sbinkertn@umich.edu# 3. Neither the name of the copyright holder nor the names of its
184202Sbinkertn@umich.edu#    contributors may be used to endorse or promote products derived from
194202Sbinkertn@umich.edu#    this software without specific prior written permission.
204202Sbinkertn@umich.edu#
214202Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
224202Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
234202Sbinkertn@umich.edu# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
244202Sbinkertn@umich.edu# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER
254202Sbinkertn@umich.edu# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
264202Sbinkertn@umich.edu# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
274202Sbinkertn@umich.edu# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
284202Sbinkertn@umich.edu# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
294202Sbinkertn@umich.edu# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
304202Sbinkertn@umich.edu# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
314202Sbinkertn@umich.edu# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
324202Sbinkertn@umich.edu#
335952Ssaidi@eecs.umich.edu# Authors: Christian Menard
345952Ssaidi@eecs.umich.edu
355952Ssaidi@eecs.umich.eduImport('env')
3612230Sgiacomo.travaglini@arm.comImport('deps')
375548Snate@binkert.org
3812226Sgiacomo.travaglini@arm.comenv = env.Clone()
394202Sbinkertn@umich.edu
4012230Sgiacomo.travaglini@arm.comsrc = [File('main.cc'), File('sc_target.cc')]
4112230Sgiacomo.travaglini@arm.com
427067Snate@binkert.orgbin = env.Program('gem5.sc', src + deps)
4312376Sgabeblack@google.com
445882Snate@binkert.orgReturn('bin')
454550Sbinkertn@umich.edu