diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-04-14 08:53:26 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-15 06:59:44 +0100 |
commit | 20a0121b558b32179220e394a66cb90dc6ff3879 (patch) | |
tree | a24703c03610cc222edaecfad306031357565eae /bitbake/doc | |
parent | 9f374c4e8523430ef2fc5cb492c3ece9786623d2 (diff) | |
download | openembedded-core-contrib-20a0121b558b32179220e394a66cb90dc6ff3879.tar.gz |
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 <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-metadata.xml | 10 |
1 files changed, 10 insertions, 0 deletions
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 9fc3a3ccd7..4683322763 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 @@ <filename>INHERIT</filename> to inherit a class effectively inherits the class globally (i.e. for all recipes). </note> + If you want to use the directive to inherit + multiple classes, you can provide them on the same line in the + <filename>local.conf</filename> file. + Use spaces to separate the classes. + The following example shows how to inherit both the + <filename>autotools</filename> and <filename>pkgconfig</filename> + classes: + <literallayout class='monospaced'> + inherit autotools pkgconfig + </literallayout> </para> </section> </section> |