Re: Where does the 'PN' is set.

Biao <huanmateme@...>

在 2013-01-04 19:34:10,"Bill Traynor" <wmat@...> 写道:
On Fri, Jan 4, 2013 at 1:53 AM, Biao <huanmateme@...> wrote:

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

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:

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

Thanks for you kindly help. 


yocto mailing list

Join to automatically receive all group messages.