buildroot/package/glmark2/Config.in
Bernd Kuhls 4b831565d0 package/glmark2: rework selection of flavours
https://git.buildroot.net/buildroot/commit/?id=cf66a67112cd706d2e71665e45e8f6453fd53963
was not enough to fix building glmark2 because it was possible to
configure buildroot in a way that no flavour would be active:
http://lists.busybox.net/pipermail/buildroot/2019-October/261943.html
http://lists.busybox.net/pipermail/buildroot/2019-October/261944.html

The broken defconfig was fixed
https://git.buildroot.net/buildroot/commit/?id=ca6f9504dd3825fe4fbd0b4a4b3eea4261032d03

but we need to fix the selection of flavours to ensure that at least
on flavour is available:
http://lists.busybox.net/pipermail/buildroot/2019-October/262022.html

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-10-16 22:46:53 +02:00

69 lines
1.8 KiB
Plaintext

config BR2_PACKAGE_GLMARK2_FLAVOR_ANY
bool
config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2
bool
default y
depends on BR2_PACKAGE_HAS_LIBEGL
depends on BR2_PACKAGE_HAS_LIBGLES
depends on BR2_PACKAGE_HAS_UDEV
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GL
bool
default y
depends on BR2_PACKAGE_HAS_LIBEGL
depends on BR2_PACKAGE_HAS_LIBGL
depends on BR2_PACKAGE_HAS_UDEV
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2
bool
default y
depends on BR2_PACKAGE_HAS_LIBEGL
depends on BR2_PACKAGE_HAS_LIBGLES
depends on BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL
bool
default y
depends on BR2_PACKAGE_HAS_LIBEGL
depends on BR2_PACKAGE_HAS_LIBGL
depends on BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
config BR2_PACKAGE_GLMARK2_FLAVOR_X11_GLESV2
bool
default y
depends on BR2_PACKAGE_HAS_LIBEGL
depends on BR2_PACKAGE_HAS_LIBGLES
depends on BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
config BR2_PACKAGE_GLMARK2_FLAVOR_X11_GL
bool
default y
depends on BR2_PACKAGE_HAS_LIBGL
depends on BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
comment "glmark2 needs a toolchain w/ C++, gcc >= 4.9"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
comment "glmark2 needs an OpenGL or an openGL ES and EGL backend"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_INSTALL_LIBSTDCPP
depends on !BR2_PACKAGE_GLMARK2_FLAVOR_ANY
config BR2_PACKAGE_GLMARK2
bool "glmark2"
depends on BR2_INSTALL_LIBSTDCPP
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_LIBPNG
help
glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.
https://github.com/glmark2/glmark2