codeworkx | f1be2fe | 2012-03-24 17:38:29 +0100 | [diff] [blame] | 1 | # |
| 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 | # |
| 16 | Building the UMP user space library for Linux |
| 17 | --------------------------------------------- |
| 18 | |
| 19 | A simple Makefile is provided, and the UMP user space library can be built |
| 20 | simply by issuing make. This Makefile is setup to use the ARM GCC compiler |
| 21 | from CodeSourcery, and it builds for ARMv6. Modification to this Makefile |
| 22 | is needed in order to build for other configurations. |
| 23 | |
| 24 | In order to use this library from the Mali GPU driver, invoke the Mali GPU |
| 25 | driver 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 | |
| 29 | This does not apply to Android builds, where the Android.mk file for the |
| 30 | Mali GPU driver needs to be manually edited in order to add the correct |
| 31 | include path and link against the correct library. |