package/glmark2: drm-glesv2 needs libdrm

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: comment on same line as depends-on]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Bernd Kuhls 2021-11-13 10:30:07 +01:00 committed by Yann E. MORIN
parent 4a36af9450
commit 5b401925ba
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@ 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
depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs -> libdrm
select BR2_PACKAGE_GLMARK2_FLAVOR_ANY
config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GL
@ -61,6 +62,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
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2

View File

@ -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