[OE-core] [PATCH 1/1] meta-skeleton: linux-yocto-custom.bb: use machine overrides

Kamble, Nitin A nitin.a.kamble at intel.com
Fri Apr 18 16:12:26 UTC 2014


> > >
> > >Variable references can be used in overrides, provided the expansion
> > >happens at the right time. However, it would not be appropriate to
> > >use ${MACHINE} here because if it were used verbatim in the recipe,
> > >it would not have the desired effect - the value of ${MACHINE} would
> > >change with whatever MACHINE was set to, and since ${MACHINE} is
> > >always in OVERRIDES it would always be applied.
> >
> > I think we should just drop the overrides. The overrides are needed
> > with linux-yocto bbappends so we don't pollute the namespace, but here
> > there is nothing to polute. This is the only recipe, you don't use
> > bbappends with it. It needs some documentation, but we should just
> > drop all the overrides in this recipe.
> 
> I think you're probably right with the way this recipe is intended to be used,
> yes.
> 

So shall we leave this recipe unchanged? As the commit was made to avoid the
unwanted recipe variable pollution across layers, which is not the case.

Nitin

> Cheers,
> Paul
> 
> --
> 
> Paul Eggleton
> Intel Open Source Technology Centre



More information about the Openembedded-core mailing list