Patchwork [5/6] gnutls: enable cryptodev-linux support

login
register
mail settings
Submitter Gustavo Zacarias
Date April 27, 2013, 8:09 p.m.
Message ID <1367093389-23877-5-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/240175/
State Accepted
Commit 1c15ed2daccbc02a7f677e5a70b0c307670b8bcc
Headers show

Comments

Gustavo Zacarias - April 27, 2013, 8:09 p.m.
Unfortunately because of header file differencies this can't be used for
OCF.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/gnutls/gnutls.mk | 5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 21ace1c..610a5a2 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