[oe] getVar. setVar, "d", etc.

Rich Pixley rich.pixley at palm.com
Tue Feb 5 01:35:56 UTC 2008


Richard Purdie wrote:
> On Mon, 2008-02-04 at 14:05 -0800, Rich Pixley wrote:
>   
>> I'm trying to figure out how to set bitbake variables from within python
>> escapes but I'm not having much luck.
>>
>> Could someone please explain the use of the "d" variable in the getVar
>> and setVar calls?  Or point me towards enlightening pieces of code or
>> documentation?
>>     
>
> d is the data object you want to set the variables within or get the
> variable from.
Ok, so where does it come from?

Eg, in db3_3.2.9.bb, in do_package(), there's a getVar and a setVar but 
it's not at all clear there "d" is assigned.  Is it just a conventional 
global?  What other conventional globals might one want to pass to 
getVar or setVar?

--rich



More information about the Openembedded-devel mailing list