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:
committed by
Thomas Petazzoni
parent
445813d8cc
commit
63759893f7
@@ -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"
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user