weston: check for both EGL and GLES
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 8 Apr 2016 13:42:37 +0000 (10:42 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 8 Apr 2016 20:11:32 +0000 (22:11 +0200)
commit1e14605ba859532d65bc598f9c66561528c6fd84
tree1d66547fa480ee19a7fb5643ed1f1c0f9059ee39
parent45db3f4294f6bc2faf8f009300a84b105c29e59f
weston: check for both EGL and GLES

The conditional is wrong, it was check for BR2_PACKAGE_MESA3D_OPENGL_ES
(correct, means GLESv2 support) and BR2_PACKAGE_MESA3D_OPENGL_GLES
(incorrect, there's no such symbol).
So now check for BR2_PACKAGE_MESA3D_OPENGL_EGL (EGL support) plus
BR2_PACKAGE_MESA3D_OPENGL_ES (GLESv2 support), both are required.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/weston/weston.mk