Message ID | 20200320154233.3509564-1-hs@denx.de |
---|---|
State | Accepted |
Headers | show |
Series | swupdate.inc: drop UBOOT_NEWAPI | expand |
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 --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)
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(-)