![Peter Korsgaard](/assets/img/avatar_default.png)
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>
18 lines
589 B
Plaintext
18 lines
589 B
Plaintext
config BR2_PACKAGE_DMRAID
|
|
bool "dmraid"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
|
|
depends on BR2_USE_MMU # lvm2
|
|
depends on !BR2_STATIC_LIBS # lvm2
|
|
select BR2_PACKAGE_LVM2
|
|
help
|
|
dmraid discovers, activates, deactivates and displays
|
|
properties of software RAID sets (eg, ATARAID) and contained
|
|
DOS partitions.
|
|
|
|
dmraid uses the Linux device-mapper to create devices with
|
|
respective mappings for the ATARAID sets discovered.
|
|
|
|
comment "dmraid needs a toolchain w/ threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|