blob: 297df38bb6af87836e63e09edd8b634808dce365 [file] [log] [blame]
codeworkxf1be2fe2012-03-24 17:38:29 +01001#
2# Copyright (C) 2010-2011 ARM Limited. All rights reserved.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16Building the UMP user space library for Linux
17---------------------------------------------
18
19A simple Makefile is provided, and the UMP user space library can be built
20simply by issuing make. This Makefile is setup to use the ARM GCC compiler
21from CodeSourcery, and it builds for ARMv6. Modification to this Makefile
22is needed in order to build for other configurations.
23
24In order to use this library from the Mali GPU driver, invoke the Mali GPU
25driver build system with the following two make variables set;
26- UMP_INCLUDE_DIR should point to the include folder inside this package
27- UMP_LIB should point to the built library (libUMP.so)
28
29This does not apply to Android builds, where the Android.mk file for the
30Mali GPU driver needs to be manually edited in order to add the correct
31include path and link against the correct library.