package/uacme: add openssl optional dependency

Select openssl if mbedtls or gnutls are not enabled

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-10-03 18:49:48 +02:00 committed by Thomas Petazzoni
parent 0a919e7c84
commit 9a978d4239
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
config BR2_PACKAGE_UACME
bool "uacme"
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_MBEDTLS if !BR2_PACKAGE_GNUTLS
select BR2_PACKAGE_OPENSSL if !(BR2_PACKAGE_GNUTLS || BR2_PACKAGE_MBEDTLS)
select BR2_PACKAGE_LIBCURL
help
uacme is a client for the ACMEv2 protocol described in

View File

@ -21,6 +21,9 @@ UACME_DEPENDENCIES += gnutls
else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
UACME_CONF_OPTS += --with-mbedtls
UACME_DEPENDENCIES += mbedtls
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
UACME_CONF_OPTS += --with-openssl
UACME_DEPENDENCIES += openssl
endif
$(eval $(autotools-package))