bearssl support is available since version 7.68.0 and
https://github.com/curl/curl/commit/
9b879160df01e7ddbb4770904391d3b74114302b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
bool "OpenSSL"
depends on BR2_PACKAGE_OPENSSL
+config BR2_PACKAGE_LIBCURL_BEARSSL
+ bool "BearSSL"
+ depends on BR2_PACKAGE_BEARSSL
+
config BR2_PACKAGE_LIBCURL_GNUTLS
bool "GnuTLS"
depends on BR2_PACKAGE_GNUTLS
LIBCURL_CONF_OPTS += --without-ssl
endif
+ifeq ($(BR2_PACKAGE_LIBCURL_BEARSSL),y)
+LIBCURL_CONF_OPTS += --with-bearssl=$(STAGING_DIR)/usr
+LIBCURL_DEPENDENCIES += bearssl
+else
+LIBCURL_CONF_OPTS += --without-bearssl
+endif
+
ifeq ($(BR2_PACKAGE_LIBCURL_GNUTLS),y)
LIBCURL_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr \
--with-ca-fallback