]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake-user-manual: Updated discussion about using "inherit"
authorScott Rifenbark <srifenbark@gmail.com>
Thu, 14 Apr 2016 15:53:26 +0000 (08:53 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Apr 2016 16:27:54 +0000 (17:27 +0100)
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>
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml

index 9fc3a3ccd76e0c44093c2d1a21b122ed5d61c278..4683322763666a5050d14dab6215e74a6b4421ae 100644 (file)
                     <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>