summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorrpjday@crashcourse.ca <rpjday@crashcourse.ca>2020-03-29 10:34:59 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-06 14:40:24 +0100
commitfd54658d874ef57ebc8a5342f101362a2616dc11 (patch)
treee1e1db8122e0a674cc1037aed0d48f087082e0c9 /documentation
parent63efaa94c15597c952d5207f98e378511bb75d1e (diff)
downloadpoky-fd54658d874ef57ebc8a5342f101362a2616dc11.tar.gz
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>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml16
1 files changed, 10 insertions, 6 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 5d973371fe..a2c5bb096c 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -1454,28 +1454,32 @@
1454 1454
1455 <para> 1455 <para>
1456 Here is a short, fabricated example showing the same basic 1456 Here is a short, fabricated example showing the same basic
1457 pieces: 1457 pieces for a hypothetical packagegroup defined in
1458 <filename>packagegroup-custom.bb</filename>, where the
1459 variable <filename>PN</filename> is the standard way to
1460 abbreviate the reference to the full packagegroup name
1461 <filename>packagegroup-custom</filename>:
1458 <literallayout class='monospaced'> 1462 <literallayout class='monospaced'>
1459 DESCRIPTION = "My Custom Package Groups" 1463 DESCRIPTION = "My Custom Package Groups"
1460 1464
1461 inherit packagegroup 1465 inherit packagegroup
1462 1466
1463 PACKAGES = "\ 1467 PACKAGES = "\
1464 packagegroup-custom-apps \ 1468 ${PN}-apps \
1465 packagegroup-custom-tools \ 1469 ${PN}-tools \
1466 " 1470 "
1467 1471
1468 RDEPENDS_packagegroup-custom-apps = "\ 1472 RDEPENDS_${PN}-apps = "\
1469 dropbear \ 1473 dropbear \
1470 portmap \ 1474 portmap \
1471 psplash" 1475 psplash"
1472 1476
1473 RDEPENDS_packagegroup-custom-tools = "\ 1477 RDEPENDS_${PN}-tools = "\
1474 oprofile \ 1478 oprofile \
1475 oprofileui-server \ 1479 oprofileui-server \
1476 lttng-tools" 1480 lttng-tools"
1477 1481
1478 RRECOMMENDS_packagegroup-custom-tools = "\ 1482 RRECOMMENDS_${PN}-tools = "\
1479 kernel-module-oprofile" 1483 kernel-module-oprofile"
1480 </literallayout> 1484 </literallayout>
1481 </para> 1485 </para>