documentation/poky-ref-manual/ref-variables.xml: Edits to PN suffix

Added some clarifying edits to the explanation about suffix and
prefix names used with the PN variable.

(From yocto-docs rev: f42baf8ddb3da1ab8ba69d30581812646ce4dc83)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2012-09-20 13:58:34 -07:00 committed by Richard Purdie
parent 19bd5f0725
commit 69eb23904b
1 changed files with 10 additions and 3 deletions

View File

@ -1555,8 +1555,15 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
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>
OpenEmbedded build system.</para>
<para>If applicable, the <filename>PN</filename> variable also contains any special
suffix or prefix.
For example, using <filename>bash</filename> to build packages for the native
machine, <filename>PN</filename> is <filename>bash-native</filename>.
Using <filename>bash</filename> to build packages for the target and for Multilib,
<filename>PN</filename> would be <filename>bash</filename> and
<filename>lib64-bash</filename>, respectively.
</para>
</glossdef>
</glossentry>
@ -1853,7 +1860,7 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
recipe file resides:
<itemizedlist>
<listitem><para><emphasis><filename>${PN}</filename> -</emphasis> The recipe name
with any special suffix or prefix.
with any special suffix or prefix, if applicable.
For example, using <filename>bash</filename> to build for the native
machine, <filename>PN</filename> is <filename>bash-native</filename>.
Using <filename>bash</filename> to build for the target and for Multilib,