blob: ee87d46aa4d33a403aa0e7d56c0a9ac029fa6b7b [file] [log] [blame]
comment "ti-sgx-um needs the ti-sgx-km driver"
depends on !BR2_PACKAGE_TI_SGX_KM
comment "ti-sgx-um needs udev and a glibc toolchain w/ threads"
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_PACKAGE_TI_SGX_KM
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
depends on BR2_PACKAGE_HAS_UDEV # ti-sgx-libgbm
# pre-built binaries
depends on BR2_TOOLCHAIN_USES_GLIBC
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_LIBDRM_OMAP
select BR2_PACKAGE_HAS_LIBEGL
select BR2_PACKAGE_HAS_LIBGLES
select BR2_PACKAGE_HAS_POWERVR
select BR2_PACKAGE_TI_SGX_LIBGBM
select BR2_PACKAGE_LIBFFI
select BR2_PACKAGE_WAYLAND
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_LIBGLES
default "ti-sgx-um"
config BR2_PACKAGE_PROVIDES_POWERVR
default "ti-sgx-um"
endif