aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bitbake-user-manual
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-04-14 08:53:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-14 17:27:54 +0100
commit3f29ebec593f20894f7a2a0b6d50ee22474aee75 (patch)
treef80ecf9629b78ee4a686fe7939f0fdf17f1b15c7 /doc/bitbake-user-manual
parent62eb39d1474d024b204634689071700605c6095c (diff)
downloadbitbake-3f29ebec593f20894f7a2a0b6d50ee22474aee75.tar.gz
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. Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'doc/bitbake-user-manual')
-rw-r--r--doc/bitbake-user-manual/bitbake-user-manual-metadata.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
index 9fc3a3ccd..468332276 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
+++ b/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>