35eaed8d07
In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
config BR2_PACKAGE_POLARSSL
|
|
bool "polarssl"
|
|
help
|
|
PolarSSL is an SSL library written in ANSI C. PolarSSL makes
|
|
it easy for developers to include cryptographic and SSL/TLS
|
|
capabilities in their (embedded) products with as little
|
|
hassle as possible. It is designed to be readable,
|
|
documented, tested, loosely coupled and portable.
|
|
|
|
Warning: PolarSSL is licensed under the GPL. If you want to
|
|
use it in your own proprietary applications, you have to
|
|
purchase a commercial license.
|
|
|
|
http://polarssl.org/
|
|
|
|
if BR2_PACKAGE_POLARSSL
|
|
|
|
config BR2_PACKAGE_POLARSSL_PROGRAMS
|
|
bool "polarssl programs"
|
|
help
|
|
This option enables the installation and the build of
|
|
PolarSSL companion programs: aescrypt2, benchmark, cert_app,
|
|
crl_app, crypt_and_hash, dh_client, dh_genprime, dh_server,
|
|
gen_entropy, generic_sum, gen_random_ctr_drbg,
|
|
gen_random_havege, hello, key_app, md5sum, mpi_demo,
|
|
rsa_decrypt, rsa_encrypt, rsa_genkey, rsa_sign, rsa_verify,
|
|
selftest, sha1sum, sha2sum, ssi-cgi, ssl_cert_test,
|
|
ssl_client1, ssl_client2, ssl_fork_server, ssl_mail_client,
|
|
ssl_server, ssl_test
|
|
|
|
endif
|