From: Tom Hochstein Date: Mon, 13 May 2019 15:08:05 +0000 (-0500) Subject: imx-gpu-viv: Fix i.MX 8 and 8X binary compatibility X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7f38486aa5ed8a0904499b0ce30e3ceefba30d85;p=meta-freescale.git imx-gpu-viv: Fix i.MX 8 and 8X binary compatibility 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 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 --- diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index 477b5d18..9bda6f54 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc @@ -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 () {