lvm2: needs threads
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 17 Mar 2014 21:46:53 +0000 (18:46 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 17 Mar 2014 22:03:15 +0000 (23:03 +0100)
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>
package/cryptsetup/Config.in
package/dmraid/Config.in
package/lvm2/Config.in

index 8405963c655099b47f89766d740bdc1873216d91..354579469aeb0a635ec7b3ac325d989efd6ce08e 100644 (file)
@@ -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
index fc370bd57db4c5d6847d73cdedb1118a9bda2159..2e3a3fafb2998516562a88c82b9249302ecd4bda 100644 (file)
@@ -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
index 3f8a52d47ed0f95ca2a8fb5a6165097578df6669..1251faecc3ff967047b45563df5faf8f15877da9 100644 (file)
@@ -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