From: Peter Korsgaard Date: Thu, 2 Jul 2015 15:30:24 +0000 (+0200) Subject: gnupg: add option for AES cipher X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6a2962d998c82f888957fb19bd2933bbf73f92d;p=buildroot.git gnupg: add option for AES cipher Similar to our RSA option. Enabling this adds ~17K to the gpg binary (ARMv7): ls -lah output/target/usr/bin/gpg{.orig,} -rwxr-xr-x 1 peko peko 532K Jul 2 17:29 output/target/usr/bin/gpg -rwxr-xr-x 1 peko peko 515K Jul 2 17:29 output/target/usr/bin/gpg.orig Signed-off-by: Peter Korsgaard --- diff --git a/package/gnupg/Config.in b/package/gnupg/Config.in index 1dc27a47c6..30f215fed8 100644 --- a/package/gnupg/Config.in +++ b/package/gnupg/Config.in @@ -16,6 +16,11 @@ config BR2_PACKAGE_GNUPG if BR2_PACKAGE_GNUPG +config BR2_PACKAGE_GNUPG_AES + bool "AES support" + help + Support for the AES cipher + config BR2_PACKAGE_GNUPG_RSA bool "RSA support" help diff --git a/package/gnupg/gnupg.mk b/package/gnupg/gnupg.mk index 94f5d896aa..f358fa36f5 100644 --- a/package/gnupg/gnupg.mk +++ b/package/gnupg/gnupg.mk @@ -31,6 +31,12 @@ else GNUPG_CONF_OPTS += --without-readline endif +ifeq ($(BR2_PACKAGE_GNUPG_AES),y) +GNUPG_CONF_OPTS += --enable-aes +else +GNUPG_CONF_OPTS += --disable-aes +endif + ifeq ($(BR2_PACKAGE_GNUPG_RSA),y) GNUPG_CONF_OPTS += --enable-rsa else