summaryrefslogtreecommitdiffstats
path: root/bitbake/doc
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-07-12 14:08:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-21 07:47:53 +0100
commita6cffcffc17eb86ee8870ecec2d836d786dc3231 (patch)
treec43704084dc7274b90fddab1615257534776ab17 /bitbake/doc
parent8c55a9cf882eb7edd1ebfbcdfc66a330b401926a (diff)
downloadpoky-a6cffcffc17eb86ee8870ecec2d836d786dc3231.tar.gz
bitbake: bitbake-user-manual: Added clarifying note to BBCLASSEXTEND variable.
Fixes [YOCTO #9909] Added a note that talks about how the BBCLASSEXTEND mechanism adds recipe variants. (Bitbake rev: 185c9c5fc205fe9c9daf5238f11b92bd0954f5c6) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml21
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>