[yocto] Where does this object "d" come from?

caterwaul caterwaul at 163.com
Sat Apr 7 10:08:52 PDT 2012


Hi,


I'm just start to investigate how bitbake works and need your help about a question. Thank you in advance.


The object "d" in the pasted paragraph is passed down through the following Python scripts. But where does the object "d" come from? and where can I find the its definition?


in the file poky-edison-6.0.1/meta/classes/base.bbclass
......
addtask fetch
do_fetch[dirs] = "${DL_DIR}"
python base_do_fetch() {


src_uri = (bb.data.getVar('SRC_URI', d, True) or "").split()
if len(src_uri) == 0:
return


......
}
......
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120408/6c608b14/attachment.html>


More information about the yocto mailing list