[OE-core] [PATCH 1/1] insane.bbclass: Added QA test for expanded ${D}

Burton, Ross ross.burton at intel.com
Wed Jan 7 23:04:30 UTC 2015


On 7 January 2015 at 22:02, Randy Witt <randy.e.witt at linux.intel.com> wrote:

> Would it be simpler to do "bbvar = d.getVar(var + "_" + pak, False)" so
> you don't get the expanded value, and then just check for ${D}? I suppose
> it would save one extra variable and a couple of expansions.
>

Alejandro answered this point in the original thread:

"using the existing package variable handling infrastructure within the
class, ends up expanding the variables before being able to check them ,
using getVar('FOO', False) is useless in this case, any suggestions?"

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150107/02322e70/attachment-0002.html>


More information about the Openembedded-core mailing list