summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-04-08 10:42:37 -0300
committerPeter Korsgaard <peter@korsgaard.com>2016-04-08 22:11:32 +0200
commit1e14605ba859532d65bc598f9c66561528c6fd84 (patch)
tree1d66547fa480ee19a7fb5643ed1f1c0f9059ee39
parent45db3f4294f6bc2faf8f009300a84b105c29e59f (diff)
downloadbuildroot-1e14605ba859532d65bc598f9c66561528c6fd84.tar.gz
buildroot-1e14605ba859532d65bc598f9c66561528c6fd84.zip
weston: check for both EGL and GLES
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> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/weston/weston.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index 7aa21304fc..e3088ffcad 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -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_EGL)$(BR2_PACKAGE_MESA3D_OPENGL_ES),yy)
WESTON_CONF_OPTS += --enable-egl
WESTON_DEPENDENCIES += libegl
else
OpenPOWER on IntegriCloud