package/weston: fix the configuration of simple-clients
commit7329a0db44
"weston: disable v4l simple dmabuf for headers < 3.8" disabled dmabuf-v4l-client when kernel headers are older than v3.8. This commit was made at the time the weston package was at version 1.10.0, using the autotools package infra. commite672eb5c39
"package/weston: bump to version 8.0.0" replaced the package infra to meson (since upstream deprecated autotools). This commit changed a disable of dmabuf-v4l-client in autotools, by enabling it only if supported. The end result is that the current meson package recipe disable ALL simple clients, or just enable dmabuf-v4l-client when supported. In all cases, all other weston simple clients are disabled. This behavior is not convenient since some of those simple clients are useful to test the correct operation of Weston and the rest of the graphic stack. This commit fixes this issue by enabling all supported simple clients. Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
d6dde8fc0c
commit
534c22dd60
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user