summaryrefslogtreecommitdiff
path: root/package/weston
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-04-08 10:35:21 -0300
committerPeter Korsgaard <peter@korsgaard.com>2016-04-08 22:12:24 +0200
commit8adc5224089ebb34bd83f3a43347835931fee77f (patch)
treeb8ad1b385adbddd6d0af3f5a681c998c5583f413 /package/weston
parent1e14605ba859532d65bc598f9c66561528c6fd84 (diff)
weston: don't forcibly disable simple EGL clients
Only do so when there's no EGL. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/weston')
-rw-r--r--package/weston/weston.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index e3088ffca..1f3109798 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -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_EGL)$(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)