<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 9, 2014 at 5:42 PM, Robert P. J. Day <span dir="ltr">&lt;<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":8v" class="" style="overflow:hidden">  first time i noticed this in base.bbclass:<br>
<br>
addtask build after do_populate_sysroot<br>
do_build = &quot;&quot;             &lt;--- ????<br>
do_build[func] = &quot;1&quot;<br>
do_build[noexec] = &quot;1&quot;<br>
do_build[recrdeptask] += &quot;do_deploy&quot;<br>
do_build () {<br>
        :<br>
}<br>
<br>
  what&#39;s with the lines<br>
<br>
do_build = &quot;&quot;<br>
do_build[func] = &quot;1&quot;<br>
<br>
i&#39;ve never seen that construct with any other tasks.</div></blockquote></div><br></div><div class="gmail_extra">I believe this was a remnant, from before bitbake started disliking empty tasks. The &quot;&quot; and func = 1 bit defined it as a function but whose contents were the empty string, but that&#39;s not something bitbake likes anymore, hence the new definition with the :. See the git-blame info for those lines to see the commits that last touched them: `git blame &#39;-L/^do_build/,/^}/&#39; meta/classes/base.bbclass`<br>

-- <br>Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics
</div></div>