<div dir="ltr">Arha, good suggestion, will do that in V2.<div><br></div><div>//Ming Liu</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-06-11 10:51 GMT+02:00 Peter Kjellerstedt <span dir="ltr"><<a href="mailto:peter.kjellerstedt@axis.com" target="_blank">peter.kjellerstedt@axis.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> -----Original Message-----<br>
> From: <a href="mailto:openembedded-core-bounces@lists.openembedded.org">openembedded-core-bounces@<wbr>lists.openembedded.org</a><br>
> [mailto:<a href="mailto:openembedded-core-bounces@lists.openembedded.org">openembedded-core-<wbr>bounces@lists.openembedded.org</a><wbr>] On Behalf Of<br>
> Richard Purdie<br>
> Sent: den 10 juni 2018 21:29<br>
> To: Ming Liu <<a href="mailto:liu.ming50@gmail.com">liu.ming50@gmail.com</a>>; OE-core <openembedded-<br>
> <a href="mailto:core@lists.openembedded.org">core@lists.openembedded.org</a>><br>
> Subject: Re: [OE-core] [PATCH] bitbake.conf: add BB_CURRENT_MC to<br>
> OVERRIDES<br>
<span class="">> <br>
> On Sun, 2018-06-10 at 20:45 +0200, Ming Liu wrote:<br>
> > I saw your comment as follows:<br>
> ><br>
> > > This adds "" in OVERRIDES in the default case. Whilst I think (but<br>
> > am not 100% sure) we fixed bitbake not to break on such a value, I'm<br>
> > not convinced adding empty elements to it is a good idea and this did<br>
> > used to break things.<br>
> ><br>
> > No, it will add "default" to OVERRIDES in the default case.<br>
> <br>
</span>> That is even worse, we do not want to add "default" to overrides since<br>
> any variable containing that word would then be at risk of weird<br>
> breakage.<br>
> <br>
> Cheers,<br>
> <br>
> Richard<br>
<br>
You could add it as ":mc-${BB_CURRENT_MC}:" to OVERRIDES to avoid the <br>
ambiguity, similar to the pn- and df- prefixes used for recipe names <br>
and distro features.<br>
<span class="HOEnZb"><font color="#888888"><br>
//Peter<br>
<br>
</font></span></blockquote></div><br></div>