1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

dev-manual: clarify PN usage in packagegroup files

Make it clear to the reader that they can use the much shorter form of
${PN} for the base packagegroup name, rather than typing it out in
full.

(From yocto-docs rev: 19915978c30bbf37b65d9887c78a23394779f079)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
rpjday@crashcourse.ca
2020-03-29 10:34:59 -04:00
committed by Richard Purdie
parent 63efaa94c1
commit fd54658d87
@@ -1454,28 +1454,32 @@
<para> <para>
Here is a short, fabricated example showing the same basic Here is a short, fabricated example showing the same basic
pieces: pieces for a hypothetical packagegroup defined in
<filename>packagegroup-custom.bb</filename>, where the
variable <filename>PN</filename> is the standard way to
abbreviate the reference to the full packagegroup name
<filename>packagegroup-custom</filename>:
<literallayout class='monospaced'> <literallayout class='monospaced'>
DESCRIPTION = "My Custom Package Groups" DESCRIPTION = "My Custom Package Groups"
inherit packagegroup inherit packagegroup
PACKAGES = "\ PACKAGES = "\
packagegroup-custom-apps \ ${PN}-apps \
packagegroup-custom-tools \ ${PN}-tools \
" "
RDEPENDS_packagegroup-custom-apps = "\ RDEPENDS_${PN}-apps = "\
dropbear \ dropbear \
portmap \ portmap \
psplash" psplash"
RDEPENDS_packagegroup-custom-tools = "\ RDEPENDS_${PN}-tools = "\
oprofile \ oprofile \
oprofileui-server \ oprofileui-server \
lttng-tools" lttng-tools"
RRECOMMENDS_packagegroup-custom-tools = "\ RRECOMMENDS_${PN}-tools = "\
kernel-module-oprofile" kernel-module-oprofile"
</literallayout> </literallayout>
</para> </para>