package/libblockdev: add support for loop plugin

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Adam Duskett
2020-08-29 21:45:58 +02:00
committed by Thomas Petazzoni
parent 445813d8cc
commit 63759893f7
2 changed files with 9 additions and 1 deletions
+3
View File
@@ -33,6 +33,9 @@ config BR2_PACKAGE_LIBBLOCKDEV_FS
comment "filesystem plugin needs a toolchain w/ locale"
depends on !BR2_ENABLE_LOCALE
config BR2_PACKAGE_LIBBLOCKDEV_LOOP
bool "loop"
endif
comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library"
+6 -1
View File
@@ -22,7 +22,6 @@ LIBBLOCKDEV_CONF_OPTS = \
--without-dmraid \
--without-escrow \
--without-kbd \
--without-loop \
--without-lvm \
--without-lvm_dbus \
--without-mdraid \
@@ -50,4 +49,10 @@ else
LIBBLOCKDEV_CONF_OPTS += --without-fs
endif
ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_LOOP),y)
LIBBLOCKDEV_CONF_OPTS += --with-loop
else
LIBBLOCKDEV_CONF_OPTS += --without-loop
endif
$(eval $(autotools-package))