diff mbox series

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

Message ID 18432480-5f7c-4a43-8ff7-140b1b06ed2b@googlegroups.com
State Changes Requested
Headers show
Series [meta-swupdate,1/2] Clean up building and setting of DEPENDS variable | expand

Commit Message

Alexander Vickberg April 28, 2020, 8:25 a.m. UTC
Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
---
 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'