diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-07-14 12:52:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-21 07:47:53 +0100 |
commit | 9a9577ed498c9e9333f9640871378d67481011d2 (patch) | |
tree | db407da4d4a7b7c943ae6d8068249f48fa2c49e6 | |
parent | 4bc1ee5de4227bf00c1f25f9dc35717896b085f0 (diff) | |
download | poky-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>
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml | 16 |
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 @@ | |||
992 | mechanism generates recipe variants by rewriting | 992 | mechanism generates recipe variants by rewriting |
993 | variable values and applying overrides such as | 993 | variable values and applying overrides such as |
994 | <filename>_class-native</filename>. | 994 | <filename>_class-native</filename>. |
995 | For example, to generate a native version of a recipe | 995 | For example, to generate a native version of a recipe, |
996 | named "foo", a | 996 | a |
997 | <link linkend='var-DEPENDS'><filename>DEPENDS</filename></link> | 997 | <link linkend='var-DEPENDS'><filename>DEPENDS</filename></link> |
998 | on "foo" is rewritten to a <filename>DEPENDS</filename> | 998 | on "foo" is rewritten to a <filename>DEPENDS</filename> |
999 | on "foo-native". | 999 | on "foo-native". |
1000 | </para> | 1000 | </para> |
1001 | 1001 | ||
1002 | <para> | 1002 | <para> |
1003 | No reparsing, which adds some limitations, of the | 1003 | Even when using <filename>BBCLASSEXTEND</filename>, the |
1004 | recipe is done for each variant. | 1004 | recipe is only parsed once. |
1005 | For example, it is not possible to "include" a | 1005 | Parsing once adds some limitations. |
1006 | different file depending on the variant, since | 1006 | For example, it is not possible to |
1007 | "include's" are processed when the recipe is parsed. | 1007 | include a different file depending on the variant, |
1008 | since <filename>include</filename> statements are | ||
1009 | processed when the recipe is parsed. | ||
1008 | </para> | 1010 | </para> |
1009 | </note> | 1011 | </note> |
1010 | </para> | 1012 | </para> |