Re: Should we change variable override formatting?


Richard Purdie
 

On Fri, 2021-07-16 at 17:46 +0100, Richard Purdie via lists.openembedded.org wrote:
Just to update, I have an experiment:

http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=rpurdie/overrides-convert

This contains a conversion script which can convert poky to use ":" 
instead of "_" as the override character (i.e. all of oe-core, meta-yocto, 
docs and bitbake inc. tests). I had to add in only two special hand cases
to the conversion code which is better than I expected (so far).

There is also a quick hack to make bitbake use the new override format 
(but no optimisation to the code) and a commit showing the result of the 
conversion.

Right now, this will successfully "bitbake -p", i.e. it parses. It will
even run a build but crashes out in gcc-cross do_compile.
Branch updated, it now lets a core-image-sato build successfully.

Cheers,

Richard

Join openembedded-architecture@lists.openembedded.org to automatically receive all group messages.