xref: /OK3568_Linux_fs/buildroot/package/lvm2/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LVM2
2	bool "lvm2 & device mapper"
3	depends on BR2_TOOLCHAIN_HAS_THREADS
4	depends on BR2_USE_MMU # needs fork()
5	depends on !BR2_STATIC_LIBS # It fails to build statically
6	select BR2_PACKAGE_LIBAIO
7	help
8	  This is LVM2, the rewrite of The Linux Logical Volume Manager.
9	  LVM supports enterprise level volume management of disk and
10	  disk subsystems by grouping arbitrary disks into volume
11	  groups. The total capacity of volume groups can be allocated
12	  to logical volumes, which are accessed as regular block
13	  devices.
14
15	  The Linux Kernel Device Mapper is the LVM
16	  (Linux Logical Volume Management) Team's implementation of a
17	  minimalistic kernel-space driver that handles volume
18	  management, while keeping knowledge of the underlying device
19	  layout in user-space. This makes it useful for not only LVM,
20	  but EVMS, software raid, and other drivers that create
21	  "virtual" block devices.
22
23	  http://www.sourceware.org/lvm2/
24
25if BR2_PACKAGE_LVM2
26
27config BR2_PACKAGE_LVM2_STANDARD_INSTALL
28	bool "standard install instead of only dmsetup"
29	default y
30	# http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
31	depends on !BR2_TOOLCHAIN_USES_MUSL
32	help
33	  Install the standard suite of lvm2 programs. When this option
34	  is not set, only dmsetup is installed.
35
36comment "lvm2 standard install needs a glibc or uClibc toolchain"
37	depends on BR2_TOOLCHAIN_USES_MUSL
38
39endif
40
41comment "lvm2 needs a toolchain w/ threads, dynamic library"
42	depends on BR2_USE_MMU
43	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
44