Browse Source

Fix DEPENDS if using MbedTLS instead of OpenSSL

Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
Alexander Vickberg 5 năm trước cách đây
mục cha
commit
03aaa79eed
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      recipes-support/swupdate/swupdate.inc

+ 2 - 0
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'