mirror of
https://git.busybox.net/buildroot.git
synced 2025-01-10 22:43:24 +08:00
package/libblockdev: add support for crypto plugin
Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
bf87263b6d
commit
c45cce332a
@ -16,6 +16,17 @@ config BR2_PACKAGE_LIBBLOCKDEV
|
||||
|
||||
https://github.com/storaged-project/libblockdev/
|
||||
|
||||
if BR2_PACKAGE_LIBBLOCKDEV
|
||||
|
||||
comment "plugins"
|
||||
|
||||
config BR2_PACKAGE_LIBBLOCKDEV_CRYPTO
|
||||
bool "crypto"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c
|
||||
select BR2_PACKAGE_CRYPTSETUP
|
||||
|
||||
endif
|
||||
|
||||
comment "libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || \
|
||||
|
@ -18,7 +18,6 @@ LIBBLOCKDEV_CONF_OPTS = \
|
||||
--with-loop \
|
||||
--without-bcache \
|
||||
--without-btrfs \
|
||||
--without-crypto \
|
||||
--without-dm \
|
||||
--without-dmraid \
|
||||
--without-escrow \
|
||||
@ -38,4 +37,11 @@ LIBBLOCKDEV_CONF_OPTS = \
|
||||
--without-tools \
|
||||
--without-vdo
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_CRYPTO),y)
|
||||
LIBBLOCKDEV_DEPENDENCIES += cryptsetup
|
||||
LIBBLOCKDEV_CONF_OPTS += --with-crypto
|
||||
else
|
||||
LIBBLOCKDEV_CONF_OPTS += --without-crypto
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user