<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 30, 2015 at 7:55 AM, Mike Crowe <span dir="ltr">&lt;<a href="mailto:mac@mcrowe.com" target="_blank">mac@mcrowe.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thursday 30 April 2015 at 07:39:25 -0700, Christopher Larson wrote:<br>
&gt; On Thu, Apr 30, 2015 at 7:28 AM, Mike Crowe &lt;<a href="mailto:mac@mcrowe.com">mac@mcrowe.com</a>&gt; wrote:<br>
</span><span class="">&gt; &gt; Unfortunately passing &quot;-e&quot; subtly changes the behaviour of libcap&#39;s<br>
&gt; &gt; Make.Rules under recursive make when prefix=&quot;&quot; (which it is for us since<br>
&gt; &gt; we&#39;re using meta-micro.)<br>
<br>
</span>[snip]<br>
<span class=""><br>
&gt; Given our use of make -e (with MAKEFLAGS= to try to prevent it from flowing<br>
&gt; into submakes) was always a hack to try to let things &quot;just work&quot;, I think<br>
&gt; wherever possible we should stop relying on it, and explicitly pass<br>
&gt; everything the way that particular make-based buildsystem expects,<br>
&gt; personally. Better to be explicit than to rely on implicit &quot;magic&quot;.<br>
&gt; Further, that behavior encourages recipe maintainers to not even read the<br>
&gt; buildsystem of the project they&#39;re creating a recipe for, which often leads<br>
&gt; to problems down the road..<br>
<br>
</span>I completely agree, but what is the best way to avoid &quot;-e&quot;. Is there ever<br>
likely to be anything else in EXTRA_OEMAKE that would need to be preserved?<br>
<br>
I notice that autotools.bbclass just sets EXTRA_OEMAKE = &quot;&quot; so perhaps it&#39;s<br>
relatively safe to just assign it directly.</blockquote></div><br>Yeah, generally it&#39;s safe. The recipe knows more about a make-based buildsystem than any of our classes do anyway, since there are no real standards. Autotools is a different story, of course.<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>