All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Quentin Schulz <quentin.schulz@streamunlimited.com>
Cc: YP docs mailing list <docs@lists.yoctoproject.org>
Subject: Re: [docs] Description of BBPATH in BB user manual seems ... wrong
Date: Wed, 17 Mar 2021 05:19:05 -0400 (EDT)	[thread overview]
Message-ID: <e88ba82-d048-5c90-a828-c66b0c9e982@crashcourse.ca> (raw)
In-Reply-To: <20210315131042.lgjgjzdjtp2ofdey@qschulz>

[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]

On Mon, 15 Mar 2021, Quentin Schulz wrote:

> Hi Robert,
>
> On Mon, Mar 15, 2021 at 09:05:53AM -0400, Robert P. J. Day wrote:
> >
> >   Section 3.4.1 of BB manual:
> >
> > https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html#locating-include-and-class-files
> >
> > "BitBake uses the BBPATH variable to locate needed include and class
> > files. Additionally, BitBake searches the current directory for
> > include and require directives.
> >
> > ... snip ..
> >
> > "In order for include and class files to be found by BitBake, they
> > need to be located in a “classes” subdirectory that can be found in
> > BBPATH."
> >
> >   first, is BBPATH not used for finding conf files as well? and the
>
> Yes it is.
>
> > wording of that second paragraph suggests that include files need to
> > be in a classes subdirectory to be found, which i'm pretty sure isn't
> > true.
> >
>
> I think what was meant by "include" files are conf files.... which
> (probably) technically are include files to Yocto PoV.

  i'll figure out how to reword this, but it's interesting that the
very intro of the BB manual distinguishes between configuration and
include files:

"BitBake executes tasks according to provided metadata that builds up
the tasks. Metadata is stored in recipe (.bb) and related recipe
“append” (.bbappend) files, configuration (.conf) and underlying
include (.inc) files, and in class (.bbclass) files."

  i'll figure something out.

rday

      parent reply	other threads:[~2021-03-17  9:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15 13:05 Description of BBPATH in BB user manual seems ... wrong Robert P. J. Day
2021-03-15 13:10 ` [docs] " Quentin Schulz
2021-03-15 20:19   ` Robert P. J. Day
2021-03-16  9:01     ` Quentin Schulz
2021-03-16  9:58       ` Robert P. J. Day
2021-03-17  9:19   ` Robert P. J. Day [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=e88ba82-d048-5c90-a828-c66b0c9e982@crashcourse.ca \
    --to=rpjday@crashcourse.ca \
    --cc=docs@lists.yoctoproject.org \
    --cc=quentin.schulz@streamunlimited.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.