diff options
Diffstat (limited to 'bitbake')
-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> |