<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"><<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>></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 = "" <--- ????<br>
do_build[func] = "1"<br>
do_build[noexec] = "1"<br>
do_build[recrdeptask] += "do_deploy"<br>
do_build () {<br>
:<br>
}<br>
<br>
what's with the lines<br>
<br>
do_build = ""<br>
do_build[func] = "1"<br>
<br>
i'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 "" and func = 1 bit defined it as a function but whose contents were the empty string, but that'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 '-L/^do_build/,/^}/' 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>