summaryrefslogtreecommitdiff
path: root/package/gnutls
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-07-24 20:52:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-07-24 20:52:16 +0200
commit5a66ac384e1e320b21b2cc0cd23a33285daf4236 (patch)
treec4187999e38ecba5431badfbc3bc646844060c33 /package/gnutls
parent0efcc1eba308e06374c634594c6d4958056b2d75 (diff)
enable cryptodev-linux
Diffstat (limited to 'package/gnutls')
-rw-r--r--package/gnutls/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/gnutls/Makefile b/package/gnutls/Makefile
index ea3e7e646..4ad915ba3 100644
--- a/package/gnutls/Makefile
+++ b/package/gnutls/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= gnutls
PKG_VERSION:= 3.0.21
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 7480dff7115e5af85215893c06b3ac5c
PKG_DESCR:= GNU TLS library
PKG_SECTION:= crypto
@@ -22,6 +22,10 @@ PKGSC_LIBGNUTLS:= libs
PKGSC_LIBGNUTLS_EXTRA:= libs
PKGSC_LIBGNUTLS_OPENSSL:= libs
+PKG_FLAVOURS_LIBGNUTLS:= WITH_CRYPTODEV
+PKGFD_WITH_CRYPTODEV:= enable support for cryptodev-linux
+PKGFB_WITH_CRYPTODEV:= cryptodev-linux
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
include ${TOPDIR}/mk/package.mk
@@ -31,6 +35,10 @@ $(eval $(call PKG_template,GNUTLS_UTILS,gnutls-utils,${PKG_VERSION}-${PKG_RELEAS
$(eval $(call PKG_template,LIBGNUTLS_EXTRA,libgnutls-extra,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBGNUTLS_EXTRA}))
$(eval $(call PKG_template,LIBGNUTLS_OPENSSL,libgnutls-openssl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBGNUTLS_OPENSSL}))
+ifneq ($(ADK_PACKAGE_LIBGNUTLS_WITH_CRYPTODEV),)
+CONFIGURE_ARGS+= --enable-cryptodev
+endif
+
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
TARGET_LDFLAGS+= -pthread
CONFIGURE_ARGS+= --disable-rpath \