diff --git a/package/weston/weston.mk b/package/weston/weston.mk index 437c6f2e38..5f8d915d5a 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -22,13 +22,22 @@ WESTON_CONF_OPTS = \ -Dlauncher-libseat=true \ -Dtools=calibrator,debug,info,terminal,touch-calibrator -# Uses VIDIOC_EXPBUF, only available from 3.8+ +WESTON_SIMPLE_CLIENTS = \ + damage \ + dmabuf-egl \ + dmabuf-feedback \ + egl \ + im \ + shm \ + touch + ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8),y) -WESTON_CONF_OPTS += -Dsimple-clients=dmabuf-v4l -else -WESTON_CONF_OPTS += -Dsimple-clients= +# dmabuf-v4l uses VIDIOC_EXPBUF, only available from 3.8+ +WESTON_SIMPLE_CLIENTS += dmabuf-v4l endif +WESTON_CONF_OPTS += -Dsimple-clients=$(subst $(space),$(comma),$(strip $(WESTON_SIMPLE_CLIENTS))) + ifeq ($(BR2_PACKAGE_JPEG),y) WESTON_CONF_OPTS += -Dimage-jpeg=true WESTON_DEPENDENCIES += jpeg