Skip to contentSkip to conversation

weston: fix typo in EGL/GLES support conditional

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 weston: fix typo in EGL/GLES support conditional

It's BR2_PACKAGE_MESA3D_OPENGL_ES and not
BR2_PACKAGE_MESA3D_OPENGL_GLES, ouch.

---
 package/weston/weston.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/weston/weston.mk +1 -1
index 7aa2130..a0e2358 100644
@@ -49,7 +49,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_ES)$(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 2/2 weston: don't forcibly disable simple EGL clients

Only do so when there's no EGL.

---
 package/weston/weston.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/weston/weston.mk +3 -2
index a0e2358..c98689b 100644
@@ -16,7 +16,6 @@ WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \
 
 WESTON_CONF_OPTS = \
 	--with-dtddir=$(STAGING_DIR)/usr/share/wayland \
-	--disable-simple-egl-clients \
 	--disable-xwayland \
 	--disable-x11-compositor \
 	--disable-wayland-compositor \
@@ -53,7 +52,9 @@ ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_ES)$(BR2_PACKAGE_MESA3D_OPENGL_ES),yy)
 WESTON_CONF_OPTS += --enable-egl
 WESTON_DEPENDENCIES += libegl
 else
-WESTON_CONF_OPTS += --disable-egl
+WESTON_CONF_OPTS += \
+	--disable-egl \
+	--disable-simple-egl-clients
 endif
 
 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
Signature · 1 line
2.7.3