From 362f6044fcaafe51ab4377af8f2606165b112717 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 11 May 2017 12:03:48 -0700 Subject: bitbake-user-manual: Updated INHERIT descriptions Fixes [YOCTO #11498] Enhanced the glossary description for the INHERIT variable to give more detail and to cross-reference the reader back into the Chapter 3 section describing its use. Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 3 ++- .../bitbake-user-manual-ref-variables.xml | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index 1d1e5b35f..b32fa3392 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml @@ -1072,7 +1072,8 @@ Because .conf files are parsed first during BitBake's execution, using - INHERIT to inherit a class effectively + INHERIT + to inherit a class effectively inherits the class globally (i.e. for all recipes). If you want to use the directive to inherit 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 0e89bf239..07bda982f 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml @@ -1596,9 +1596,19 @@ INHERIT - Causes the named class to be inherited at - this point during parsing. - The variable is only valid in configuration files. + Causes the named class or classes to be inherited globally. + Anonymous functions in the class or classes + are not executed for the + base configuration and in each individual recipe. + The OpenEmbedded build system ignores changes to + INHERIT in individual recipes. + + + + For more information on INHERIT, see + the + "INHERIT Configuration Directive" + section. -- cgit 1.2.3-korg