[OE-core] Toolchain library whitelisting: A first pass (preliminary patch/RFC)

Chris Larson clarson at kergoth.com
Fri Apr 27 05:15:41 UTC 2012


On Thu, Apr 26, 2012 at 3:42 PM, Peter Seebach
<peter.seebach at windriver.com> wrote:
>> Change the above to:
>>      multilibs = data.getVar("MULTILIBS", True)
>>      if multilibs:
>
> If someone has done:
>
> MULTILIBS = ""
>
> this then ends up being confused because pairs[0] of the single
> returned item is still "", and that's not valid.


This doesn't make sense. If you do "if multilibs:" and multilibs is
the empty string, it'll evaluate as false, and that block won't be
entered.
-- 
Christopher Larson




More information about the Openembedded-core mailing list