weston: remove dependency on mesa3d to enable egl
authorGary Bisson <gary.bisson@boundarydevices.com>
Wed, 16 May 2018 15:52:00 +0000 (17:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 19 May 2018 20:46:19 +0000 (22:46 +0200)
Other packages can actually provide Wayland libraries like imx-gpu-viv.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/weston/weston.mk

index e9de56b2c6296e3b9c93958924f9792e12a02c56..efe12bc01ebb19d9478bd87661389f30fb35447e 100644 (file)
@@ -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