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

Biao huanmateme at 163.com
Fri Jan 4 18:46:59 PST 2013


在 2013-01-04 19:34:10,"Bill Traynor" <wmat at alphatroop.com> 写道:

On Fri, Jan 4, 2013 at 1:53 AM, Biao <huanmateme at 163.com> wrote:

Hi,


In meta/conf/documentation.conf
PN[doc] = "PN holds the name of the package (Package Name). It is gathered from the bitbake-file filename"


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'?


Yes, within the context of the build process, PN refers to the Package Name that is extracted from the recipe file name.  So your example is correct.


For reference, see the PN variable description in the Yocto Project Reference manual:  http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-P


The "gathering" occurs during the Bitbake parsing step.  Roughly, parsing occurs in the following order:  configuration files, classes, bbfiles.


Thanks for you kindly help. 






Thanks,
Biao 

_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130105/92ad1739/attachment.html>


More information about the yocto mailing list