[OE-core] [PATCH 1/1] layerindex.bbclass: Add ability to fetch layers from layer index
Paul Eggleton
paul.eggleton at linux.intel.com
Wed Jan 7 09:20:25 UTC 2015
Hi Chong,
On Wednesday 07 January 2015 14:35:42 Chong Lu wrote:
> It maybe depends on other layers when one layer is added to BBLAYERS. If
> define LAYERDEPENDS variable in this layer, we will get error from bitbake.
> But sometimes, we don't have defined. Add a mechanism to fetch layers from
> layer index and update bblayers.conf as appropriate. The layer index stores
> dependencies of all layers. Query dependency from layer index and fetch
> layer repo, then add this layer to BBLAYERS.
Hmm, this is certainly interesting but not quite what I had in mind - I was
thinking rather that bitbake-layers would be extended and it would be an
explicit operation to add a layer from the layer index + all of its
dependencies. We can of course also have something semi-automatic like this
class, but the manual tool ought to come first IMHO (which the class could then
make use of).
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list