buildroot/package/ti-sgx-um/Config.in

45 lines
1.2 KiB
Plaintext

comment "ti-sgx-um needs udev and a glibc toolchain w/ threads"
depends on BR2_arm
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_USES_GLIBC \
|| !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_TI_SGX_UM
bool "ti-sgx-um"
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
depends on BR2_PACKAGE_HAS_UDEV
# pre-built binaries
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_arm
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
select BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_TI_SGX_KM if BR2_LINUX_KERNEL
help
Graphics libraries for TI CPUs with SGX5xx GPU.
This package supports AM335x, AM437x, AM4430 and AM5430.
For older CPUs or kernels use the ti-gfx package.
https://git.ti.com/cgit/graphics/omap5-sgx-ddk-um-linux
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"
config BR2_PACKAGE_PROVIDES_POWERVR
default "ti-sgx-um"
endif