Skip to contentSkip to conversation

openipmi: needs NPTL support

PATCH New Thomas Petazzoni 1 participant 2 messages Aug 9, 2016 – Aug 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openipmi: needs NPTL support

openipmi uses the pthread_condattr_setclock() function, which is only available with the NPTL thread implementation.

Fixes:

http://autobuild.buildroot.net/results/fc4084f8d1ff3fe98066c7cc051c2127bbe77ec5/

---
 package/openipmi/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/openipmi/Config.in +3 -3
index da88657..d8c94b3 100644
@@ -2,7 +2,7 @@ config BR2_PACKAGE_OPENIPMI
 	bool "openipmi"
 	depends on BR2_USE_MMU # fork()
 	depends on !BR2_STATIC_LIBS # dlopen()
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	select BR2_PACKAGE_POPT
 	select BR2_PACKAGE_NCURSES
 	help
@@ -13,6 +13,6 @@ config BR2_PACKAGE_OPENIPMI
 
 	  http://openipmi.sourceforge.net
 
-comment "openipmi needs a toolchain w/ dynamic library, threads"
+comment "openipmi needs a toolchain w/ dynamic library, NPTL"
 	depends on BR2_USE_MMU
-	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
Signature · 1 line
2.7.4
author Applied
#1 lore raw

PATCH 1/1 openipmi: needs NPTL support

Hello,

Quoted 11 lines · Thomas Petazzoni

openipmi uses the pthread_condattr_setclock() function, which is only available with the NPTL thread implementation.

Fixes:

http://autobuild.buildroot.net/results/fc4084f8d1ff3fe98066c7cc051c2127bbe77ec5/

---
 package/openipmi/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com