[Buildroot] [PATCH] openipmi: needs NPTL support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 9 12:44:44 UTC 2016


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

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/openipmi/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/openipmi/Config.in b/package/openipmi/Config.in
index da88657..d8c94b3 100644
--- a/package/openipmi/Config.in
+++ b/package/openipmi/Config.in
@@ -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
-- 
2.7.4



More information about the buildroot mailing list