mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/libblockdev: add support for mdraid 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
05c46e723a
commit
7ddf853ae0
@@ -45,6 +45,10 @@ config BR2_PACKAGE_LIBBLOCKDEV_LVM2
|
|||||||
comment "lvm2 support needs a toolchain w/ locale"
|
comment "lvm2 support needs a toolchain w/ locale"
|
||||||
depends on !BR2_ENABLE_LOCALE
|
depends on !BR2_ENABLE_LOCALE
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIBBLOCKDEV_MDRAID
|
||||||
|
bool "mdraid"
|
||||||
|
select BR2_PACKAGE_LIBBYTESIZE
|
||||||
|
|
||||||
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"
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ LIBBLOCKDEV_CONF_OPTS = \
|
|||||||
--without-escrow \
|
--without-escrow \
|
||||||
--without-kbd \
|
--without-kbd \
|
||||||
--without-lvm_dbus \
|
--without-lvm_dbus \
|
||||||
--without-mdraid \
|
|
||||||
--without-mpath \
|
--without-mpath \
|
||||||
--without-nvdimm \
|
--without-nvdimm \
|
||||||
--without-part \
|
--without-part \
|
||||||
@@ -61,4 +60,11 @@ else
|
|||||||
LIBBLOCKDEV_CONF_OPTS += --without-lvm
|
LIBBLOCKDEV_CONF_OPTS += --without-lvm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_MDRAID),y)
|
||||||
|
LIBBLOCKDEV_DEPENDENCIES += libbytesize
|
||||||
|
LIBBLOCKDEV_CONF_OPTS += --with-mdraid
|
||||||
|
else
|
||||||
|
LIBBLOCKDEV_CONF_OPTS += --without-mdraid
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user