package/ti-sgx-um: make it a provider of libgbm

The OpenGL ES implementation provides a libgbm implementation, so
provide the corresponding virtual package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Petazzoni 2022-01-08 17:55:01 +01:00
parent 203f0a917d
commit f8b6d3931f
2 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,8 @@ config BR2_PACKAGE_TI_SGX_UM
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_LIBDRM_OMAP
select BR2_PACKAGE_HAS_LIBEGL
select BR2_PACKAGE_HAS_LIBGBM
select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF
select BR2_PACKAGE_HAS_LIBGLES
select BR2_PACKAGE_HAS_POWERVR
select BR2_PACKAGE_LIBFFI
@ -31,6 +33,9 @@ if BR2_PACKAGE_TI_SGX_UM
config BR2_PACKAGE_PROVIDES_LIBEGL
default "ti-sgx-um"
config BR2_PACKAGE_PROVIDES_LIBGBM
default "ti-sgx-um"
config BR2_PACKAGE_PROVIDES_LIBGLES
default "ti-sgx-um"

View File

@ -11,7 +11,7 @@ TI_SGX_UM_SITE_METHOD = git
TI_SGX_UM_LICENSE = TI TSPA License
TI_SGX_UM_LICENSE_FILES = TI-Linux-Graphics-DDK-UM-Manifest.doc
TI_SGX_UM_INSTALL_STAGING = YES
TI_SGX_UM_PROVIDES = libegl libgles powervr
TI_SGX_UM_PROVIDES = libegl libgbm libgles powervr
TI_SGX_UM_TARGET=ti335x
# ti-sgx-um is a egl/gles provider only if libdrm is installed