From 185c9c5fc205fe9c9daf5238f11b92bd0954f5c6 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 12 Jul 2016 14:08:32 -0700 Subject: 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. Signed-off-by: Scott Rifenbark --- .../bitbake-user-manual-ref-variables.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 4d06ff950..e26422a42 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml @@ -986,6 +986,27 @@ BBCLASSEXTEND =+ "native nativesdk" BBCLASSEXTEND =+ "multilib:multilib_name" + + + Internally, the BBCLASSEXTEND + mechanism generates recipe variants by rewriting + variable values and applying overrides such as + _class-native. + For example, to generate a native version of a recipe + named "foo", a + DEPENDS + on "foo" is rewritten to a DEPENDS + on "foo-native". + + + + 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. + + -- cgit 1.2.3-korg