]> code.ossystems Code Review - meta-freescale.git/commit
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:45:07 +0000 (14:45 -0300)
commit0212c3deb12183c724b48f94f0dfedfe7ef43362
tree891e179824b8db50e342d57f4578b0a239875d7e
parentee85b4db0c524b52230e162197fb74d3079c4a66
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 <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