]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: Fix i.MX 8 and 8X binary compatibility
authorTom Hochstein <tom.hochstein@nxp.com>
Mon, 13 May 2019 15:08:05 +0000 (10:08 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 12 Sep 2019 17:42:09 +0000 (14:42 -0300)
The removal of gl32.h for 8QXP can cause build breaks in a multi-machine
build folder like the following:

| .../build/tmp/work/imx8qxpmek-poky-linux/gstreamer1.0-plugins-good-qt/1.14.4.imx-r0/recipe-sysroot/usr/include/QtGui/qopengl.h:105:13: fatal error: GLES3/gl32.h: No such file or directory
|  #   include <GLES3/gl32.h>

To make the ABI safe for 8 and 8X, which have a shared PACKAGE_ARCH,
provide gl32.h in both cases. The lack of support can then be handled
by a runtime error.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc

index 477b5d18ca62a467e210b6dad99ee44f01efbf95..9bda6f54adeab004035ba6f34227789770db8f71 100644 (file)
@@ -140,7 +140,7 @@ HAS_GBM_mx8 = "true"
 
 GLES3_HEADER_REMOVALS        = "gl31.h gl32.h"
 GLES3_HEADER_REMOVALS_mx8mq  = "gl32.h"
-GLES3_HEADER_REMOVALS_mx8qxp = "gl32.h"
+GLES3_HEADER_REMOVALS_mx8qxp = ""
 GLES3_HEADER_REMOVALS_mx8qm  = ""
 
 do_install () {