aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2017-10-22 20:05:21 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-12-27 10:52:24 +0100
commit1d297433dcaea55170c4efe5338e92c79052b2b0 (patch)
treee62587f1d4b6f32a73a30a40c4e6a50a965f7aa4
parent241f5078efbca85360820bc7e86d8e2cb1a148c1 (diff)
downloadbuildroot-1d297433dcaea55170c4efe5338e92c79052b2b0.tar.gz
buildroot-1d297433dcaea55170c4efe5338e92c79052b2b0.tar.bz2
package/weston: fix build with OpenGL ES disabled
Building this defconfig BR2_TOOLCHAIN_BUILDROOT_LOCALE=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y BR2_PACKAGE_MESA3D_OPENGL_EGL=y BR2_PACKAGE_WESTON=y BR2_PACKAGE_XORG7=y is broken: CC clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o clients/simple-dmabuf-drm.c: In function 'create_display': clients/simple-dmabuf-drm.c:758:15: warning: implicit declaration of function 'eglQueryString' [-Wimplicit-function-declaration] extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS); ^~~~~~~~~~~~~~ clients/simple-dmabuf-drm.c:758:30: error: 'EGL_NO_DISPLAY' undeclared (first use in this function) extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS); ^~~~~~~~~~~~~~ clients/simple-dmabuf-drm.c:758:30: note: each undeclared identifier is reported only once for each function it appears in clients/simple-dmabuf-drm.c:758:46: error: 'EGL_EXTENSIONS' undeclared (first use in this function) extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS); ^~~~~~~~~~~~~~ clients/simple-dmabuf-drm.c:759:21: warning: implicit declaration of function 'weston_check_egl_extension' [-Wimplicit-function-declaration] if (extensions && !weston_check_egl_extension(extensions, Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (cherry picked from commit be420d12f10d5b2c9c5d3675c73b2dffc3a66e3c) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/weston/weston.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index 93b0246e9e..638954f034 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -57,6 +57,7 @@ WESTON_DEPENDENCIES += libegl
else
WESTON_CONF_OPTS += \
--disable-egl \
+ --disable-simple-dmabuf-drm-client \
--disable-simple-egl-clients
endif