[OE-core] design question: should layer.conf contain "PREFERRED_VERSION" settings?

Burton, Ross ross.burton at intel.com
Wed Mar 22 15:44:18 UTC 2017


On 22 March 2017 at 14:59, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> What should happen is that the openstack recipe should complain loudly
> (error) if anyone tried to build it (or parse it?) with anything except
> the versions its known to work with.
>

Is this a good time to bring up versions in DEPENDS?

It would be awesome to automatically set PREFERRED_VERSION as appropriate
depending on the constrains in DEPENDS, but I'd be really happy with errors
if the versions specified were not selected.

So in this case openstack could do DEPENDS=python-something (>4.0) and
bitbake would error out if python-something v3 is being built.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170322/065949c4/attachment-0002.html>


More information about the Openembedded-core mailing list