From: "Guillermo Rodríguez" <guille.rodriguez@gmail.com>
To: ptxdist@pengutronix.de
Cc: "Guillermo Rodríguez" <guille.rodriguez@gmail.com>
Subject: [ptxdist] [PATCH] Weston: Fix compilation for certain DRM targets
Date: Wed, 8 Jan 2020 16:47:47 +0100 [thread overview]
Message-ID: <20200108154747.29602-1-guille.rodriguez@gmail.com> (raw)
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 <guille.rodriguez@gmail.com>
---
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
next reply other threads:[~2020-01-08 15:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-08 15:47 Guillermo Rodríguez [this message]
2020-01-10 9:13 ` Michael Olbrich
2020-01-13 8:50 ` Guillermo Rodriguez Garcia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200108154747.29602-1-guille.rodriguez@gmail.com \
--to=guille.rodriguez@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox