--- /dev/null
+config BR2_PACKAGE_LIBPFM4
+ bool "libpfm4"
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
+ 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/ NPTL"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL