mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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 <peter@korsgaard.com>
This commit is contained in:
@@ -16,6 +16,11 @@ config BR2_PACKAGE_GNUPG
|
|||||||
|
|
||||||
if 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
|
config BR2_PACKAGE_GNUPG_RSA
|
||||||
bool "RSA support"
|
bool "RSA support"
|
||||||
help
|
help
|
||||||
|
|||||||
@@ -31,6 +31,12 @@ else
|
|||||||
GNUPG_CONF_OPTS += --without-readline
|
GNUPG_CONF_OPTS += --without-readline
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_GNUPG_RSA),y)
|
||||||
GNUPG_CONF_OPTS += --enable-rsa
|
GNUPG_CONF_OPTS += --enable-rsa
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user