mirror of
https://git.busybox.net/buildroot.git
synced 2025-01-10 14:33:24 +08:00
package/libblockdev: add support for part plugin
Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
7ddf853ae0
commit
723b9a9d7d
@ -49,6 +49,14 @@ config BR2_PACKAGE_LIBBLOCKDEV_MDRAID
|
||||
bool "mdraid"
|
||||
select BR2_PACKAGE_LIBBYTESIZE
|
||||
|
||||
config BR2_PACKAGE_LIBBLOCKDEV_PART
|
||||
bool "part"
|
||||
depends on BR2_ENABLE_LOCALE # parted
|
||||
select BR2_PACKAGE_PARTED
|
||||
|
||||
comment "part plugin needs a toolchain w/ locale"
|
||||
depends on !BR2_ENABLE_LOCALE
|
||||
|
||||
endif
|
||||
|
||||
comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library"
|
||||
|
@ -25,7 +25,6 @@ LIBBLOCKDEV_CONF_OPTS = \
|
||||
--without-lvm_dbus \
|
||||
--without-mpath \
|
||||
--without-nvdimm \
|
||||
--without-part \
|
||||
--without-python2 \
|
||||
--without-python3 \
|
||||
--without-s390 \
|
||||
@ -67,4 +66,11 @@ else
|
||||
LIBBLOCKDEV_CONF_OPTS += --without-mdraid
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_PART),y)
|
||||
LIBBLOCKDEV_DEPENDENCIES += parted
|
||||
LIBBLOCKDEV_CONF_OPTS += --with-part
|
||||
else
|
||||
LIBBLOCKDEV_CONF_OPTS += --without-part
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user