summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-03-12 11:33:28 (GMT)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-19 20:46:52 (GMT)
commite71413b73b73715626eaa810d87fa7085701b2dc (patch)
treee8a54c499e1bf1ca0312a7733a113595cd3f31fc
parentcde1d5d8b8c31cd153cbb5ceeec5c994fc1f4f2a (diff)
downloadbuildroot-e71413b73b73715626eaa810d87fa7085701b2dc.tar.gz
buildroot-e71413b73b73715626eaa810d87fa7085701b2dc.tar.bz2
package/gnupg2: add optional support for gnutls
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gnupg2/gnupg2.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk
index d7f277c..5815e70 100644
--- a/package/gnupg2/gnupg2.mk
+++ b/package/gnupg2/gnupg2.mk
@@ -35,6 +35,13 @@ else
GNUPG2_CONF_OPTS += --disable-bzip2
endif
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+GNUPG2_CONF_OPTS += --enable-gnutls
+GNUPG2_DEPENDENCIES += gnutls
+else
+GNUPG2_CONF_OPTS += --disable-gnutls
+endif
+
ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
GNUPG2_CONF_OPTS += --enable-ccid-driver
GNUPG2_DEPENDENCIES += libusb-compat