[oe-commits] [bitbake] 08/13: bitbake-user-manual: Added review changes to BBCLASSEXTEND description

git at git.openembedded.org git at git.openembedded.org
Thu Jul 21 06:49:52 UTC 2016


rpurdie pushed a commit to branch master
in repository bitbake.

commit e9ad2e0f6d2681dd793cc39c468eb86e57fd6f48
Author: Scott Rifenbark <srifenbark at gmail.com>
AuthorDate: Thu Jul 14 12:52:30 2016 -0700

    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.
    
    Signed-off-by: Scott Rifenbark <srifenbark at gmail.com>
---
 .../bitbake-user-manual-ref-variables.xml                | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
index e81f3ed..4d8ee69 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
+++ b/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>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list