aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorJeremy Stashluk <stashluk@gmail.com>2013-02-08 10:22:48 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2013-02-08 14:49:36 -0200
commitfe74a3c81c25a78a1121970c0bed43921e7fb1e1 (patch)
treeec9fd4c6a9e1dc81b1d795973e419accefe90e31 /recipes-graphics
parentc2cbd977ee7ffa53f715222a13feec599b9836d1 (diff)
downloadmeta-fsl-arm-fe74a3c81c25a78a1121970c0bed43921e7fb1e1.tar.gz
meta-fsl-arm-fe74a3c81c25a78a1121970c0bed43921e7fb1e1.tar.bz2
meta-fsl-arm-fe74a3c81c25a78a1121970c0bed43921e7fb1e1.zip
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>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc6
-rw-r--r--recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch33
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"
LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=092bc28e13d678ceaebe1a40559275fb"
PROVIDES += "virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 libvivante-dri-mx6"
-INC_PR = "r1"
+INC_PR = "r2"
inherit fsl-eula-unpack
-SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \
+ file://0001-change-header-path-to-HAL.patch \
+ "
PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \
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 @@
+From 1a4a35678ef70283d1a31835deecd39711a9db86 Mon Sep 17 00:00:00 2001
+From: Jeremy Stashluk <jstashluk@dekaresearch.com>
+Date: Wed, 30 Jan 2013 13:16:53 -0500
+Subject: [PATCH] change header path to HAL
+
+The gpu-viv-bin-mx6q package from Freescale puts this header in the HAL
+directory under the system. I think this is a problem in the LTIB release as
+well.
+
+Upstream-Status: Pending
+
+Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com>
+
+---
+ usr/include/gc_vdk_types.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/usr/include/gc_vdk_types.h b/usr/include/gc_vdk_types.h
+index 11514f9..8e3dfe4 100644
+--- a/usr/include/gc_vdk_types.h
++++ b/usr/include/gc_vdk_types.h
+@@ -26,7 +26,7 @@ extern "C" {
+ #endif
+
+ #include <EGL/egl.h>
+-#include "gc_hal_eglplatform.h"
++#include <HAL/gc_hal_eglplatform.h>
+
+ /*******************************************************************************
+ ** vdkPrivate. *****************************************************************
+--
+1.7.9.5
+