diff options
Diffstat (limited to 'documentation/poky-ref-manual/ref-variables.xml')
-rw-r--r-- | documentation/poky-ref-manual/ref-variables.xml | 16 |
1 files changed, 11 insertions, 5 deletions
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 @@ <para> To use the <filename>CONFFILES</filename> 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: <literallayout class='monospaced'> @@ -622,9 +622,9 @@ <para> To use the <filename>FILES</filename> 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: <literallayout class='monospaced'> FILES_${PN} += "${bindir}/mydir1/ ${bindir}/mydir2/myfile" @@ -1545,11 +1545,17 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2" <glossentry id='var-PN'><glossterm>PN</glossterm> <glossdef> - <para>The recipe name. + <para>This variable can have two separate functions depending on the context: a recipe + name or a resulting package name.</para> + <para><filename>PN</filename> 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 <filename>expat_2.0.1.bb</filename>, then the default value of <filename>PN</filename> - will be "expat". + will be "expat".</para> + <para> + The variable refers to a package name in the context of a file created or produced by the + OpenEmbedded build system. </para> </glossdef> </glossentry> |