summaryrefslogtreecommitdiffstats
path: root/package/gnutls
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-04-27 10:09:48 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-05-05 23:00:35 +0200
commit1c15ed2daccbc02a7f677e5a70b0c307670b8bcc (patch)
tree000e55ea047422243b4d1f2cba7a41c0b34ae969 /package/gnutls
parentc714dba57778d0d4129b5db755f1799233da698f (diff)
downloadbuildroot-novena-1c15ed2daccbc02a7f677e5a70b0c307670b8bcc.tar.gz
buildroot-novena-1c15ed2daccbc02a7f677e5a70b0c307670b8bcc.zip
gnutls: enable cryptodev-linux support
Unfortunately because of header file differencies this can't be used for OCF. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gnutls')
-rw-r--r--package/gnutls/gnutls.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 21ace1c56..610a5a2de 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