Yocto Project Documentation
 help / color / mirror / Atom feed
From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "Quentin Schulz" <foss@0leil.net>,
	<bitbake-devel@lists.openembedded.org>
Cc: <docs@lists.yoctoproject.org>,
	"Quentin Schulz" <quentin.schulz@cherry.de>
Subject: Re: [docs] [PATCH 2/3] doc: bitbake-user-manual-intro: specify inherit_defer directive for recipe classes
Date: Thu, 04 Dec 2025 14:16:56 +0100	[thread overview]
Message-ID: <DEPGLUEBY8HP.2A72US2T78IKO@bootlin.com> (raw)
In-Reply-To: <20251203-doc-file-include-require-v1-2-fc708832b475@cherry.de>

On Wed Dec 3, 2025 at 6:06 PM CET, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz@cherry.de>
>
> We specify the recipe classes must be used with inherit but they can
> actually also be used with inherit_defer directive so let's make that
> clear.
>
> Fixes: 7bd36f6c6d33 ("doc: extend classes and include/require documentation")
> Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
> ---
>  doc/bitbake-user-manual/bitbake-user-manual-intro.rst | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-intro.rst b/doc/bitbake-user-manual/bitbake-user-manual-intro.rst
> index 2875e18f3..329b02829 100644
> --- a/doc/bitbake-user-manual/bitbake-user-manual-intro.rst
> +++ b/doc/bitbake-user-manual/bitbake-user-manual-intro.rst
> @@ -220,9 +220,10 @@ BitBake supports class files installed in three different directories:
>        INHERIT += "myclass"
>  
>  -  ``classes-recipe/``: these classes must be inherited from a recipe using the
> -   :ref:`inherit <ref-bitbake-user-manual-metadata-inherit>` directive. They do
> -   not support being inherited globally. For example, you would use the recipe
> -   class named ``myclass`` like so::
> +   :ref:`inherit <ref-bitbake-user-manual-metadata-inherit>` or
> +   :ref:`inherit_defer <ref-bitbake-user-manual-metadata-inherit-defer>`
> +   directive. They do not support being inherited globally. For example, you
> +   would use the recipe class named ``myclass`` like so::
>  
>        inherit myclass
>  

Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>

Thank you!
Antonin

-- 
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  reply	other threads:[~2025-12-04 13:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-03 17:06 [PATCH 0/3] doc: bitbake-user-manual: few fixes related to locating include files Quentin Schulz
2025-12-03 17:06 ` [PATCH 1/3] doc: fix a few typos Quentin Schulz
2025-12-04 13:16   ` [docs] " Antonin Godard
2025-12-03 17:06 ` [PATCH 2/3] doc: bitbake-user-manual-intro: specify inherit_defer directive for recipe classes Quentin Schulz
2025-12-04 13:16   ` Antonin Godard [this message]
2025-12-03 17:06 ` [PATCH 3/3] doc: bitbake-user-manual-metadata: reorder introduction on how to locate include files Quentin Schulz
2025-12-04 13:16   ` [docs] " Antonin Godard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DEPGLUEBY8HP.2A72US2T78IKO@bootlin.com \
    --to=antonin.godard@bootlin.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=docs@lists.yoctoproject.org \
    --cc=foss@0leil.net \
    --cc=quentin.schulz@cherry.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox