[OE-core] [RFC] Remove vala from oe-core

Richard Purdie richard.purdie at linuxfoundation.org
Wed Nov 11 17:17:33 UTC 2015


On Tue, 2015-11-10 at 17:37 +0200, Alexander Kanavin wrote:
> On 11/10/2015 05:29 PM, Otavio Salvador wrote:
> 
> >> PACKAGECONFIG alone is not sufficient; to build the bindings properly, the
> >> package also needs to inherit vala.bbclass:
> >>
> >> https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/tree/meta/classes/vala.bbclass?h=akanavin/gobject-introspection-experimental
> >
> > and this belong to meta-vala (or other). This reduces the core and
> > this is something we really should to push for.
> 
> If this class is moved to meta-vala, how do you make packages in oe-core 
> inherit it, or otherwise do what it does?

Much as I dislike this, you could do something like:

inherit ${@base_contains('PACKAGECONFIG', 'vala', 'vala', '')}

Cheers,

Richard




More information about the Openembedded-core mailing list