Lines Matching full:inherit

363    inherit foo
717 that contains the common functionality and then using the ``inherit``
718 directive in your recipes to inherit the class would be a common way to
723 include ``include``, ``inherit``, :term:`INHERIT`, and ``require``
741 ``inherit`` Directive
744 When writing a recipe or class file, you can use the ``inherit``
745 directive to inherit the functionality of a class (``.bbclass``).
749 The ``inherit`` directive is a rudimentary means of specifying
753 file and then have your recipe inherit that class file.
755 As an example, your recipes could use the following directive to inherit
759 inherit autotools
767 within your recipe by doing so after the "inherit" statement.
769 If you want to use the directive to inherit multiple classes, separate
770 them with spaces. The following example shows how to inherit both the
773 inherit buildhistory rm_work
775 An advantage with the inherit directive as compared to both the
777 directives is that you can inherit class files conditionally. You can
778 accomplish this by using a variable expression after the ``inherit``
781 inherit ${VARNAME}
784 going to be set, it needs to be set before the ``inherit`` statement is
785 parsed. One way to achieve a conditional inherit in this case is to use
803 inherit ${@'classname' if condition else ''}
804 inherit ${@functionname(params)}
820 functionality as compared to the :ref:`inherit <bitbake-user-manual/bitbake-user-manual-metadata:\`…
852 :ref:`inherit <bitbake-user-manual/bitbake-user-manual-metadata:\`\`inherit\`\` directive>` directi…
872 ``INHERIT`` Configuration Directive
876 :term:`INHERIT` configuration directive to inherit a
880 As an example, suppose you needed to inherit a class file called
883 INHERIT += "abc"
886 the point of the directive during parsing. As with the ``inherit``
893 INHERIT to inherit a class effectively inherits the class globally (i.e. for
896 If you want to use the directive to inherit multiple classes, you can
898 separate the classes. The following example shows how to inherit both
901 INHERIT += "autotools pkgconfig"
1613 :term:`INHERIT` statements; has been parsed. You can see multiple such