From 33ed042d4f6de99efca7c6724b8966b9da79e330 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 17 Sep 2013 16:07:56 -0700 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 @@ -4132,6 +4132,32 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + + BitBake, which the OpenEmbedded build system uses, supports + specifying versioned dependencies. + Although the syntax varies depending on the packaging + format, BitBake hides these differences from you. + Here is the general syntax to specify versions with + the RDEPENDS variable: + + RDEPENDS_${PN} = "<package> (<operator> <version>)" + + For operator, you can specify the + following: + + = + < + > + <= + >= + + For example, the following sets up a dependency on version + 1.2 or greater of the package foo: + + RDEPENDS_${PN} = "foo (>= 1.2)" + + + For information on build-time dependencies, see the DEPENDS