package/weston: fix build without gbm
Fix the following build failure without gbm raised since commit
534c22dd60
:
Message: dmabuf-feedback requires gbm which was not found. If you rather not build this, drop "dmabuf-feedback" from simple-clients option.
Move the option assignment further down, below all the simple-clients
lists; in Makefile, and because we are usign simply expanded variables,
this is not necessary, but it is easier on us humans when we review the
code.
Also add a comment explaining why the initial list is incomplete.
Fixes:
- http://autobuild.buildroot.org/results/ebbba1d73ceeaacee17fde0c6c853415cd316091
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
e53a8593b4
commit
611c0cb198
@ -23,11 +23,9 @@ WESTON_CONF_OPTS = \
|
||||
-Dtools=calibrator,debug,info,terminal,touch-calibrator
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WESTON_SIMPLE_CLIENTS),y)
|
||||
# Note: some clients are conditional, see further for the others.
|
||||
WESTON_SIMPLE_CLIENTS = \
|
||||
damage \
|
||||
dmabuf-egl \
|
||||
dmabuf-feedback \
|
||||
egl \
|
||||
im \
|
||||
shm \
|
||||
touch
|
||||
@ -38,8 +36,6 @@ WESTON_SIMPLE_CLIENTS += dmabuf-v4l
|
||||
endif
|
||||
endif # BR2_PACKAGE_WESTON_SIMPLE_CLIENTS
|
||||
|
||||
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
|
||||
@ -57,6 +53,9 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND)$(BR2_PACKAGE_HAS_LIBGBM)$(BR2_PACKAGE_HAS_LIBGLES),yyy)
|
||||
WESTON_CONF_OPTS += -Drenderer-gl=true
|
||||
WESTON_DEPENDENCIES += libegl libgbm libgles
|
||||
ifeq ($(BR2_PACKAGE_WESTON_SIMPLE_CLIENTS),y)
|
||||
WESTON_SIMPLE_CLIENTS += dmabuf-egl dmabuf-feedback egl
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_PIPEWIRE)$(BR2_PACKAGE_WESTON_DRM),yy)
|
||||
WESTON_CONF_OPTS += -Dpipewire=true -Dbackend-pipewire=true
|
||||
WESTON_DEPENDENCIES += pipewire
|
||||
@ -70,6 +69,8 @@ WESTON_CONF_OPTS += \
|
||||
-Dbackend-pipewire=false
|
||||
endif
|
||||
|
||||
WESTON_CONF_OPTS += -Dsimple-clients=$(subst $(space),$(comma),$(strip $(WESTON_SIMPLE_CLIENTS)))
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WESTON_RDP),y)
|
||||
WESTON_DEPENDENCIES += freerdp
|
||||
WESTON_CONF_OPTS += -Dbackend-rdp=true
|
||||
|
Loading…
Reference in New Issue
Block a user