If none of LIBDRM_INTEL, LIBDRM_FREEDRENO, or LIBDRM_ETNAVIV is defined, the simple-dmabuf-drm Meson option is set to an empty list, which breaks compilation. Fix this by setting the option to 'auto' in this case.
Signed-off-by: Guillermo Rodriguez <[email protected]> --- rules/weston.make | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rules/weston.make b/rules/weston.make index eaabebe61..45b9c6ea6 100644 --- a/rules/weston.make +++ b/rules/weston.make @@ -35,6 +35,10 @@ endif WESTON_SIMPLE_DMABUF_DRM-$(PTXCONF_WESTON_SIMPLE_DMABUF_DRM_FREEDRENO) += freedreno WESTON_SIMPLE_DMABUF_DRM-$(PTXCONF_WESTON_SIMPLE_DMABUF_DRM_ETNAVIV) += etnaviv +ifeq ($(WESTON_SIMPLE_DMABUF_DRM-y),) +WESTON_SIMPLE_DMABUF_DRM-y := auto +endif + WESTON_SIMPLE_CLIENTS-y := damage im shm touch WESTON_SIMPLE_CLIENTS-$(PTXCONF_WESTON_GL) += egl dmabuf-egl -- 2.21.0 _______________________________________________ ptxdist mailing list [email protected]
