浏览代码

lvm2: needs threads

lvm2 needs threads because of commit
35d3713bdc20a3ac22537ca04b0c1c6deab625cc
Fixes:
http://autobuild.buildroot.net/results/b4d/b4dcd9e98c4ea61f81b28675c0f87cfb2341f091/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias 11 年之前
父节点
当前提交
118b5a051e
共有 3 个文件被更改,包括 12 次插入6 次删除
  1. 4 2
      package/cryptsetup/Config.in
  2. 4 2
      package/dmraid/Config.in
  3. 4 2
      package/lvm2/Config.in

+ 4 - 2
package/cryptsetup/Config.in

@@ -6,6 +6,7 @@ config BR2_PACKAGE_CRYPTSETUP
 	select BR2_PACKAGE_E2FSPROGS
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	depends on BR2_LARGEFILE # lvm2, util-linux
+	depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
 	depends on BR2_USE_MMU # lvm2, e2fsprogs
 	depends on !BR2_PREFER_STATIC_LIB # lvm2
 	depends on BR2_USE_WCHAR # util-linux
@@ -15,6 +16,7 @@ config BR2_PACKAGE_CRYPTSETUP
 
 	  https://code.google.com/p/cryptsetup/
 
-comment "cryptsetup needs a toolchain w/ largefile, wchar, dynamic library"
+comment "cryptsetup needs a toolchain w/ largefile, wchar, threads, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR  || BR2_PREFER_STATIC_LIB
+	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || \
+		BR2_PREFER_STATIC_LIB || !BR2_TOOLCHAIN_HAS_THREADS

+ 4 - 2
package/dmraid/Config.in

@@ -1,6 +1,7 @@
 config BR2_PACKAGE_DMRAID
 	bool "dmraid"
 	depends on BR2_LARGEFILE
+	depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
 	depends on BR2_USE_MMU # lvm2
 	depends on !BR2_PREFER_STATIC_LIB # lvm2
 	select BR2_PACKAGE_LVM2
@@ -11,6 +12,7 @@ config BR2_PACKAGE_DMRAID
 	  dmraid uses the Linux device-mapper to create devices with
 	  respective mappings for the ATARAID sets discovered.
 
-comment "dmraid needs a toolchain w/ largefile, dynamic library"
+comment "dmraid needs a toolchain w/ largefile, threads, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB
+	depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB || \
+		!BR2_TOOLCHAIN_HAS_THREADS

+ 4 - 2
package/lvm2/Config.in

@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LVM2
 	bool "lvm2 & device mapper"
 	depends on BR2_LARGEFILE
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU # needs fork()
 	depends on !BR2_PREFER_STATIC_LIB # It fails to build statically
 	help
@@ -34,6 +35,7 @@ config BR2_PACKAGE_LVM2_APP_LIBRARY
 
 endif
 
-comment "lvm2 needs a toolchain w/ largefile, dynamic library"
+comment "lvm2 needs a toolchain w/ largefile, threads, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB
+	depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB || \
+		!BR2_TOOLCHAIN_HAS_THREADS