All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] weston: check for both EGL and GLES
@ 2016-04-08 13:42 Gustavo Zacarias
  2016-04-08 20:11 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2016-04-08 13:42 UTC (permalink / raw)
  To: buildroot

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>
---
 package/weston/weston.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index 7706599..1f31097 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -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
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] weston: check for both EGL and GLES
  2016-04-08 13:42 [Buildroot] [PATCH] weston: check for both EGL and GLES Gustavo Zacarias
@ 2016-04-08 20:11 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2016-04-08 20:11 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> 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.

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-08 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-08 13:42 [Buildroot] [PATCH] weston: check for both EGL and GLES Gustavo Zacarias
2016-04-08 20:11 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.