[OE-core] [PATCH] meta: handle UBOOT_CONFIG in image.bbclass

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Thu May 16 10:54:55 UTC 2019


On Thu, 2019-05-16 at 10:56 +0200, Ming Liu wrote:
> Hi, Richard:
> 
> > I'd imagine the code is designed so you'd inherit uboot-config in
> the machine and this therefore could be made to work as is.
> 
> Yes, that probably is how the author intended it to be used, but
> unfortunately, that's not how it's being used in BSP layers, that
> fact is, in most BSP meta layers, they do not put it into INHERIT,
> only u-boot recipes are inheriting uboot-config.
> 
> I am on board there is no need to set IMAGE_FSTYPES in uboot-
> config.bbclass, maybe we should drop it from UBOOT_CONFIG and it
> would be like: 'UBOOT_CONFIG = "config,,binary"', there will be a
> empty item in the middle, so the BSP meta layers would work as usual.
> 
> Will send a V2 if you agree with this.

I agree, I wonder if we need to make it warn about missing
functionality if someone is using the old option though?

Cheers,

Richard



More information about the Openembedded-core mailing list