summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-07-14 12:54:34 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-19 15:04:51 +0100
commitbdf9003cfbbd2c101d047299ee38161ab07f7be4 (patch)
treef52881feef98083fc23358ed44dfe05fe530496e /documentation
parentacdfb5f3cc90e747f06ba655fa1b07e8d878e96e (diff)
downloadpoky-bdf9003cfbbd2c101d047299ee38161ab07f7be4.tar.gz
ref-manual: Added review changes to BBCLASSEXTEND description
Fixes [YOCTO #9909] Added some technical clarifications to the existing note to be clear about what is causing the limitations in this case. Applied some formatting fixed to for the use of the include word. (From yocto-docs rev: cbbd960d8665d9fb6b92698c14728d1c0bcc659f) 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.xml16
1 files changed, 9 insertions, 7 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index e265aa94bd..6e6eb22d86 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -1001,19 +1001,21 @@
1001 mechanism generates recipe variants by rewriting 1001 mechanism generates recipe variants by rewriting
1002 variable values and applying overrides such as 1002 variable values and applying overrides such as
1003 <filename>_class-native</filename>. 1003 <filename>_class-native</filename>.
1004 For example, to generate a native version of a recipe 1004 For example, to generate a native version of a recipe,
1005 named "foo", a 1005 a
1006 <link linkend='var-DEPENDS'><filename>DEPENDS</filename></link> 1006 <link linkend='var-DEPENDS'><filename>DEPENDS</filename></link>
1007 on "foo" is rewritten to a <filename>DEPENDS</filename> 1007 on "foo" is rewritten to a <filename>DEPENDS</filename>
1008 on "foo-native". 1008 on "foo-native".
1009 </para> 1009 </para>
1010 1010
1011 <para> 1011 <para>
1012 No reparsing, which adds some limitations, of the 1012 Even when using <filename>BBCLASSEXTEND</filename>, the
1013 recipe is done for each variant. 1013 recipe is only parsed once.
1014 For example, it is not possible to "include" a 1014 Parsing once adds some limitations.
1015 different file depending on the variant, since 1015 For example, it is not possible to
1016 "include's" are processed when the recipe is parsed. 1016 include a different file depending on the variant,
1017 since <filename>include</filename> statements are
1018 processed when the recipe is parsed.
1017 </para> 1019 </para>
1018 </note> 1020 </note>
1019 </para> 1021 </para>