SConscript revision 12047
19793Sakash.bagdia@arm.com#!python
27586SAli.Saidi@arm.com
37586SAli.Saidi@arm.com# Copyright (c) 2016, Dresden University of Technology (TU Dresden)
47586SAli.Saidi@arm.com# All rights reserved.
57586SAli.Saidi@arm.com#
67586SAli.Saidi@arm.com# Redistribution and use in source and binary forms, with or without
77586SAli.Saidi@arm.com# modification, are permitted provided that the following conditions are
87586SAli.Saidi@arm.com# met:
97586SAli.Saidi@arm.com#
107586SAli.Saidi@arm.com# 1. Redistributions of source code must retain the above copyright notice,
117586SAli.Saidi@arm.com#    this list of conditions and the following disclaimer.
127586SAli.Saidi@arm.com#
133970Sgblack@eecs.umich.edu# 2. Redistributions in binary form must reproduce the above copyright
143005Sstever@eecs.umich.edu#    notice, this list of conditions and the following disclaimer in the
153005Sstever@eecs.umich.edu#    documentation and/or other materials provided with the distribution.
163005Sstever@eecs.umich.edu#
173005Sstever@eecs.umich.edu# 3. Neither the name of the copyright holder nor the names of its
183005Sstever@eecs.umich.edu#    contributors may be used to endorse or promote products derived from
193005Sstever@eecs.umich.edu#    this software without specific prior written permission.
203005Sstever@eecs.umich.edu#
213005Sstever@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
223005Sstever@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
233005Sstever@eecs.umich.edu# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
243005Sstever@eecs.umich.edu# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER
253005Sstever@eecs.umich.edu# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
263005Sstever@eecs.umich.edu# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
273005Sstever@eecs.umich.edu# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
283005Sstever@eecs.umich.edu# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
293005Sstever@eecs.umich.edu# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
303005Sstever@eecs.umich.edu# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
313005Sstever@eecs.umich.edu# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
323005Sstever@eecs.umich.edu#
333005Sstever@eecs.umich.edu# Authors: Christian Menard
343005Sstever@eecs.umich.edu
353005Sstever@eecs.umich.eduImport('env')
363005Sstever@eecs.umich.eduImport('deps')
373005Sstever@eecs.umich.edu
383005Sstever@eecs.umich.eduenv = env.Clone()
393005Sstever@eecs.umich.edu
403005Sstever@eecs.umich.edusrc = [File('main.cc'), File('sc_target.cc')]
416654Snate@binkert.org
426654Snate@binkert.orgbin = env.Program('gem5.sc', src + deps)
432889SN/A
442710SN/AReturn('bin')
456654Snate@binkert.org