From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ipDYm-0000tA-7h for ptxdist@pengutronix.de; Wed, 08 Jan 2020 16:47:53 +0100 Received: by mail-wm1-x342.google.com with SMTP id d73so3014895wmd.1 for ; Wed, 08 Jan 2020 07:47:52 -0800 (PST) From: =?UTF-8?q?Guillermo=20Rodr=C3=ADguez?= Date: Wed, 8 Jan 2020 16:47:47 +0100 Message-Id: <20200108154747.29602-1-guille.rodriguez@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] Weston: Fix compilation for certain DRM targets List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: =?UTF-8?q?Guillermo=20Rodr=C3=ADguez?= 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 --- 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 ptxdist@pengutronix.de