diff --git a/package/weston/weston.mk b/package/weston/weston.mk index 9f7405c57a..63c43a3231 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -28,6 +28,11 @@ WESTON_CONF_OPTS = \ WESTON_MAKE_OPTS = \ WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols +# Uses VIDIOC_EXPBUF, only available from 3.8+ +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8),) +WESTON_CONF_OPTS += --disable-simple-dmabuf-v4l-client +endif + ifeq ($(BR2_PACKAGE_DBUS),y) WESTON_CONF_OPTS += --enable-dbus WESTON_DEPENDENCIES += dbus