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/bitbake-user-manual | |
parent | 9f374c4e8523430ef2fc5cb492c3ece9786623d2 (diff) | |
download | poky-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/bitbake-user-manual')
-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 @@ | |||
809 | <filename>INHERIT</filename> to inherit a class effectively | 809 | <filename>INHERIT</filename> to inherit a class effectively |
810 | inherits the class globally (i.e. for all recipes). | 810 | inherits the class globally (i.e. for all recipes). |
811 | </note> | 811 | </note> |
812 | If you want to use the directive to inherit | ||
813 | multiple classes, you can provide them on the same line in the | ||
814 | <filename>local.conf</filename> file. | ||
815 | Use spaces to separate the classes. | ||
816 | The following example shows how to inherit both the | ||
817 | <filename>autotools</filename> and <filename>pkgconfig</filename> | ||
818 | classes: | ||
819 | <literallayout class='monospaced'> | ||
820 | inherit autotools pkgconfig | ||
821 | </literallayout> | ||
812 | </para> | 822 | </para> |
813 | </section> | 823 | </section> |
814 | </section> | 824 | </section> |