config BR2_PACKAGE_STRESS_NG
	bool "stress-ng"
	depends on BR2_USE_MMU # fork()
	# perf.c needs PERF_COUNT_HW_REF_CPU_CYCLES
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
	# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2 and ARC
	depends on !BR2_nios2
	depends on !BR2_arc
	help
	  stress-ng will stress test a computer system in various
	  selectable ways. It was designed to exercise various physical
	  subsystems of a computer as well as the various operating
	  system kernel interfaces.

	  http://kernel.ubuntu.com/~cking/stress-ng/

comment "stress-ng needs a toolchain w/ headers >= 3.3"
	depends on !BR2_nios2 && !BR2_arc
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
