[2/3] weston: remove dependency on mesa3d to enable egl

Message ID 20180516155201.10279-3-gary.bisson@boundarydevices.com
State Accepted
Headers show
Series
  • imx: add Wayland GPU libs / Weston-imx support
Related show

Commit Message

Gary Bisson May 16, 2018, 3:52 p.m.
Other packages can actually provide Wayland libraries like imx-gpu-viv.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
---
 package/weston/weston.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Thomas Petazzoni May 19, 2018, 8:46 p.m. | #1
Hello,

On Wed, 16 May 2018 17:52:00 +0200, Gary Bisson wrote:
> Other packages can actually provide Wayland libraries like imx-gpu-viv.
> 
> Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
> ---
>  package/weston/weston.mk | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Applied to next, thanks.

Thomas

Patch

diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index e9de56b2c6..efe12bc01e 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -50,8 +50,7 @@  else
 WESTON_CONF_OPTS += --disable-weston-launch
 endif
 
-# Needs wayland-egl, which normally only mesa provides
-ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL)$(BR2_PACKAGE_MESA3D_OPENGL_ES),yy)
+ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND),y)
 WESTON_CONF_OPTS += --enable-egl
 WESTON_DEPENDENCIES += libegl
 else