diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 3278ccc27e..b876bc3115 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -995,6 +995,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. + +