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