diff mbox series

[meta-swupdate] Add wolfssl to DEPENDS if enabled

Message ID 20201007073417.408556-1-wickbergster@gmail.com
State New
Headers show
Series [meta-swupdate] Add wolfssl to DEPENDS if enabled | expand

Commit Message

Alexander Vickberg Oct. 7, 2020, 7:34 a.m. UTC
Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
---
 recipes-support/swupdate/swupdate.inc | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stefano Babic Oct. 7, 2020, 8:33 a.m. UTC | #1
On 07.10.20 09:34, Alexander Vickberg wrote:
> Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
> ---
>  recipes-support/swupdate/swupdate.inc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
> index 94da375..e67b175 100644
> --- a/recipes-support/swupdate/swupdate.inc
> +++ b/recipes-support/swupdate/swupdate.inc
> @@ -123,6 +123,8 @@ python () {
>          depends += ' openssl'
>      elif 'CONFIG_SSL_IMPL_MBEDTLS=y\n' in features:
>          depends += ' mbedtls'
> +    elif 'CONFIG_SSL_IMPL_WOLFSSL=y\n' in features:
> +        depends += ' wolfssl'
>  
>      if 'CONFIG_JSON=y\n' in features:
>          depends += ' json-c'
> 

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
Stefano Babic Oct. 12, 2020, 1:47 p.m. UTC | #2
On 07.10.20 09:34, Alexander Vickberg wrote:
> Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
> ---
>  recipes-support/swupdate/swupdate.inc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
> index 94da375..e67b175 100644
> --- a/recipes-support/swupdate/swupdate.inc
> +++ b/recipes-support/swupdate/swupdate.inc
> @@ -123,6 +123,8 @@ python () {
>          depends += ' openssl'
>      elif 'CONFIG_SSL_IMPL_MBEDTLS=y\n' in features:
>          depends += ' mbedtls'
> +    elif 'CONFIG_SSL_IMPL_WOLFSSL=y\n' in features:
> +        depends += ' wolfssl'
>  
>      if 'CONFIG_JSON=y\n' in features:
>          depends += ' json-c'
> 

Applied to -master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
index 94da375..e67b175 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -123,6 +123,8 @@  python () {
         depends += ' openssl'
     elif 'CONFIG_SSL_IMPL_MBEDTLS=y\n' in features:
         depends += ' mbedtls'
+    elif 'CONFIG_SSL_IMPL_WOLFSSL=y\n' in features:
+        depends += ' wolfssl'
 
     if 'CONFIG_JSON=y\n' in features:
         depends += ' json-c'