Skip to contentSkip to conversation

openssl: unconditionally define BR2_PACKAGE_PROVIDES_HOST_OPENSSL

PATCH New Peter Korsgaard 2 participants 2 messages Oct 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssl: unconditionally define BR2_PACKAGE_PROVIDES_HOST_OPENSSL

Fixes:
http://autobuild.buildroot.net/results/207/207d0ca1fe5328e675246c851fcb0d5685f8c0bd/
http://autobuild.buildroot.net/results/546/546a56d6dd39e5e9ecfe25fd36a00510e6c0c45b/

host-openssl may be used without openssl being enabled for the target, so move BR2_PACKAGE_PROVIDES_HOST_OPENSSL outside the BR2_PACKAGE_OPENSSL conditional.

While we're at it, add a comment explaining what this magic config symbol does.

---
 package/openssl/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/openssl/Config.in +3 -2
index df1d117257..e33320afc5 100644
@@ -76,8 +76,9 @@ config BR2_PACKAGE_PROVIDES_OPENSSL
 	default "libopenssl"  if BR2_PACKAGE_LIBOPENSSL
 	default "libressl"  if BR2_PACKAGE_LIBRESSL
 
+endif
+
+# ensure libopenssl is used for the host variant
 config BR2_PACKAGE_PROVIDES_HOST_OPENSSL
 	string
 	default "host-libopenssl"
-
-endif
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 openssl: unconditionally define BR2_PACKAGE_PROVIDES_HOST_OPENSSL

Hello,

Quoted 8 lines · Peter Korsgaard

Fixes:
http://autobuild.buildroot.net/results/207/207d0ca1fe5328e675246c851fcb0d5685f8c0bd/
http://autobuild.buildroot.net/results/546/546a56d6dd39e5e9ecfe25fd36a00510e6c0c45b/

host-openssl may be used without openssl being enabled for the target, so move BR2_PACKAGE_PROVIDES_HOST_OPENSSL outside the BR2_PACKAGE_OPENSSL conditional.

Quoted 6 lines

While we're at it, add a comment explaining what this magic config symbol does.

---
 package/openssl/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com