All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/cog: add libgbm as dependency when building with DRM support
@ 2022-07-21 14:49 Alexandru Ardelean
  2022-07-21 16:16 ` Thomas Petazzoni via buildroot
  2022-07-22  7:01 ` [Buildroot] [PATCH v2] " Alexandru Ardelean
  0 siblings, 2 replies; 12+ messages in thread
From: Alexandru Ardelean @ 2022-07-21 14:49 UTC (permalink / raw)
  To: buildroot; +Cc: Alexandru Ardelean

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

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-08-12 15:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-21 14:49 [Buildroot] [PATCH] package/cog: add libgbm as dependency when building with DRM support Alexandru Ardelean
2022-07-21 16:16 ` 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

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.