diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 9723cbb4d4..b44fdcb73f 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -10417,12 +10417,20 @@
PACKAGECONFIG blocks are defined
in recipes when you specify features and then arguments
that define feature behaviors.
- Here is the basic block structure:
+ Here is the basic block structure (broken over multiple
+ lines for readability):
PACKAGECONFIG ??= "f1 f2 f3 ..."
- PACKAGECONFIG[f1] = "--with-f1,--without-f1,build-deps-f1,rt-deps-f1,rt-recs-f1"
- PACKAGECONFIG[f2] = "--with-f2,--without-f2,build-deps-f2,rt-deps-f2,rt-recs-f2"
- PACKAGECONFIG[f3] = "--with-f3,--without-f3,build-deps-f3,rt-deps-f3,rt-recs-f3"
+ PACKAGECONFIG[f1] = "\
+ --with-f1, \
+ --without-f1, \
+ build-deps-for-f1, \
+ runtime-deps-for-f1, \
+ runtime-recommends-for-f1, \
+ packageconfig-conflicts-for-f1 \
+ "
+ PACKAGECONFIG[f2] = "\
+ ... and so on and so on ...
@@ -10431,7 +10439,7 @@
variable itself specifies a space-separated list of the
features to enable.
Following the features, you can determine the behavior of
- each feature by providing up to five order-dependent
+ each feature by providing up to six order-dependent
arguments, which are separated by commas.
You can omit any argument you like but must retain the
separating commas.
@@ -10461,6 +10469,10 @@
(RRECOMMENDS)
that should be added if the feature is enabled.
+ Any conflicting (that is, mutually
+ exclusive) PACKAGECONFIG
+ settings for this feature.
+
@@ -10468,25 +10480,23 @@
Consider the following
PACKAGECONFIG block taken from the
librsvg recipe.
- In this example the feature is croco,
+ In this example the feature is gtk,
which has three arguments that determine the feature's
behavior.
- PACKAGECONFIG ??= "croco"
- PACKAGECONFIG[croco] = "--with-croco,--without-croco,libcroco"
+ PACKAGECONFIG[gtk] = "--with-gtk3,--without-gtk3,gtk+3"
- The --with-croco and
- libcroco arguments apply only if
+ The --with-gtk3 and
+ gtk+3 arguments apply only if
the feature is enabled.
- In this case, --with-croco is
+ In this case, --with-gtk3 is
added to the configure script argument list and
- libcroco is added to
+ gtk+3 is added to
DEPENDS.
On the other hand, if the feature is disabled say through
a .bbappend file in another layer, then
- the second argument --without-croco is
- added to the configure script rather than
- --with-croco.
+ the second argument --without-gtk3 is
+ added to the configure script instead.