oprofile: add missing indirect dependency on NPTL for PPC

[Peter: also adjust comment dependencies]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Arnout Vandecappelle 2015-02-04 01:34:09 +01:00 committed by Peter Korsgaard
parent 2ca1d299ae
commit bacdf4c8e9

View file

@ -9,7 +9,7 @@ config BR2_PACKAGE_OPROFILE
depends on BR2_USE_WCHAR # binutils
depends on !BR2_xtensa
# libpfm4 is needed on PowerPC, and requires thread support
depends on BR2_TOOLCHAIN_HAS_THREADS || !BR2_powerpc
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_powerpc
help
OProfile is a system-wide profiler for Linux systems,
capable of profiling all running code at low overhead.
@ -31,6 +31,6 @@ comment "oprofile needs a toolchain w/ C++, wchar"
depends on !BR2_aarch64 && !BR2_nios2 && !BR2_xtensa
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
comment "oprofile needs a toolchain w/ threads on PPC"
comment "oprofile needs a toolchain w/ NPTL on PPC"
depends on BR2_USE_MMU && BR2_powerpc
depends on !BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL