SConscript revision 11294:a368064a2ab5
1955SN/A# -*- mode:python -*- 2955SN/A 35871Snate@binkert.org# Copyright (c) 2015 ARM Limited 41762SN/A# All rights reserved. 5955SN/A# 6955SN/A# The license below extends only to copyright in the software and shall 7955SN/A# not be construed as granting a license to any other intellectual 8955SN/A# property including but not limited to intellectual property relating 9955SN/A# to a hardware implementation of the functionality of the software 10955SN/A# licensed hereunder. You may use the software subject to the license 11955SN/A# terms below provided that you ensure that this notice is replicated 12955SN/A# unmodified and in its entirety in all distributions of the software, 13955SN/A# modified or unmodified, in source code or in binary form. 14955SN/A# 15955SN/A# Redistribution and use in source and binary forms, with or without 16955SN/A# modification, are permitted provided that the following conditions are 17955SN/A# met: redistributions of source code must retain the above copyright 18955SN/A# notice, this list of conditions and the following disclaimer; 19955SN/A# redistributions in binary form must reproduce the above copyright 20955SN/A# notice, this list of conditions and the following disclaimer in the 21955SN/A# documentation and/or other materials provided with the distribution; 22955SN/A# neither the name of the copyright holders nor the names of its 23955SN/A# contributors may be used to endorse or promote products derived from 24955SN/A# this software without specific prior written permission. 25955SN/A# 26955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 292665Ssaidi@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 302665Ssaidi@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 315863Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 32955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 33955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 34955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 35955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 36955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 372632Sstever@eecs.umich.edu# 382632Sstever@eecs.umich.edu# Authors: Andreas Sandberg 392632Sstever@eecs.umich.edu 402632Sstever@eecs.umich.eduImport('main') 41955SN/A 422632Sstever@eecs.umich.edumain.Prepend(CPPPATH=Dir('./include')) 432632Sstever@eecs.umich.edu 442761Sstever@eecs.umich.edunomali = main.Clone() 452632Sstever@eecs.umich.edunomali.Append(CCFLAGS=['-Wno-ignored-qualifiers']) 462632Sstever@eecs.umich.edu 472632Sstever@eecs.umich.edunomali_sources = [ 482761Sstever@eecs.umich.edu "lib/gpu.cc", 492761Sstever@eecs.umich.edu "lib/gpublock.cc", 502761Sstever@eecs.umich.edu "lib/gpucontrol.cc", 512632Sstever@eecs.umich.edu "lib/jobcontrol.cc", 522632Sstever@eecs.umich.edu "lib/jobslot.cc", 532761Sstever@eecs.umich.edu "lib/mali_midgard.cc", 542761Sstever@eecs.umich.edu "lib/mali_t6xx.cc", 552761Sstever@eecs.umich.edu "lib/mali_t7xx.cc", 562761Sstever@eecs.umich.edu "lib/mmu.cc", 572761Sstever@eecs.umich.edu "lib/nomali_api.cc", 582632Sstever@eecs.umich.edu] 592632Sstever@eecs.umich.edu 602632Sstever@eecs.umich.edunomali.Library('nomali', [ nomali.SharedObject(f) for f in nomali_sources ]) 612632Sstever@eecs.umich.edu 622632Sstever@eecs.umich.edumain.Append(LIBS=['nomali']) 632632Sstever@eecs.umich.edumain.Prepend(LIBPATH=[Dir('.')]) 642632Sstever@eecs.umich.edu 65955SN/A