All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandru Ardelean <ardeleanalex@gmail.com>
To: buildroot@buildroot.org
Cc: Alexandru Ardelean <ardeleanalex@gmail.com>
Subject: [Buildroot] [PATCH] package/cog: add libgbm as dependency when building with DRM support
Date: Thu, 21 Jul 2022 17:49:39 +0300	[thread overview]
Message-ID: <20220721144939.1265027-1-ardeleanalex@gmail.com> (raw)

When building with DRM support, it can happen that the libgbm library
is not yet built by the provider of libgbm (specified by
BR2_PACKAGE_PROVIDES_LIBGBM).

The docs in cog `docs/platform-drm.md` specify this dep-list:
- **WPEBackend-fdo**:
- **Wayland**:
- **libdrm**:
- **libgbm**:
- **libinput**:
- **libudev**:

libgbm needs to be added, whereas `libudev` is provided by systemd (in my
case).

What happens (in my case) is that cog gets built before mesa3d (which is
the libgbm provider).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
---

If this could be backported to branch '2022.05.x', it would be great :)
No worries if there is ont intent to do so.

 package/cog/cog.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/cog/cog.mk b/package/cog/cog.mk
index f2ca0af93d..1d68ef1b7e 100644
--- a/package/cog/cog.mk
+++ b/package/cog/cog.mk
@@ -28,7 +28,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_COG_PLATFORM_DRM),y)
 COG_CONF_OPTS += -DCOG_PLATFORM_DRM=ON
-COG_DEPENDENCIES += libdrm libinput
+COG_DEPENDENCIES += libdrm libinput libgbm
 else
 COG_CONF_OPTS += -DCOG_PLATFORM_DRM=OFF
 endif
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2022-07-21 14:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-21 14:49 Alexandru Ardelean [this message]
2022-07-21 16:16 ` [Buildroot] [PATCH] package/cog: add libgbm as dependency when building with DRM support Thomas Petazzoni via buildroot
2022-07-22  6:25   ` Alexandru Ardelean
2022-07-22  6:38     ` Alexandru Ardelean
2022-07-22  6:59       ` Thomas Petazzoni via buildroot
2022-07-22  7:01 ` [Buildroot] [PATCH v2] " Alexandru Ardelean
2022-07-22  7:05   ` Alexandru Ardelean
2022-07-23  8:48   ` Arnout Vandecappelle
     [not found]     ` <48-62dd4800-5-54f5770@160071985>
2022-07-24 13:50       ` Arnout Vandecappelle
2022-07-24 14:53       ` Thomas Petazzoni via buildroot
2022-07-26  8:29     ` Alexandru Ardelean
2022-08-12 15:05   ` Peter Korsgaard

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=20220721144939.1265027-1-ardeleanalex@gmail.com \
    --to=ardeleanalex@gmail.com \
    --cc=buildroot@buildroot.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.