<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"><<a href="mailto:alejandro.hernandez@linux.intel.com" target="_blank">alejandro.hernandez@linux.intel.com</a>></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 "strict",
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 "good" value that we
could then use.</blockquote></div><br>No, that's incorrect. The second argument of getVar is a boolean argument named 'expand', which controls whether you get an expanded or unexpanded value. You'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>