Not really circular dependency, but my actual case looked like below.
meta-freescale wants to detect meta-qt5 and meta-openembedded.
I have an image that has a layer meta-A who wants to detect bsp type (here,
freescale-layer or meta-freescale) also looking into BB_COLLECTIONS.
In this case maybe I need to list the layers as follows.
But at the same time, I have configuration for other boards which may look like
I want to have the layers (bblayers.conf definition) look similar among the
(and it will also reduce the risk of changing something for various builds)
But in this situation I just cannnot replace meta-board-X with meta-freescale.
--- (common begin)
--- (common end)
From: Otavio Salvador <otavio.salva...@ossystems.com.br>
Sent: Wednesday, June 28, 2017 11:23 PM
To: Takashi Matsuzawa
Subject: Re: [meta-freescale] Fw: [yocto] dynamic-layers?
On Tue, Jun 27, 2017 at 11:41 PM, Takashi Matsuzawa <tmatsuz...@xevo.com> wrote:
> Well, I see a potential issue with this. What if I have layers that have
> circular (parse order) dependency like below.
> L-A - Wants to detect presense of L-B
> L-B - Wants to detect presense of L-C
> L-C - Wants to detect presense of L-A
> Is there any guideline about in which order bblayers files are expected to
> appear/parsed, so that L-C is not written to have cirtular (parse order)
We usually put them on priority order; the circular dependency might
be a problem but I never got a use-case for this. Do you have one?
Otavio Salvador O.S. Systems
O.S. Systems is specialized in the development, customization and consultancy
of embedded operating systems and BSPs based on Linux.
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
meta-freescale mailing list