Skip to contentSkip to conversation

glmark2: narrow down libgl requirements

PATCH New Gustavo Zacarias 2 participants 2 messages Apr 15, 2016 – May 14, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glmark2: narrow down libgl requirements

Mesa3d DRI drivers can be enabled without support for libgl (for example without x11). So make glmark2 gl (x11) support depend on BR2_PACKAGE_HAS_LIBGL being present as well.
It doesn't exactly mean mesa3d providing libgl, but since we can't have more than one libgl provider at the same time it's equivalent. This is fallout from f1894ec95728806e09405d26663e0ea371afaeab which enabled DRI drivers for non-xorg builds. Fixes:
http://autobuild.buildroot.net/results/174/1743ee5a340e5f4b1f8519e0b11eb196caa4f30e/

---
 package/glmark2/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/glmark2/Config.in +1 -0
index 052e820..433da0a 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_GLMARK2_EGL_GLES
 config BR2_PACKAGE_GLMARK2_GL
 	bool
 	default y
+	depends on BR2_PACKAGE_HAS_LIBGL
 	depends on BR2_PACKAGE_MESA3D_DRI_DRIVER
 
 comment "glmark2 needs an OpenGL or an openGL ES and EGL backend provided by mesa3d"
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 glmark2: narrow down libgl requirements

Hello,

Quoted 9 lines · Gustavo Zacarias

Mesa3d DRI drivers can be enabled without support for libgl (for example without x11). So make glmark2 gl (x11) support depend on BR2_PACKAGE_HAS_LIBGL being present as well.
It doesn't exactly mean mesa3d providing libgl, but since we can't have more than one libgl provider at the same time it's equivalent. This is fallout from f1894ec95728806e09405d26663e0ea371afaeab which enabled DRI drivers for non-xorg builds. Fixes:
http://autobuild.buildroot.net/results/174/1743ee5a340e5f4b1f8519e0b11eb196caa4f30e/

Quoted 4 lines
---
 package/glmark2/Config.in | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com