summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-04-27 10:09:48 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-05 21:00:35 (GMT)
commit1c15ed2daccbc02a7f677e5a70b0c307670b8bcc (patch)
tree000e55ea047422243b4d1f2cba7a41c0b34ae969
parentc714dba57778d0d4129b5db755f1799233da698f (diff)
downloadbuildroot-1c15ed2daccbc02a7f677e5a70b0c307670b8bcc.tar.gz
buildroot-1c15ed2daccbc02a7f677e5a70b0c307670b8bcc.tar.bz2
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>
-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 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