aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@openwide.fr>2014-09-23 23:57:36 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-01 22:45:21 +0200
commitb39e3e39eb15264efafec3cb7c4ac89a951b9ab9 (patch)
tree0c36fe8667da581f9ae0acc7ec39401c66011244 /package
parentad58c88c10bac0d3ab0e33be69ab737a2c11ed02 (diff)
downloadbuildroot-b39e3e39eb15264efafec3cb7c4ac89a951b9ab9.tar.gz
buildroot-b39e3e39eb15264efafec3cb7c4ac89a951b9ab9.tar.bz2
package/gnupg2: add bzip2 optional dependency
This is to improve build reproducibility. [Thomas: add --enable-bzip2 --with-bzip options.] Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-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 33b5bc0467..b0e72976bb 100644
--- a/package/gnupg2/gnupg2.mk
+++ b/package/gnupg2/gnupg2.mk
@@ -26,4 +26,11 @@ endef
GNUPG2_POST_INSTALL_TARGET_HOOKS += GNUPG2_REMOVE_GPGV2
endif
+ifeq ($(BR2_PACKAGE_BZIP2),y)
+GNUPG2_CONF_OPT += --enable-bzip2 --with-bzip2=$(STAGING_DIR)
+GNUPG2_DEPENDENCIES += bzip2
+else
+GNUPG2_CONF_OPT += --disable-bzip2
+endif
+
$(eval $(autotools-package))