diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-12-03 20:27:18 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-12-04 09:52:55 +0100 |
commit | 09100a37507d2534503c0a1ac3857fc4571304e5 (patch) | |
tree | 666f266bb43c39097c23a962c869d6c42a206d03 /package/oprofile | |
parent | c38909db34038f02dd75e3968f03967739245824 (diff) |
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/oprofile')
-rw-r--r-- | package/oprofile/Config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in index 2847a914e..dff2a8cae 100644 --- a/package/oprofile/Config.in +++ b/package/oprofile/Config.in @@ -6,6 +6,8 @@ config BR2_PACKAGE_OPROFILE select BR2_PACKAGE_LIBPFM4 if BR2_powerpc depends on BR2_INSTALL_LIBSTDCPP depends on !BR2_aarch64 # binutils + # libpfm4 is needed on PowerPC, and requires thread support + depends on BR2_TOOLCHAIN_HAS_THREADS || !BR2_powerpc help OProfile is a system-wide profiler for Linux systems, capable of profiling all running code at low overhead. @@ -25,3 +27,7 @@ config BR2_PACKAGE_OPROFILE comment "oprofile needs a toolchain w/ C++" depends on BR2_USE_MMU && !BR2_aarch64 depends on !BR2_INSTALL_LIBSTDCPP + +comment "oprofile needs a toolchain w/ threads on PPC" + depends on BR2_USE_MMU && BR2_powerpc + depends on !BR2_TOOLCHAIN_HAS_THREADS |