Skip to contentSkip to conversation

libtirpc: needs threads

PATCH New Axel Lin 2 participants 2 messages Sep 7, 2013 – Sep 12, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 libtirpc: needs threads

Fixes:
http://autobuild.buildroot.net/results/250/25008a6f0a854e1e29a3340536eef817eeb5752e/

---
 package/libtirpc/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/libtirpc/Config.in +1 -0
index b9db5aa..a2dadce 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_LIBTIRPC
 	# used instead of libtirpc.
 	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
 		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Libtirpc is a port of Sun's Transport-Independent RPC
 	  library to Linux.
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 libtirpc: needs threads

Dear Axel Lin,

Quoted 13 lines · Axel Lin

Fixes:
http://autobuild.buildroot.net/results/250/25008a6f0a854e1e29a3340536eef817eeb5752e/

---
 package/libtirpc/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/libtirpc/Config.in +0 -0
index b9db5aa..a2dadce 100644

package/libtirpc/Config.in config BR2_PACKAGE_LIBTIRPC · line 13

Quoted 7 lines
package/libtirpc/Config.in +1 -0
@@ -7,6 +7,7 @@ config BR2_PACKAGE_LIBTIRPC
 	# used instead of libtirpc.
 	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
 		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Libtirpc is a port of Sun's Transport-Independent RPC
 	  library to Linux.

This doesn't work because there are packages that select BR2_PACKAGE_LIBTIRPC, so the thread dependency should be propagated to those packages.

Samuel already submitted such a patch a while ago
(http://patchwork.ozlabs.org/patch/244409/). It'd be good to refresh it and resend.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com