Project import
diff --git a/gpulibs-2.8.6/Makefile b/gpulibs-2.8.6/Makefile new file mode 100644 index 0000000..c3c95de --- /dev/null +++ b/gpulibs-2.8.6/Makefile
@@ -0,0 +1,83 @@ +# +# Copyright (c) 2014 Nest Labs, Inc. +# All rights reserved. +# +# This document is the property of Nest. It is considered +# confidential and proprietary information. +# +# This document may not be reproduced or transmitted in any form, +# in whole or in part, without the express written permission of +# Nest. +# +# Description: +# This file is the makefile to install GPU Vendor libraries. +# + +include pre.mak + +PackageName := gpulibs + +############################################## +# following selection can become conditionally +# compiled based on SOC vendor and gpu type. +############################################## +GpuVendor = fsl +GpuType = gc400 +GpuLibsVer = 1.0 +GpuTop = ./$(GpuVendor)/$(GpuType) +GpuLibsDir = $(GpuTop)/$(GpuLibsVer)/lib +GpuIncDir = $(GpuTop)/$(GpuLibsVer)/include + +all: $(PackageDefaultGoal) + +# Prepare the sources. + +.PHONY: source +source: + +# Patch the sources, if necessary. + +.PHONY: patch +patch: source + +# Configure the source for building. + +.PHONY: configure +configure: source $(PackageBuildMakefile) + +# Build the source. + +.PHONY: build +build: configure + +# Stage the build to a temporary installation area. + +.PHONY: stage +stage: build stage-dirs | $(ResultDirectory) + +.PHONY: stage-dirs +stage-dirs: stage-lib stage-sbin stage-usrlib stage-usrbin stage-usrsbin + +.PHONY: stage-lib +stage-lib: + +include $(GpuTop)/fsl-vivante-gc400-1.0.mak + +.PHONY: stage-sbin +stage-sbin: + +.PHONY: stage-usrlib +stage-usrlib: + +.PHONY: stage-usrbin +stage-usrbin: + +.PHONY: stage-usrsbin +stage-usrsbin: + +clean: + $(Verbose)$(RM) $(RMFLAGS) -r $(PackageSourceDir) + $(Verbose)$(RM) $(RMFLAGS) -r $(BuildDirectory) + $(Verbose)$(RM) $(RMFLAGS) -r $(ResultDirectory) + +include post.mak