3c87cc9e42
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 f1894ec957
which
enabled DRI drivers for non-xorg builds. Fixes:
http://autobuild.buildroot.net/results/174/1743ee5a340e5f4b1f8519e0b11eb196caa4f30e/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
673 B
Plaintext
25 lines
673 B
Plaintext
config BR2_PACKAGE_GLMARK2_EGL_GLES
|
|
bool
|
|
default y
|
|
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
|
|
depends on BR2_PACKAGE_MESA3D_OPENGL_ES
|
|
|
|
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"
|
|
depends on !BR2_PACKAGE_GLMARK2_GL && !BR2_PACKAGE_GLMARK2_EGL_GLES
|
|
|
|
config BR2_PACKAGE_GLMARK2
|
|
bool "glmark2"
|
|
depends on BR2_PACKAGE_GLMARK2_GL || BR2_PACKAGE_GLMARK2_EGL_GLES
|
|
select BR2_PACKAGE_JPEG
|
|
select BR2_PACKAGE_LIBPNG
|
|
help
|
|
glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.
|
|
|
|
https://github.com/glmark2/glmark2
|