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

On Fri, Jan 4, 2013 at 1:53 AM, Biao <huanmat...@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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



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

Reply via email to