Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/3] package/glmark2: drm-glesv2 needs libdrm
@ 2021-11-13  9:30 Bernd Kuhls
  2021-11-13  9:30 ` [Buildroot] [PATCH v2 2/3] package/glmark2: drm-glesv2 needs libgbm Bernd Kuhls
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Bernd Kuhls @ 2021-11-13  9:30 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.net/results/58a/58a498fac83cbb55b252ab54cd8db04570bb5ec9/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: moved libdrm select to main symbol (Yann)

 package/glmark2/Config.in  | 3 +++
 package/glmark2/glmark2.mk | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/glmark2/Config.in b/package/glmark2/Config.in
index 40d0adcc8a..3ef3a0e8e3 100644
--- a/package/glmark2/Config.in
+++ b/package/glmark2/Config.in
@@ -7,6 +7,8 @@ config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2
 	depends on BR2_PACKAGE_HAS_LIBEGL
 	depends on BR2_PACKAGE_HAS_LIBGLES
 	depends on BR2_PACKAGE_HAS_UDEV
+	# libpthread-stubs -> libdrm
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
 
 config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GL
@@ -63,6 +65,7 @@ config BR2_PACKAGE_GLMARK2
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
 	depends on BR2_PACKAGE_GLMARK2_FLAVOR_ANY
 	select BR2_PACKAGE_JPEG
+	select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2
 	select BR2_PACKAGE_LIBPNG
 	help
 	  glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.
diff --git a/package/glmark2/glmark2.mk b/package/glmark2/glmark2.mk
index 5c2dd06362..5ad3ea2cb4 100644
--- a/package/glmark2/glmark2.mk
+++ b/package/glmark2/glmark2.mk
@@ -11,7 +11,7 @@ GLMARK2_LICENSE_FILES = COPYING COPYING.SGI
 GLMARK2_DEPENDENCIES = host-pkgconf jpeg libegl libpng
 
 ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2),y)
-GLMARK2_DEPENDENCIES += libgles udev
+GLMARK2_DEPENDENCIES += libdrm libgles udev
 GLMARK2_FLAVORS += drm-glesv2
 endif
 
-- 
2.30.2

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

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

end of thread, other threads:[~2021-11-18  6:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-13  9:30 [Buildroot] [PATCH v2 1/3] package/glmark2: drm-glesv2 needs libdrm Bernd Kuhls
2021-11-13  9:30 ` [Buildroot] [PATCH v2 2/3] package/glmark2: drm-glesv2 needs libgbm Bernd Kuhls
2021-11-13  9:53   ` Yann E. MORIN
2021-11-17 22:01   ` Peter Korsgaard
     [not found]   ` <87h7catpaz.fsf__1784.76354792423$1637186493$gmane$org@dell.be.48ers.dk>
2021-11-18  6:30     ` Bernd Kuhls
2021-11-13  9:30 ` [Buildroot] [PATCH 3/3] package/glmark2: fix selection of dependencies Bernd Kuhls
2021-11-13  9:52   ` Yann E. MORIN
2021-11-17 21:59   ` Peter Korsgaard
2021-11-13  9:53 ` [Buildroot] [PATCH v2 1/3] package/glmark2: drm-glesv2 needs libdrm Yann E. MORIN
2021-11-17 22:00 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox