summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-09-17 16:07:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-22 12:20:47 +0100
commit33ed042d4f6de99efca7c6724b8966b9da79e330 (patch)
tree60fb51cf4bfe0666fdd8d67bd72c655b9ddbeb35 /documentation/ref-manual
parent9cef06f6931b7cd7589d38a3eb7dfc3732d5993f (diff)
downloadpoky-33ed042d4f6de99efca7c6724b8966b9da79e330.tar.gz
ref-manual: Updated the RDEPENDS variable to include syntax
Fixes [YOCTO #4987] This variable supports some boolean operators that we are not showing for supporting versioned dependencies. I added the explanation for them. There will be other variables affected later once we settle on the changes here. (From yocto-docs rev: e5c1e66d670c708012bd5ab51aa94f87426f57e2) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/ref-variables.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 2ba4882d8f..51f4966349 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -4133,6 +4133,32 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
4133 </para> 4133 </para>
4134 4134
4135 <para> 4135 <para>
4136 BitBake, which the OpenEmbedded build system uses, supports
4137 specifying versioned dependencies.
4138 Although the syntax varies depending on the packaging
4139 format, BitBake hides these differences from you.
4140 Here is the general syntax to specify versions with
4141 the <filename>RDEPENDS</filename> variable:
4142 <literallayout class='monospaced'>
4143 RDEPENDS_${PN} = "&lt;package&gt; (&lt;operator&gt; &lt;version&gt;)"
4144 </literallayout>
4145 For <filename>operator</filename>, you can specify the
4146 following:
4147 <literallayout class='monospaced'>
4148 =
4149 &lt;
4150 &gt;
4151 &lt;=
4152 &gt;=
4153 </literallayout>
4154 For example, the following sets up a dependency on version
4155 1.2 or greater of the package <filename>foo</filename>:
4156 <literallayout class='monospaced'>
4157 RDEPENDS_${PN} = "foo (>= 1.2)"
4158 </literallayout>
4159 </para>
4160
4161 <para>
4136 For information on build-time dependencies, see the 4162 For information on build-time dependencies, see the
4137 <link linkend='var-DEPENDS'><filename>DEPENDS</filename></link> 4163 <link linkend='var-DEPENDS'><filename>DEPENDS</filename></link>
4138 variable. 4164 variable.