[Openembedded-architecture] Bringing clang to OE-Core
Denys Dmytriyenko
denis at denix.org
Mon Apr 11 21:31:24 UTC 2016
On Mon, Apr 11, 2016 at 10:19:01PM +0100, Burton, Ross wrote:
> On 11 April 2016 at 22:16, Denys Dmytriyenko <denis at denix.org> wrote:
>
> > Yeah, the only thing is that BSPs were meant to have a very minimal set of
> > layer dependencies, as far as I remember our early discussions on this
> > topic.
> > So I always kept meta-ti depending only on openembedded-core and nothing
> > else.
> > To the extent that I had to remove stuff that is related to BSP, but
> > depends
> > on meta-openembedded and move it to meta-arago instead...
> >
> > The alternative here would be a conditional dependency - i.e. if a layer is
> > present, enable corresponding recipes, otherwise those won't be buildable
> > and
> > should be skipped...
> >
>
> I can't recall the layer which does this, but there's prior art in this. A
> BSP -- I think -- contains directories that are only enabled if specific
> layers are also enabled.
Yes, I know, it's been copied over to several layers already, but the original
code comes from Chris Larson. But, we are delving into the implementation too
much now, let's get back to the original topic - should we consider moving
LLVM into oe-core, and if not, should BSPs be allowed to depend on other
layers?
--
Denys
More information about the Openembedded-architecture
mailing list