[yocto] Where does the 'PN' is set.

Burton, Ross ross.burton at intel.com
Fri Jan 4 03:35:58 PST 2013


On 4 January 2013 11:34, Bill Traynor <wmat at alphatroop.com> 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



More information about the yocto mailing list