config BR2_PACKAGE_LIBPFM4
	bool "libpfm4"
	depends on !BR2_avr32 # no perf_event_open
	depends on !BR2_xtensa && !BR2_bfin # no nptl or linuxthreads (new)
	depends on BR2_TOOLCHAIN_HAS_THREADS
	help
	  A helper library to help encode Performance Events to use with
	  Operating system kernels performance monitoring interfaces.

	  http://perfmon2.sourceforge.net/

comment "libpfm4 needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_avr32 && !BR2_xtensa && !BR2_bfin
