From: Adam Duskett Date: Sat, 25 Jul 2020 23:06:10 +0000 (-0700) Subject: package/libblockdev: add support for fs plugin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=445813d8cce5c86d9350de9ac677b6ba8e40446f;p=buildroot.git package/libblockdev: add support for fs plugin Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- diff --git a/package/libblockdev/Config.in b/package/libblockdev/Config.in index f7a220603c..8ef7247262 100644 --- a/package/libblockdev/Config.in +++ b/package/libblockdev/Config.in @@ -25,6 +25,14 @@ config BR2_PACKAGE_LIBBLOCKDEV_CRYPTO 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" diff --git a/package/libblockdev/libblockdev.mk b/package/libblockdev/libblockdev.mk index 67d9ab4483..2b111df82b 100644 --- a/package/libblockdev/libblockdev.mk +++ b/package/libblockdev/libblockdev.mk @@ -21,7 +21,6 @@ LIBBLOCKDEV_CONF_OPTS = \ --without-dm \ --without-dmraid \ --without-escrow \ - --without-fs \ --without-kbd \ --without-loop \ --without-lvm \ @@ -44,4 +43,11 @@ else 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))