<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">&lt;<a href="mailto:peter.kjellerstedt@axis.com" target="_blank">peter.kjellerstedt@axis.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:openembedded-core-bounces@lists.openembedded.org">openembedded-core-bounces@<wbr>lists.openembedded.org</a><br>
&gt; [mailto:<a href="mailto:openembedded-core-bounces@lists.openembedded.org">openembedded-core-<wbr>bounces@lists.openembedded.org</a><wbr>] On Behalf Of<br>
&gt; Richard Purdie<br>
&gt; Sent: den 10 juni 2018 21:29<br>
&gt; To: Ming Liu &lt;<a href="mailto:liu.ming50@gmail.com">liu.ming50@gmail.com</a>&gt;; OE-core &lt;openembedded-<br>
&gt; <a href="mailto:core@lists.openembedded.org">core@lists.openembedded.org</a>&gt;<br>
&gt; Subject: Re: [OE-core] [PATCH] bitbake.conf: add BB_CURRENT_MC to<br>
&gt; OVERRIDES<br>
<span class="">&gt; <br>
&gt; On Sun, 2018-06-10 at 20:45 +0200, Ming Liu wrote:<br>
&gt; &gt; I saw your comment as follows:<br>
&gt; &gt;<br>
&gt; &gt; &gt; This adds &quot;&quot; in OVERRIDES in the default case. Whilst I think (but<br>
&gt; &gt; am not 100% sure) we fixed bitbake not to break on such a value, I&#39;m<br>
&gt; &gt; not convinced adding empty elements to it is a good idea and this did<br>
&gt; &gt; used to break things.<br>
&gt; &gt;<br>
&gt; &gt; No, it will add &quot;default&quot; to OVERRIDES in the default case.<br>
&gt; <br>
</span>&gt; That is even worse, we do not want to add &quot;default&quot; to overrides since<br>
&gt; any variable containing that word would then be at risk of weird<br>
&gt; breakage.<br>
&gt; <br>
&gt; Cheers,<br>
&gt; <br>
&gt; Richard<br>
<br>
You could add it as &quot;:mc-${BB_CURRENT_MC}:&quot; 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>