[oe] RFC: Improve our default conf file setup

Chris Larson clarson at kergoth.com
Thu Feb 18 16:13:49 UTC 2010


On Thu, Feb 18, 2010 at 2:09 AM, Marcin Juszkiewicz <
marcin at juszkiewicz.com.pl> wrote:

> Dnia wtorek, 16 lutego 2010 o 16:36:44 Richard Purdie napisał(a):
>
>
> > c) Are recipes in a recipes or a packages directory?
> > d) How deep are the paths to the .bb files?
>
> BBFILES += "layer-top-dir" and BitBake will traverse subdirs and collect
> all
> recipes from there. Never mind are they in recipes/ packages/ stuff/ or
> other
> dir. It is working for quite long time now.
>

Yeah, exactly.  And of course, you can utilize BBMASK to exclude obsolete,
etc.


> e) What priority are assigned to the layers?

 Priorities looks easy when you look at numbers. But problem arrives when
> you
> want layer3 to have higher priority then layer2 and they are not connected.
>
> > f) Should a given layer append or prepend to BBPATH?
>
> Those two are important. I remember situation with BugLabs r1.4 overlays
> when
> I had to recreate BBPATH to get proper order of overlays.
>

With COLLECTIONS (and BBLAYERS could work similarly), all the overlay
priorities and bbpath ordering are automatically determined based on the
order of entries in the variable.  Documented as highest-to-lowest.

Note that I'm not necessarily arguing against the use of a per-layer
configuration file, as this seems like it would be quite useful, but I
question the need for the boilerplate.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list