<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 1:22 PM, Alejandro Hernandez <span dir="ltr">&lt;<a href="mailto:alejandro.hernandez@linux.intel.com" target="_blank">alejandro.hernandez@linux.intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It does not change behavior but it forces the value to be a string,
    avoiding related problems when performing comparisons on &quot;strict&quot;,
    another option as Richard Purdie suggested would be to import the
    boolean function from /meta/lib/oe/types.py in OE-Core into a new
    types module in bitbake, forcing it to get a &quot;good&quot; value that we
    could then use.</blockquote></div><br>No, that&#39;s incorrect. The second argument of getVar is a boolean argument named &#39;expand&#39;, which controls whether you get an expanded or unexpanded value. You&#39;re now passing a string in boolean context.<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>