]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: ship libgles3-mx6-dev along with libgles2-mx6-dev
authorAndreas Müller <schnitzeltony@googlemail.com>
Sat, 21 Feb 2015 10:41:35 +0000 (11:41 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 21 Feb 2015 13:34:48 +0000 (11:34 -0200)
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 <schnitzeltony@googlemail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc

index e0071c9ddc808118121c5e440e70ab5ff28dfe13..00dcab7608b0a21c55e59691efaf230be23b8aef 100644 (file)
@@ -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}"