aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-07-14 12:52:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-21 07:47:53 +0100
commit9a9577ed498c9e9333f9640871378d67481011d2 (patch)
treedb407da4d4a7b7c943ae6d8068249f48fa2c49e6 /bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
parent4bc1ee5de4227bf00c1f25f9dc35717896b085f0 (diff)
downloadopenembedded-core-contrib-9a9577ed498c9e9333f9640871378d67481011d2.tar.gz
bitbake: bitbake-user-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. (Bitbake rev: e9ad2e0f6d2681dd793cc39c468eb86e57fd6f48) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml16
1 files changed, 9 insertions, 7 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
index e81f3ed653..4d8ee69b6d 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
@@ -992,19 +992,21 @@
mechanism generates recipe variants by rewriting
variable values and applying overrides such as
<filename>_class-native</filename>.
- For example, to generate a native version of a recipe
- named "foo", a
+ For example, to generate a native version of a recipe,
+ a
<link linkend='var-DEPENDS'><filename>DEPENDS</filename></link>
on "foo" is rewritten to a <filename>DEPENDS</filename>
on "foo-native".
</para>
<para>
- No reparsing, which adds some limitations, of the
- recipe is done for each variant.
- For example, it is not possible to "include" a
- different file depending on the variant, since
- "include's" are processed when the recipe is parsed.
+ Even when using <filename>BBCLASSEXTEND</filename>, the
+ recipe is only parsed once.
+ Parsing once adds some limitations.
+ For example, it is not possible to
+ include a different file depending on the variant,
+ since <filename>include</filename> statements are
+ processed when the recipe is parsed.
</para>
</note>
</para>