summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-04-04 15:34:01 -0300
committerPeter Korsgaard <peter@korsgaard.com>2016-04-05 21:34:06 +0200
commit312aa0d381583a6e736f9a8912191e5ce84f3f0d (patch)
tree19f991f1ae530870cc0cbb2fe7f6669a1f591439
parent42b845aac5fe7d7cbd76efd13e7c82dd4a906aa8 (diff)
downloadbuildroot-312aa0d381583a6e736f9a8912191e5ce84f3f0d.tar.gz
buildroot-312aa0d381583a6e736f9a8912191e5ce84f3f0d.zip
weston: egl requires gles as well
>From configure.ac lines 83-89: AC_ARG_ENABLE(egl, [ --disable-egl],, enable_egl=yes) AM_CONDITIONAL(ENABLE_EGL, test x$enable_egl = xyes) if test x$enable_egl = xyes; then AC_DEFINE([ENABLE_EGL], [1], [Build Weston with EGL support]) PKG_CHECK_MODULES(EGL, [egl glesv2]) PKG_CHECK_MODULES([EGL_TESTS], [egl glesv2 wayland-client wayland-egl]) It also requires wayland-egl which is only provided by mesa3d for now, hence make it conditional on mesa3d egl+gles. 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 2891fe3246..7aa21304fc 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_HAS_LIBEGL)$(BR2_PACKAGE_MESA3D_OPENGL_EGL),yy)
+ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_ES)$(BR2_PACKAGE_MESA3D_OPENGL_GLES),yy)
WESTON_CONF_OPTS += --enable-egl
WESTON_DEPENDENCIES += libegl
else
OpenPOWER on IntegriCloud