diff mbox series

[meta-swupdate,v2,2/2] Fix DEPENDS if using MbedTLS instead of OpenSSL

Message ID 20200505142434.2475028-2-wickbergster@gmail.com
State Accepted
Headers show
Series [meta-swupdate,v2,1/2] Clean up building and setting of DEPENDS variable | expand

Commit Message

Alexander Vickberg May 5, 2020, 2:24 p.m. UTC
Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
---
Changes in v2: No changes. Resend with git send-email.

 recipes-support/swupdate/swupdate.inc | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
index 6dd0c91..c389b77 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -99,6 +99,8 @@  python () {
 
     if 'CONFIG_SSL_IMPL_OPENSSL=y\n' in features:
         depends += ' openssl'
+    elif 'CONFIG_SSL_IMPL_MBEDTLS=y\n' in features:
+        depends += ' mbedtls'
 
     if 'CONFIG_JSON=y\n' in features:
         depends += ' json-c'