aboutsummaryrefslogtreecommitdiff
path: root/package/libpfm4
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-03 20:27:18 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2013-12-04 09:52:55 +0100
commit09100a37507d2534503c0a1ac3857fc4571304e5 (patch)
tree666f266bb43c39097c23a962c869d6c42a206d03 /package/libpfm4
parentc38909db34038f02dd75e3968f03967739245824 (diff)
downloadbuildroot-09100a37507d2534503c0a1ac3857fc4571304e5.tar.gz
buildroot-09100a37507d2534503c0a1ac3857fc4571304e5.tar.bz2
libpfm4: needs thread support
Fixes: http://autobuild.buildroot.net/results/73d736dd3c8a70358ef4b19a63dda46178cf8bf1/ Note that the propagation of the thread dependency to the oprofile package is a little bit non standard, because oprofile selects libpfm4 only on the PowerPC architecture. So we ensure the thread dependency is only enforced on PowerPC, and a separate comment is displayed when thread support is not available, but the PowerPC architecture is used. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libpfm4')
-rw-r--r--package/libpfm4/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libpfm4/Config.in b/package/libpfm4/Config.in
index 3908e7890b..1c2fbdcb0e 100644
--- a/package/libpfm4/Config.in
+++ b/package/libpfm4/Config.in
@@ -1,8 +1,12 @@
config BR2_PACKAGE_LIBPFM4
bool "libpfm4"
depends on !BR2_avr32 # no perf_event_open
+ 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