imx-gpu-viv: fix compiling issues with EGL_API_FB
authorGary Bisson <gary.bisson@boundarydevices.com>
Thu, 11 Jan 2018 18:07:02 +0000 (19:07 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 12 Jan 2018 21:22:27 +0000 (22:22 +0100)
commit3cd1908292cdf65453f1aa93b4941b6911cae211
tree34b2c5cdc4c237acc69961191a991785ecfc8e3c
parentdbe64f4691e8e67066b4df0c91281674bdefeced
imx-gpu-viv: fix compiling issues with EGL_API_FB

Just like the previous commit did:
c9ecdd2b96 gpu-viv-bin-mx6q: fix compiling issues with EGL_API_FB

Difference is that in latest package, eglvivante.h is included after
a EGL_API_FB check in eglplatform.h, giving the following error:
/.../sysroot/usr/include/EGL/eglplatform.h:146:10:
 fatal error: X11/Xlib.h: No such file or directory
 #include <X11/Xlib.h>

Also, this patch introduce IMX_GPU_VIV_FIXUP_PKGCONFIG which fixes
the pkgconfig files (for some reason default egl.pc file isn't the
same as the one for fb target).

Finally, this patch removes references to libVIVANTE which is now
replaced by libVDK.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk