[oe-commits] [bitbake] branch master-next updated: bitbake-user-manual: Updated discussion about using "inherit"

git at git.openembedded.org git at git.openembedded.org
Thu Apr 14 16:31:29 UTC 2016


rpurdie pushed a commit to branch master-next
in repository bitbake.

The following commit(s) were added to refs/heads/master-next by this push:
       new  3f29ebe   bitbake-user-manual: Updated discussion about using "inherit"
3f29ebe is described below

commit 3f29ebec593f20894f7a2a0b6d50ee22474aee75
Author: Scott Rifenbark <srifenbark at gmail.com>
AuthorDate: Thu Apr 14 08:53:26 2016 -0700

    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 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
index 9fc3a3c..4683322 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>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list