Otherwise libgles3-mx6-dev has to be added manually to avoid error when
compiling on target:

| /usr/include/qt5/QtGui/qopengl.h:97:26: fatal error: GLES3/gl3.h: No such 
file or directory

As soon as there are seperate binaries for GLES3 this connetion can be removed.

Signed-off-by: Andreas Müller <schnitzelt...@googlemail.com>
---
 recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc 
b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
index e0071c9..00dcab7 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
@@ -280,6 +280,9 @@ FILES_libgles2-mx6-dbg = 
"${libdir}/.debug/libGLESv2${SOLIBS}"
 RDEPENDS_libgles2-mx6 = "libglslc-mx6"
 
 FILES_libgles3-mx6-dev = "${includedir}/GLES3"
+# as long as there is no libgles3-mx6: ship libgles3-mx6-dev along with
+# libgles2-mx6-dev - otherwise GLES3 headers have to be added manually
+RDEPENDS_libgles2-mx6-dev += "libgles3-mx6-dev"
 
 FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}"
 FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}"
-- 
1.9.3

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to