From: Scott Rifenbark Date: Thu, 14 Apr 2016 15:53:26 +0000 (-0700) Subject: bitbake: bitbake-user-manual: Updated discussion about using "inherit" X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=20a0121b558b32179220e394a66cb90dc6ff3879;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: bitbake-user-manual: Updated discussion about using "inherit" Fixes [YOCTO #9343] I updated the inherit directive section to note that you can inherit multiple classes using a single line. (Bitbake rev: 3f29ebec593f20894f7a2a0b6d50ee22474aee75) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index 9fc3a3ccd76..46833227636 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml @@ -809,6 +809,16 @@ INHERIT to inherit a class effectively inherits the class globally (i.e. for all recipes). + If you want to use the directive to inherit + multiple classes, you can provide them on the same line in the + local.conf file. + Use spaces to separate the classes. + The following example shows how to inherit both the + autotools and pkgconfig + classes: + + inherit autotools pkgconfig +