weston: check for both EGL and GLES
PATCH 1/1 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.
--- package/weston/weston.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/weston/weston.mk +1 -1
@@ -48,7 +48,7 @@ WESTON_CONF_OPTS += --disable-weston-launch endif # Needs wayland-egl, which normally only mesa provides -ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_ES)$(BR2_PACKAGE_MESA3D_OPENGL_GLES),yy) +ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL)$(BR2_PACKAGE_MESA3D_OPENGL_ES),yy) WESTON_CONF_OPTS += --enable-egl WESTON_DEPENDENCIES += libegl else
Signature · 1 line
2.7.3
PATCH 1/1 weston: check for both EGL and GLES
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
The conditional is wrong, it was check for
BR2_PACKAGE_MESA3D_OPENGL_ES(correct, means GLESv2 support) andBR2_PACKAGE_MESA3D_OPENGL_GLES(incorrect, there's no such symbol).
So now check forBR2_PACKAGE_MESA3D_OPENGL_EGL(EGL support) plusBR2_PACKAGE_MESA3D_OPENGL_ES(GLESv2 support), both are required.Signed-off-by Gustavo Zacarias <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard