diff options
author | Jeremy Stashluk <stashluk@gmail.com> | 2013-02-08 10:22:48 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-02-08 14:49:36 -0200 |
commit | fe74a3c81c25a78a1121970c0bed43921e7fb1e1 (patch) | |
tree | ec9fd4c6a9e1dc81b1d795973e419accefe90e31 | |
parent | c2cbd977ee7ffa53f715222a13feec599b9836d1 (diff) | |
download | meta-fsl-arm-fe74a3c81c25a78a1121970c0bed43921e7fb1e1.tar.gz |
gpu-viv-bin-mx6q: fix gc_vdk_types include path
The Freescale 12.09 release of the Vivante GPU binaries for i.MX6 bundles the
gc_hal_*.h headers into the /usr/include/HAL directory. As packaged, inclusion
of gc_vdk_types.h causes compilation to fail. Problem also exists when building
with LTIB.
Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 6 | ||||
-rw-r--r-- | recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch | 33 |
2 files changed, 37 insertions, 2 deletions
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc index 1f63a0b..c7e3eab 100644 --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | |||
@@ -7,11 +7,13 @@ LICENSE = "Proprietary" | |||
7 | LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=092bc28e13d678ceaebe1a40559275fb" | 7 | LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=092bc28e13d678ceaebe1a40559275fb" |
8 | PROVIDES += "virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 libvivante-dri-mx6" | 8 | PROVIDES += "virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 libvivante-dri-mx6" |
9 | 9 | ||
10 | INC_PR = "r1" | 10 | INC_PR = "r2" |
11 | 11 | ||
12 | inherit fsl-eula-unpack | 12 | inherit fsl-eula-unpack |
13 | 13 | ||
14 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | 14 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \ |
15 | file://0001-change-header-path-to-HAL.patch \ | ||
16 | " | ||
15 | 17 | ||
16 | PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ | 18 | PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ |
17 | libegl-fb-mx6 libegl-fb-mx6-dev libegl-fb-mx6-dbg \ | 19 | libegl-fb-mx6 libegl-fb-mx6-dev libegl-fb-mx6-dbg \ |
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch new file mode 100644 index 0000000..31fad1e --- /dev/null +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 1a4a35678ef70283d1a31835deecd39711a9db86 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jeremy Stashluk <jstashluk@dekaresearch.com> | ||
3 | Date: Wed, 30 Jan 2013 13:16:53 -0500 | ||
4 | Subject: [PATCH] change header path to HAL | ||
5 | |||
6 | The gpu-viv-bin-mx6q package from Freescale puts this header in the HAL | ||
7 | directory under the system. I think this is a problem in the LTIB release as | ||
8 | well. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com> | ||
13 | |||
14 | --- | ||
15 | usr/include/gc_vdk_types.h | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/usr/include/gc_vdk_types.h b/usr/include/gc_vdk_types.h | ||
19 | index 11514f9..8e3dfe4 100644 | ||
20 | --- a/usr/include/gc_vdk_types.h | ||
21 | +++ b/usr/include/gc_vdk_types.h | ||
22 | @@ -26,7 +26,7 @@ extern "C" { | ||
23 | #endif | ||
24 | |||
25 | #include <EGL/egl.h> | ||
26 | -#include "gc_hal_eglplatform.h" | ||
27 | +#include <HAL/gc_hal_eglplatform.h> | ||
28 | |||
29 | /******************************************************************************* | ||
30 | ** vdkPrivate. ***************************************************************** | ||
31 | -- | ||
32 | 1.7.9.5 | ||
33 | |||