]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
openssl: introduce BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 21 Oct 2017 16:21:09 +0000 (18:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 21 Oct 2017 19:28:13 +0000 (21:28 +0200)
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>
package/openssl/Config.in

index 6cb469a3271174c9e515b14b4bf634fc71bb7d21..b8d106ffb78e3a8178cc5c90847693b23a66d457 100644 (file)
@@ -1,3 +1,6 @@
+config BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
+       bool
+
 config BR2_PACKAGE_OPENSSL
        bool "openssl support"
        select BR2_PACKAGE_HAS_OPENSSL