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 310b9d20d6..b2595c93f5 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml @@ -923,6 +923,14 @@ inherited class within your recipe by doing so after the "inherit" statement. + If you want to use the directive to inherit + multiple classes, you can separate the classes with spaces. + The following example shows how to inherit both the + autotools and pkgconfig + classes: + + inherit autotools pkgconfig + @@ -1076,8 +1084,9 @@ When creating a configuration file (.conf), - you can use the INHERIT directive to - inherit a class. + you can use the + INHERIT + configuration directive to inherit a class. BitBake only supports this directive when used within a configuration file. @@ -1099,8 +1108,7 @@ Because .conf files are parsed first during BitBake's execution, using - INHERIT - to inherit a class effectively + INHERIT to inherit a class effectively inherits the class globally (i.e. for all recipes). If you want to use the directive to inherit @@ -1111,7 +1119,7 @@ autotools and pkgconfig classes: - inherit autotools pkgconfig + INHERIT += "autotools pkgconfig"