summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-10-19 08:43:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-25 17:55:37 +0100
commit5f4b2020781f82ae2b9d391a16905ec9ddb4f888 (patch)
tree744c368fef10fe26f9f6248e55e0a036431726b0 /documentation
parent3769f7ba06dcf48ecba250483d895256b4c52d16 (diff)
downloadpoky-5f4b2020781f82ae2b9d391a16905ec9ddb4f888.tar.gz
ref-manual: Updated the RDEPENDS variable description.
Fixes [YOCTO #10445] Pointed out that the EXTENDPKGV variable is hard to locate in the BB manual. Firstly, we don't document that variable in the BB manual.... maybe we should. For the ref-manual, however, it is barely referenced in a side example from the dev-manual. So, I updated the RDEPENDS variable to have a "Tip" box in the area where it is shown how to use the package version as part of the RDEPENDs variable. (From yocto-docs rev: 7aff5df538c27cf3c2700538e46e723cdb5d9986) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index ae1068a90c..b020a27712 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -10621,7 +10621,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
10621 <literallayout class='monospaced'> 10621 <literallayout class='monospaced'>
10622 RDEPENDS_${PN} = "<replaceable>package</replaceable> (<replaceable>operator</replaceable> <replaceable>version</replaceable>)" 10622 RDEPENDS_${PN} = "<replaceable>package</replaceable> (<replaceable>operator</replaceable> <replaceable>version</replaceable>)"
10623 </literallayout> 10623 </literallayout>
10624 For <filename>operator</filename>, you can specify the 10624 For <replaceable>operator</replaceable>, you can specify the
10625 following: 10625 following:
10626 <literallayout class='monospaced'> 10626 <literallayout class='monospaced'>
10627 = 10627 =
@@ -10630,6 +10630,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
10630 &lt;= 10630 &lt;=
10631 &gt;= 10631 &gt;=
10632 </literallayout> 10632 </literallayout>
10633 For <replaceable>version</replaceable>, provide the version
10634 number.
10635 <note><title>Tip</title>
10636 You can use
10637 <link linkend='var-EXTENDPKGV'><filename>EXTENDPKGV</filename></link>
10638 to provide a full package version specification.
10639 </note>
10633 For example, the following sets up a dependency on version 10640 For example, the following sets up a dependency on version
10634 1.2 or greater of the package <filename>foo</filename>: 10641 1.2 or greater of the package <filename>foo</filename>:
10635 <literallayout class='monospaced'> 10642 <literallayout class='monospaced'>