diff mbox series

swupdate.inc: drop UBOOT_NEWAPI

Message ID 20200320154233.3509564-1-hs@denx.de
State Accepted
Headers show
Series swupdate.inc: drop UBOOT_NEWAPI | expand

Commit Message

Heiko Schocher March 20, 2020, 3:42 p.m. UTC
commit: 82a157e35e90 ("bootloader: drop suppport for legacy U-Boot tools")

removed UBOOT_NEWAPI. Remove this also in swupdate.inc.

Signed-off-by: Heiko Schocher <hs@denx.de>
---
 recipes-support/swupdate/swupdate.inc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Stefano Babic March 23, 2020, 9:56 a.m. UTC | #1
On 20.03.20 16:42, Heiko Schocher wrote:
> commit: 82a157e35e90 ("bootloader: drop suppport for legacy U-Boot tools")
> 
> removed UBOOT_NEWAPI. Remove this also in swupdate.inc.
> 
> Signed-off-by: Heiko Schocher <hs@denx.de>
> ---
>  recipes-support/swupdate/swupdate.inc | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
> index 4137ed4..21de272 100644
> --- a/recipes-support/swupdate/swupdate.inc
> +++ b/recipes-support/swupdate/swupdate.inc
> @@ -118,10 +118,7 @@ python () {
>  
>      if 'CONFIG_UBOOT=y\n' in features:
>          depends = d.getVar('DEPENDS', False)
> -        if 'CONFIG_UBOOT_NEWAPI=y\n' in features:
> -            d.setVar('DEPENDS', depends + ' libubootenv')
> -        else:
> -            d.setVar('DEPENDS', depends + ' u-boot-fw-utils')
> +        d.setVar('DEPENDS', depends + ' libubootenv')
>  
>      if 'CONFIG_DOWNLOAD=y\n' in features or 'CONFIG_SURICATTA=y\n' in features:
>          depends = d.getVar('DEPENDS', False)
> 

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 4137ed4..21de272 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -118,10 +118,7 @@  python () {
 
     if 'CONFIG_UBOOT=y\n' in features:
         depends = d.getVar('DEPENDS', False)
-        if 'CONFIG_UBOOT_NEWAPI=y\n' in features:
-            d.setVar('DEPENDS', depends + ' libubootenv')
-        else:
-            d.setVar('DEPENDS', depends + ' u-boot-fw-utils')
+        d.setVar('DEPENDS', depends + ' libubootenv')
 
     if 'CONFIG_DOWNLOAD=y\n' in features or 'CONFIG_SURICATTA=y\n' in features:
         depends = d.getVar('DEPENDS', False)