aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-03-17 18:46:53 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-03-17 23:03:15 +0100
commit118b5a051ed51eb8e8e0d83fa843b98c7005c35e (patch)
tree86f68aa6700c15480fa2cd93f0304c0bfa9e3997
parent221fd0cdac28e8b3448f4c640d3410abe40451e8 (diff)
downloadbuildroot-118b5a051ed51eb8e8e0d83fa843b98c7005c35e.tar.gz
buildroot-118b5a051ed51eb8e8e0d83fa843b98c7005c35e.tar.bz2
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>
-rw-r--r--package/cryptsetup/Config.in6
-rw-r--r--package/dmraid/Config.in6
-rw-r--r--package/lvm2/Config.in6
3 files changed, 12 insertions, 6 deletions
diff --git a/package/cryptsetup/Config.in b/package/cryptsetup/Config.in
index 8405963c65..354579469a 100644
--- a/package/cryptsetup/Config.in
+++ b/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
diff --git a/package/dmraid/Config.in b/package/dmraid/Config.in
index fc370bd57d..2e3a3fafb2 100644
--- a/package/dmraid/Config.in
+++ b/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
diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
index 3f8a52d47e..1251faecc3 100644
--- a/package/lvm2/Config.in
+++ b/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