lvm2: needs threads

lvm2 needs threads because of commit
35d3713bdc
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>
This commit is contained in:
Gustavo Zacarias 2014-03-17 18:46:53 -03:00 committed by Peter Korsgaard
parent 221fd0cdac
commit 118b5a051e
3 changed files with 12 additions and 6 deletions

View 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

View 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

View 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