Re: Where does the 'PN' is set.


Burton, Ross <ross.burton@...>
 

On 4 January 2013 11:34, Bill Traynor <wmat@...> wrote:
I would like to know where does the so-called 'gather' exactly happens?
For example, does it mean the bitbake core get the 'PN = u-boot' by
cutting of the name of 'u-boot_2011.03.bb'?
If you want to know exactly where it happens, see bitbake.conf:

PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[0] or
'defaultpkgname'}"
PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[1] or '1.0'}"
PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[2] or 'r0'}"

Ross

Join yocto@lists.yoctoproject.org to automatically receive all group messages.