From 19bd5f07256276e40edf62b2447c3ca3a3914cab Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 20 Sep 2012 13:47:34 -0700 Subject: documentation/poky-ref-manual: PN scrub Checked and fixed all text surrounding the description and use of the PN variable. This variable can mean a recipe or a resulting package depending on context. (From yocto-docs rev: 7ac52f6b184670db9cdab7c205126b62c60b0d29) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/poky-ref-manual/ref-variables.xml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'documentation/poky-ref-manual/ref-variables.xml') diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index 1ef8163c6e..9caa51f587 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml @@ -311,7 +311,7 @@ To use the CONFFILES variable, provide a package name - override that identifies the package. + override that identifies the resulting package. Then, provide a space-separated list of files. Here is an example: @@ -622,9 +622,9 @@ To use the FILES variable, provide a package name - override that identifies the package. + override that identifies the resulting package. Then, provide a space-separated list of files or paths that identifies the - files you want included as part of the package. + files you want included as part of the resulting package. Here is an example: FILES_${PN} += "${bindir}/mydir1/ ${bindir}/mydir2/myfile" @@ -1545,11 +1545,17 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2" PN - The recipe name. + This variable can have two separate functions depending on the context: a recipe + name or a resulting package name. + PN refers to a recipe name in the context of a file used + by the OpenEmbedded build system as input to create a package. The name is normally extracted from the recipe file name. For example, if the recipe is named expat_2.0.1.bb, then the default value of PN - will be "expat". + will be "expat". + + The variable refers to a package name in the context of a file created or produced by the + OpenEmbedded build system. -- cgit v1.2.3-54-g00ecf