Patchwork libfuse: needs threads

login
register
mail settings
Submitter Gustavo Zacarias
Date Dec. 9, 2012, 2:05 p.m.
Message ID <1355061941-10170-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/204700/
State Accepted
Headers show

Comments

Gustavo Zacarias - Dec. 9, 2012, 2:05 p.m.
libfuse needs threads, fixes:
http://autobuild.buildroot.net/results/0111a67b9ed5f5f5dfc0725d009ea5c756c1755c

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/libfuse/Config.in |    5 +++--
 package/sshfs/Config.in   |    1 +
 package/unionfs/Config.in |    1 +
 3 files changed, 5 insertions(+), 2 deletions(-)
Peter Korsgaard - Dec. 9, 2012, 8:35 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> libfuse needs threads, fixes:
 Gustavo> http://autobuild.buildroot.net/results/0111a67b9ed5f5f5dfc0725d009ea5c756c1755c

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Gustavo> ---
 Gustavo>  package/libfuse/Config.in |    5 +++--
 Gustavo>  package/sshfs/Config.in   |    1 +
 Gustavo>  package/unionfs/Config.in |    1 +

You forgot to update the sshfs/unionfs comments to match, but I fixed
that and committed, thanks.

Patch

diff --git a/package/libfuse/Config.in b/package/libfuse/Config.in
index dffadf8..2e9b7dc 100644
--- a/package/libfuse/Config.in
+++ b/package/libfuse/Config.in
@@ -1,10 +1,11 @@ 
 config BR2_PACKAGE_LIBFUSE
 	bool "libfuse"
 	depends on BR2_LARGEFILE
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  FUSE (Filesystem in UserSpacE)
 
 	  http://fuse.sourceforge.net/
 
-comment "libfuse requires a toolchain with LARGEFILE support"
-        depends on !BR2_LARGEFILE
+comment "libfuse requires a toolchain with LARGEFILE and threads support"
+        depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/sshfs/Config.in b/package/sshfs/Config.in
index 37188ba..f729143 100644
--- a/package/sshfs/Config.in
+++ b/package/sshfs/Config.in
@@ -7,6 +7,7 @@  config BR2_PACKAGE_SSHFS
 	select BR2_PACKAGE_OPENSSH
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
 	help
 	  FUSE filesystem client based on the SSH File Transfer Protocol.
 
diff --git a/package/unionfs/Config.in b/package/unionfs/Config.in
index a974c8c..84dd7d7 100644
--- a/package/unionfs/Config.in
+++ b/package/unionfs/Config.in
@@ -2,6 +2,7 @@  config BR2_PACKAGE_UNIONFS
 	bool "unionfs (FUSE)"
 	select BR2_PACKAGE_LIBFUSE
 	depends on BR2_LARGEFILE
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
 	help
 	  A userspace unionfs implementation.