[Openembedded-architecture] layer.conf and layerindex change proposal
Christopher Larson
clarson at kergoth.com
Wed Jun 8 22:39:51 UTC 2016
On Wed, Jun 8, 2016 at 3:24 PM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:
> On Wed, 2016-06-08 at 16:15 -0500, Mark Hatle wrote:
> > In addition, many of the layers I work with have a clear set of
> > required layers
> > (LAYERDEPENDS), but also have 'recommended' layers... So I'd love to
> > see a
> > LAYERRECOMMENDS as well.
>
> > For this one, in bitbake, we could add the LAYERRECOMMENDS to the
> > priority
> > sorting code -- but if the layer is not included it's not an error or
> > warning.
>
> I don't understand this. Why would the fact a layer recommends another
> layer change priority sorting code? I don't think the dependency
> variable does that?
>
> I get the feeling I'm missing something from this proposal...
>
Layer priorities *are* influenced by dependent layers. I know for sure it
does when no priority is specified, can't recall if it does when is
specified as well. It boosts the priority of a layer if it depends on a
high priority layer.
I do think recommended layers would be useful, I'd considered proposing
that just a week or two ago.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-architecture/attachments/20160608/3b73c1f1/attachment-0002.html>
More information about the Openembedded-architecture
mailing list