openssl: introduce BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL

Some packages that use openssl are not compatible with libressl, only
with the real openssl (known as libopenssl in Buildroot). So before we
add libressl as a provider for the openssl virtual package, we
introduce a BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL hidden option that
packages incompatible with LibreSSL will be able to select.

This will allow packages that need OpenSSL to continue using "select",
without having to change to using "depends on" dependencies.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2017-10-21 18:21:09 +02:00
parent f974a493f0
commit 123e0c9fef

View File

@ -1,3 +1,6 @@
config BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
bool
config BR2_PACKAGE_OPENSSL
bool "openssl support"
select BR2_PACKAGE_HAS_OPENSSL