Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c
select BR2_PACKAGE_CRYPTSETUP
+config BR2_PACKAGE_LIBBLOCKDEV_FS
+ bool "filesystem"
+ depends on BR2_ENABLE_LOCALE # parted
+ select BR2_PACKAGE_PARTED
+
+comment "filesystem 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"
--without-dm \
--without-dmraid \
--without-escrow \
- --without-fs \
--without-kbd \
--without-loop \
--without-lvm \
LIBBLOCKDEV_CONF_OPTS += --without-crypto
endif
+ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_FS),y)
+LIBBLOCKDEV_DEPENDENCIES += parted
+LIBBLOCKDEV_CONF_OPTS += --with-fs
+else
+LIBBLOCKDEV_CONF_OPTS += --without-fs
+endif
+
$(eval $(autotools-package))