gnutls: enable cryptodev-linux support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sat, 27 Apr 2013 10:09:48 +0000 (10:09 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 5 May 2013 21:00:35 +0000 (23:00 +0200)
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>
package/gnutls/gnutls.mk

index 21ace1c566c8282d275100a35f04c8f3e828ef6f..610a5a2dee87e2f25304d7a87292b804de9b42c6 100644 (file)
@@ -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