comment "ti-sgx-km needs a Linux kernel to be built"
	depends on BR2_arm
	depends on !BR2_LINUX_KERNEL

config BR2_PACKAGE_TI_SGX_KM
	bool "ti-sgx-km"
	depends on BR2_LINUX_KERNEL && BR2_arm
	select BR2_LINUX_NEEDS_MODULES
	help
	  Kernel modules for TI CPUs with SGX GPU.
	  This package supports AM335x, AM437x, AM4430 and AM5430.
	  It builds the kernel module and the user space binaries.
	  For older CPUs or kernels use the ti-gfx package.

	  Note: it needs a TI specific kernel to build properly.

	  http://git.ti.com/graphics/omap5-sgx-ddk-linux

if BR2_PACKAGE_TI_SGX_KM

choice
	prompt "Target"
	default BR2_PACKAGE_TI_SGX_AM335X
	help
	  Select the SOC for which you would like to install drivers.

config BR2_PACKAGE_TI_SGX_AM335X
	bool "AM335x"
	help
	  AM335x CPU

config BR2_PACKAGE_TI_SGX_AM437X
	bool "AM437x"
	help
	  AM437x CPU

config BR2_PACKAGE_TI_SGX_AM4430
	bool "AM4430"
	help
	  AM4430 CPU

config BR2_PACKAGE_TI_SGX_AM5430
	bool "AM5430"
	help
	  AM5430 CPU

endchoice

endif
