From 1c15ed2daccbc02a7f677e5a70b0c307670b8bcc Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sat, 27 Apr 2013 10:09:48 +0000 Subject: [PATCH] gnutls: enable cryptodev-linux support Unfortunately because of header file differencies this can't be used for OCF. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/gnutls/gnutls.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk index 21ace1c566..610a5a2dee 100644 --- a/package/gnutls/gnutls.mk +++ b/package/gnutls/gnutls.mk @@ -24,6 +24,11 @@ GNUTLS_CONF_OPT += $(if $(BR2_TOOLCHAIN_HAS_THREADS),--with-libpthread-prefix=$( GNUTLS_CONF_OPT += $(if $(BR2_USE_MMU),,--disable-crywrap) GNUTLS_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBIDN),libidn) +ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y) + GNUTLS_CONF_OPT += --enable-cryptodev + GNUTLS_DEPENDENCIES += cryptodev-linux +endif + # Some examples in doc/examples use wchar define GNUTLS_DISABLE_DOCS $(SED) 's/ doc / /' $(@D)/Makefile.in -- 2.30.2