cryptsetup: add host variant

E.G. for generating dm-verity hashes or dm-crypt data at build time in a
post-image script.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard
2017-10-05 17:06:21 +02:00
parent 90cfc5f16a
commit 456cd09fb9
3 changed files with 19 additions and 0 deletions

View File

@@ -28,4 +28,14 @@ else
CRYPTSETUP_CONF_OPTS += --with-crypto_backend=kernel
endif
HOST_CRYPTSETUP_DEPENDENCIES = \
host-pkgconf \
host-lvm2 \
host-popt \
host-util-linux \
host-openssl
HOST_CRYPTSETUP_CONF_OPTS = --with-crypto-backend=openssl
$(eval $(autotools-package))
$(eval $(host-autotools-package))