Skip to contentSkip to conversation

weston: check for both EGL and GLES

PATCH New Gustavo Zacarias 2 participants 2 messages Apr 8, 2016

lore
Share & tools
lore
#0 lore raw

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
index 7706599..1f31097 100644
@@ -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
#1 lore raw

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) 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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard