[Openembedded-architecture] Bringing clang to OE-Core

Denys Dmytriyenko denis at denix.org
Mon Apr 11 21:16:45 UTC 2016


On Mon, Apr 11, 2016 at 09:46:13PM +0100, Burton, Ross wrote:
> On 8 April 2016 at 00:18, Denys Dmytriyenko <denis at denix.org> wrote:
> 
> > We have some DSP code
> > generation tools based on LLVM that I would love to add to meta-ti BSP
> > layer,
> > but don't want an extra dependency on meta-openembedded or any other layer.
> >
> 
> Whilst we're all as guilty of this at various points, it's quite sad that
> depending on meta-clang isn't an option.  Surely this is what the layer
> model was for?

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...

-- 
Denys


More information about the Openembedded-architecture mailing list