summaryrefslogtreecommitdiffstats
path: root/package/lvm2
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2017-10-27 13:47:16 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-10-29 20:55:25 +0100
commitf71507d41bcb0059efa62a5c6cf787adefea08d6 (patch)
treef16f61d6a859b298ecdd78a4f524b5ef35e2a773 /package/lvm2
parent063b2a8121530d72389ca5a3aad7c9647f5a5c5b (diff)
downloadbuildroot-f71507d41bcb0059efa62a5c6cf787adefea08d6.tar.gz
buildroot-f71507d41bcb0059efa62a5c6cf787adefea08d6.zip
lvm2: make basic package available under musl
The basic lvm2 package (libdevmapper / dmsetup) does build under musl, only the standard (full) installation doesn't. Many setups only need the basic package, so move the !musl dependencies down to the sub options and adjust the reverse dependencies (cryptsetup/dmraid) to match. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> [Thomas: adjust Config.in comments and dependencies.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lvm2')
-rw-r--r--package/lvm2/Config.in16
1 files changed, 12 insertions, 4 deletions
diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
index 32c763978f..2fa3fc134e 100644
--- a/package/lvm2/Config.in
+++ b/package/lvm2/Config.in
@@ -3,8 +3,6 @@ config BR2_PACKAGE_LVM2
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # needs fork()
depends on !BR2_STATIC_LIBS # It fails to build statically
- # http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
- depends on !BR2_TOOLCHAIN_USES_MUSL
help
This is LVM2, the rewrite of The Linux Logical Volume Manager.
LVM supports enterprise level volume management of disk and
@@ -27,19 +25,29 @@ if BR2_PACKAGE_LVM2
config BR2_PACKAGE_LVM2_STANDARD_INSTALL
bool "standard install instead of only dmsetup"
+ # http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
+ depends on !BR2_TOOLCHAIN_USES_MUSL
default y if !BR2_PACKAGE_LVM2_DMSETUP_ONLY # legacy 2013.11
help
Install the standard suite of lvm2 programs. When this option
is not set, only dmsetup is installed.
+comment "lvm2 standard install needs a glibc or uClibc toolchain"
+ depends on BR2_TOOLCHAIN_USES_MUSL
+
config BR2_PACKAGE_LVM2_APP_LIBRARY
bool "install application library"
+ # http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
+ depends on !BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_LVM2_STANDARD_INSTALL
help
Install application library (liblvm2app).
+comment "lvm2 application library needs a glibc or uClibc toolchain"
+ depends on BR2_TOOLCHAIN_USES_MUSL
+
endif
-comment "lvm2 needs a glibc or uClibc toolchain w/ threads, dynamic library"
+comment "lvm2 needs a toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
- depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_MUSL
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud