diff mbox

[11/21] oprofile: add missing indirect dependency on NPTL for PPC

Message ID 1423010059-23446-12-git-send-email-arnout@mind.be
State Accepted
Headers show

Commit Message

Arnout Vandecappelle Feb. 4, 2015, 12:34 a.m. UTC
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/oprofile/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Peter Korsgaard Feb. 7, 2015, 8:14 p.m. UTC | #1
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 > ---
 >  package/oprofile/Config.in | 4 ++--
 >  1 file changed, 2 insertions(+), 2 deletions(-)

 > diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in
 > index 3ea07d9..8c9b39f 100644
 > --- a/package/oprofile/Config.in
 > +++ b/package/oprofile/Config.in
 > @@ -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

This should then also be !BR2_TOOLCHAIN_HAS_THREADS_NPTL.
diff mbox

Patch

diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in
index 3ea07d9..8c9b39f 100644
--- a/package/oprofile/Config.in
+++ b/package/oprofile/Config.in
@@ -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