diff options
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.xml | 21 |
1 files changed, 21 insertions, 0 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 4d06ff950c..e26422a421 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 | |||
@@ -986,6 +986,27 @@ | |||
986 | BBCLASSEXTEND =+ "native nativesdk" | 986 | BBCLASSEXTEND =+ "native nativesdk" |
987 | BBCLASSEXTEND =+ "multilib:<replaceable>multilib_name</replaceable>" | 987 | BBCLASSEXTEND =+ "multilib:<replaceable>multilib_name</replaceable>" |
988 | </literallayout> | 988 | </literallayout> |
989 | <note> | ||
990 | <para> | ||
991 | Internally, the <filename>BBCLASSEXTEND</filename> | ||
992 | mechanism generates recipe variants by rewriting | ||
993 | variable values and applying overrides such as | ||
994 | <filename>_class-native</filename>. | ||
995 | For example, to generate a native version of a recipe | ||
996 | named "foo", a | ||
997 | <link linkend='var-DEPENDS'><filename>DEPENDS</filename></link> | ||
998 | on "foo" is rewritten to a <filename>DEPENDS</filename> | ||
999 | on "foo-native". | ||
1000 | </para> | ||
1001 | |||
1002 | <para> | ||
1003 | No reparsing, which adds some limitations, of the | ||
1004 | recipe is done for each variant. | ||
1005 | For example, it is not possible to "include" a | ||
1006 | different file depending on the variant, since | ||
1007 | "include's" are processed when the recipe is parsed. | ||
1008 | </para> | ||
1009 | </note> | ||
989 | </para> | 1010 | </para> |
990 | </glossdef> | 1011 | </glossdef> |
991 | </glossentry> | 1012 | </glossentry> |