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 3/3] doc: bitbake-user-manual-metadata: reorder introduction on how to locate include files
Date: Thu, 04 Dec 2025 14:16:56 +0100	[thread overview]
Message-ID: <DEPGLUAT25P5.1DR1ME2CGN5XQ@bootlin.com> (raw)
In-Reply-To: <20251203-doc-file-include-require-v1-3-fc708832b475@cherry.de>

On Wed Dec 3, 2025 at 6:06 PM CET, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz@cherry.de>
>
> BitBake first searches the relative to the local directory before going
> through BBPATH.
>
> 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-metadata.rst | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
> index ef8ab024d..ef401d4ab 100644
> --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
> +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
> @@ -1054,9 +1054,10 @@ bitbake will treat that as direct value assignment in its configuration::
>  Locating Include Files
>  ----------------------
>  
> -BitBake uses the :term:`BBPATH` variable to locate needed include files.
> -Additionally, BitBake searches the current directory for :ref:`include
> -<ref-include-directive>` and :ref:`require <require-inclusion>` directives.
> +BitBake first searches the current directory for needed include files for
> +:ref:`include <ref-include-directive>` and :ref:`require <require-inclusion>`
> +directives.
> +BitBake also uses the :term:`BBPATH` variable.
>  
>  .. note::
>  

Yes, and it's even clearly shown in the example that follows...

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   ` [docs] " Antonin Godard
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   ` Antonin Godard [this message]

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=DEPGLUAT25P5.1DR1ME2CGN5XQ@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