@@ -33,6 +33,10 @@ config BR2_PACKAGE_LIBBLOCKDEV_CRYPTO
select BR2_PACKAGE_LIBNSS
select BR2_PACKAGE_VOLUME_KEY
+config BR2_PACKAGE_LIBBLOCKDEV_FS
+ bool "Filesystem plugin"
+ select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
+
endif
comment "libblockdev needs udev /dev management and a glibc or musl toolchain w/ locale, wchar, threads, dynamic library"
@@ -24,7 +24,6 @@ LIBBLOCKDEV_CONF_OPTS = \
--enable-introspection=no \
--without-bcache \
--without-btrfs \
- --without-fs \
--without-dm \
--without-dmraid \
--without-nvdimm \
@@ -45,4 +44,10 @@ else
LIBBLOCKDEV_CONF_OPTS += --without-crypto --without-escrow
endif
+ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_FS),y)
+LIBBLOCKDEV_CONF_OPTS += --with-fs
+else
+LIBBLOCKDEV_CONF_OPTS += --without-fs
+endif
+
$(eval $(autotools-package))