mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/weston: fix build without gbm
Fix the following build failure without gbm raised since commit534c22dd60: 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> (cherry picked from commit611c0cb198) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
39ae2f26f3
commit
90c05d1abf
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user