config BR2_PACKAGE_OPTEE_BENCHMARK
	bool "optee-benchmark"
	depends on BR2_USE_MMU # fork()
	depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client
	depends on !BR2_STATIC_LIBS # optee-client
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client
	select BR2_PACKAGE_OPTEE_CLIENT
	select BR2_PACKAGE_LIBYAML
	help
	  Enable the OP-TEE benchmark package that brings facilities
	  for profiling traversal and execution timings when
	  invoking OP-TEE. OP-TEE benchmark is a component delivered
	  by the OP-TEE project.

	  http://github.com/linaro-swg/optee_benchmark

comment "optee-benchmark needs a toolchain w/ threads, dynamic library, headers >= 4.3"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
