Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
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"
--without-dmraid \
--without-escrow \
--without-kbd \
- --without-loop \
--without-lvm \
--without-lvm_dbus \
--without-mdraid \
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))