mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/libblockdev: add support for lvm plugin
Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
63759893f7
commit
05c46e723a
@@ -36,6 +36,15 @@ comment "filesystem plugin needs a toolchain w/ locale"
|
|||||||
config BR2_PACKAGE_LIBBLOCKDEV_LOOP
|
config BR2_PACKAGE_LIBBLOCKDEV_LOOP
|
||||||
bool "loop"
|
bool "loop"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIBBLOCKDEV_LVM2
|
||||||
|
bool "lvm2"
|
||||||
|
depends on BR2_ENABLE_LOCALE # parted
|
||||||
|
select BR2_PACKAGE_PARTED
|
||||||
|
select BR2_PACKAGE_LVM2
|
||||||
|
|
||||||
|
comment "lvm2 support needs a toolchain w/ locale"
|
||||||
|
depends on !BR2_ENABLE_LOCALE
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library"
|
comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library"
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ LIBBLOCKDEV_CONF_OPTS = \
|
|||||||
--without-dmraid \
|
--without-dmraid \
|
||||||
--without-escrow \
|
--without-escrow \
|
||||||
--without-kbd \
|
--without-kbd \
|
||||||
--without-lvm \
|
|
||||||
--without-lvm_dbus \
|
--without-lvm_dbus \
|
||||||
--without-mdraid \
|
--without-mdraid \
|
||||||
--without-mpath \
|
--without-mpath \
|
||||||
@@ -55,4 +54,11 @@ else
|
|||||||
LIBBLOCKDEV_CONF_OPTS += --without-loop
|
LIBBLOCKDEV_CONF_OPTS += --without-loop
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_LVM2),y)
|
||||||
|
LIBBLOCKDEV_DEPENDENCIES += lvm2 parted
|
||||||
|
LIBBLOCKDEV_CONF_OPTS += --with-lvm
|
||||||
|
else
|
||||||
|
LIBBLOCKDEV_CONF_OPTS += --without-lvm
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user