[Buildroot] [git commit] glmark2: narrow down libgl requirements

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat May 14 13:22:28 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=3c87cc9e424a7752c06b5f51cc81c2a0260cc7e0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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/

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/glmark2/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/glmark2/Config.in b/package/glmark2/Config.in
index 9167fc5..c8380b1 100644
--- a/package/glmark2/Config.in
+++ b/package/glmark2/Config.in
@@ -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"



More information about the buildroot mailing list