Config.in 978 Bytes
comment "ti-sgx-um needs the ti-sgx-km driver"
	depends on !BR2_PACKAGE_TI_SGX_KM

comment "ti-sgx-um needs a glibc toolchain w/ threads"
	depends on !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
	# 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
	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.

	  http://git.ti.com/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