mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01: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:
committed by
Richard Purdie
parent
63efaa94c1
commit
fd54658d87
@@ -1454,28 +1454,32 @@
|
||||
|
||||
<para>
|
||||
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'>
|
||||
DESCRIPTION = "My Custom Package Groups"
|
||||
|
||||
inherit packagegroup
|
||||
|
||||
PACKAGES = "\
|
||||
packagegroup-custom-apps \
|
||||
packagegroup-custom-tools \
|
||||
${PN}-apps \
|
||||
${PN}-tools \
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-custom-apps = "\
|
||||
RDEPENDS_${PN}-apps = "\
|
||||
dropbear \
|
||||
portmap \
|
||||
psplash"
|
||||
|
||||
RDEPENDS_packagegroup-custom-tools = "\
|
||||
RDEPENDS_${PN}-tools = "\
|
||||
oprofile \
|
||||
oprofileui-server \
|
||||
lttng-tools"
|
||||
|
||||
RRECOMMENDS_packagegroup-custom-tools = "\
|
||||
RRECOMMENDS_${PN}-tools = "\
|
||||
kernel-module-oprofile"
|
||||
</literallayout>
|
||||
</para>
|
||||
|
||||
Reference in New Issue
Block a user