From 5a66ac384e1e320b21b2cc0cd23a33285daf4236 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 24 Jul 2012 20:52:16 +0200 Subject: enable cryptodev-linux --- package/gnutls/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'package/gnutls') 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 \ -- cgit v1.2.3