gpu-viv-bin-mx6q: fix compiling issues with EGL_API_FB
authorJérôme Pouiller <jezz@sysmic.org>
Thu, 30 Apr 2015 15:12:17 +0000 (17:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 May 2015 20:57:18 +0000 (22:57 +0200)
commitc9ecdd2b96ece42468e1dbaa26dbeda152aabd90
tree5fe8805b406b0b42af3dd9ac3c49add3bd4a2e9e
parentf0964c8dc4d8273c81df4f1d3386322374bc095f
gpu-viv-bin-mx6q: fix compiling issues with EGL_API_FB

To compile with Vivante header and use framebuffer, it is necessary to
pass option -DEGL_API_FB. This option is declared in pkg-config file of
Vivante library. But many packages (especialy qt5 components) does not
consider these flags.

So instead of patching every packages that use EGL, it is more
convenient to patch Vivante headers.

This commit add #define EGL_API_FB on top of eglvivante.h when
necessary.

[Thomas: fix syntax error.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/freescale-imx/gpu-viv-bin-mx6q/egl.pc
package/freescale-imx/gpu-viv-bin-mx6q/glesv2.pc
package/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk
package/freescale-imx/gpu-viv-bin-mx6q/vg.pc