a7bc0b9623
Now that building the openssl binary without MMU is supported, the only
reason left for not building apps if the openssl binary is disabled is
to save build time. Moreover, the commit
720893b625
"openssl: disable apps for
NOMMU", which added this behavior, had a side effect: the scripts from
apps (CA.pl, CA.sh and tsget) and the default configuration file
(openssl.cnf) were no longer installed, which is not advertized by the
BR2_PACKAGE_OPENSSL_BIN option. CA.pl and CA.sh use the openssl binary,
so not installing them without the latter makes sense. But tsget does
not use the openssl binary, and openssl.cnf can be used by libcrypto, so
it is preferable to handle BR2_PACKAGE_OPENSSL_BIN like before the
commit mentioned above, i.e. to always build and install apps and to
just remove the openssl binary afterwards if needed.
This is what the current commit does, but installing only the helper
scripts having their dependencies (perl or the openssl binary)
satisfied. The help text is updated accordingly.
Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
33 lines
908 B
Plaintext
33 lines
908 B
Plaintext
config BR2_PACKAGE_OPENSSL
|
|
bool "openssl"
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
A collaborative effort to develop a robust, commercial-grade, fully
|
|
featured, and Open Source toolkit implementing the Secure Sockets
|
|
Layer (SSL v2/v3) and Transport Security (TLS v1) as well as a
|
|
full-strength general-purpose cryptography library.
|
|
|
|
http://www.openssl.org/
|
|
|
|
Note: Some helper scripts need perl.
|
|
|
|
if BR2_PACKAGE_OPENSSL
|
|
|
|
config BR2_PACKAGE_OPENSSL_BIN
|
|
bool "openssl binary"
|
|
depends on !BR2_STATIC_LIBS
|
|
help
|
|
Install the openssl binary and the associated helper scripts to the
|
|
target file system. This is a command line tool for doing various
|
|
cryptographic stuff.
|
|
|
|
comment "openssl binary needs a toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
config BR2_PACKAGE_OPENSSL_ENGINES
|
|
bool "openssl additional engines"
|
|
help
|
|
Install additional encryption engine libraries.
|
|
|
|
endif
|