* [PATCH] bitbake-user-manual: document TEMPLATECONF environment variable
@ 2022-04-26 21:49 michael.opdenacker
2022-04-26 21:51 ` [bitbake-devel] " Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: michael.opdenacker @ 2022-04-26 21:49 UTC (permalink / raw)
To: bitbake-devel; +Cc: docs, Michael Opdenacker
From: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
---
.../bitbake-user-manual-ref-variables.rst | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index af4ff980..80005580 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -1483,6 +1483,22 @@ overview of their function and contents.
consist mostly of task logs and scripts, when building a particular
recipe.
+ :term:`TEMPLATECONF`
+ Specifies the directory used by the build system to find templates
+ from which to build the ``bblayers.conf`` and ``local.conf`` files.
+ Use this variable if you wish to customize such files, and the default
+ BitBake targets shown when sourcing the ``oe-init-build-env`` script.
+
+ For details, see the
+ :yocto_docs:`Creating a Custom Template Configuration Directory
+ </dev-manual/common-tasks.html#creating-a-custom-template-configuration-directory>`
+ section in the Yocto Project Development Tasks manual.
+
+ .. note::
+
+ You must set this variable in the external environment in order
+ for it to work.
+
:term:`TOPDIR`
Points to the build directory. BitBake automatically sets this
variable.
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [bitbake-devel] [PATCH] bitbake-user-manual: document TEMPLATECONF environment variable
2022-04-26 21:49 [PATCH] bitbake-user-manual: document TEMPLATECONF environment variable michael.opdenacker
@ 2022-04-26 21:51 ` Richard Purdie
2022-04-26 21:53 ` [docs] " Michael Opdenacker
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2022-04-26 21:51 UTC (permalink / raw)
To: michael.opdenacker, bitbake-devel; +Cc: docs
On Tue, 2022-04-26 at 23:49 +0200, Michael Opdenacker via lists.openembedded.org
wrote:
> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> ---
> .../bitbake-user-manual-ref-variables.rst | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> index af4ff980..80005580 100644
> --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> @@ -1483,6 +1483,22 @@ overview of their function and contents.
> consist mostly of task logs and scripts, when building a particular
> recipe.
>
> + :term:`TEMPLATECONF`
> + Specifies the directory used by the build system to find templates
> + from which to build the ``bblayers.conf`` and ``local.conf`` files.
> + Use this variable if you wish to customize such files, and the default
> + BitBake targets shown when sourcing the ``oe-init-build-env`` script.
> +
> + For details, see the
> + :yocto_docs:`Creating a Custom Template Configuration Directory
> + </dev-manual/common-tasks.html#creating-a-custom-template-configuration-directory>`
> + section in the Yocto Project Development Tasks manual.
> +
> + .. note::
> +
> + You must set this variable in the external environment in order
> + for it to work.
> +
I don't think this is a bitbake variable, it is an OE one?
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [docs] [bitbake-devel] [PATCH] bitbake-user-manual: document TEMPLATECONF environment variable
2022-04-26 21:51 ` [bitbake-devel] " Richard Purdie
@ 2022-04-26 21:53 ` Michael Opdenacker
2022-04-26 21:55 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Michael Opdenacker @ 2022-04-26 21:53 UTC (permalink / raw)
To: Richard Purdie, bitbake-devel; +Cc: docs
On 4/26/22 23:51, Richard Purdie wrote:
> On Tue, 2022-04-26 at 23:49 +0200, Michael Opdenacker via lists.openembedded.org
> wrote:
>> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>>
>> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
>> ---
>> .../bitbake-user-manual-ref-variables.rst | 16 ++++++++++++++++
>> 1 file changed, 16 insertions(+)
>>
>> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
>> index af4ff980..80005580 100644
>> --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
>> +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
>> @@ -1483,6 +1483,22 @@ overview of their function and contents.
>> consist mostly of task logs and scripts, when building a particular
>> recipe.
>>
>> + :term:`TEMPLATECONF`
>> + Specifies the directory used by the build system to find templates
>> + from which to build the ``bblayers.conf`` and ``local.conf`` files.
>> + Use this variable if you wish to customize such files, and the default
>> + BitBake targets shown when sourcing the ``oe-init-build-env`` script.
>> +
>> + For details, see the
>> + :yocto_docs:`Creating a Custom Template Configuration Directory
>> + </dev-manual/common-tasks.html#creating-a-custom-template-configuration-directory>`
>> + section in the Yocto Project Development Tasks manual.
>> +
>> + .. note::
>> +
>> + You must set this variable in the external environment in order
>> + for it to work.
>> +
> I don't think this is a bitbake variable, it is an OE one?
Actually, it's used in toaster.
But I don't mind adding it in Yocto Docs instead...
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [docs] [bitbake-devel] [PATCH] bitbake-user-manual: document TEMPLATECONF environment variable
2022-04-26 21:53 ` [docs] " Michael Opdenacker
@ 2022-04-26 21:55 ` Richard Purdie
0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2022-04-26 21:55 UTC (permalink / raw)
To: Michael Opdenacker, bitbake-devel; +Cc: docs
On Tue, 2022-04-26 at 23:53 +0200, Michael Opdenacker wrote:
> On 4/26/22 23:51, Richard Purdie wrote:
> > On Tue, 2022-04-26 at 23:49 +0200, Michael Opdenacker via lists.openembedded.org
> > wrote:
> > > From: Michael Opdenacker <michael.opdenacker@bootlin.com>
> > >
> > > Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> > > ---
> > > .../bitbake-user-manual-ref-variables.rst | 16 ++++++++++++++++
> > > 1 file changed, 16 insertions(+)
> > >
> > > diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> > > index af4ff980..80005580 100644
> > > --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> > > +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> > > @@ -1483,6 +1483,22 @@ overview of their function and contents.
> > > consist mostly of task logs and scripts, when building a particular
> > > recipe.
> > >
> > > + :term:`TEMPLATECONF`
> > > + Specifies the directory used by the build system to find templates
> > > + from which to build the ``bblayers.conf`` and ``local.conf`` files.
> > > + Use this variable if you wish to customize such files, and the default
> > > + BitBake targets shown when sourcing the ``oe-init-build-env`` script.
> > > +
> > > + For details, see the
> > > + :yocto_docs:`Creating a Custom Template Configuration Directory
> > > + </dev-manual/common-tasks.html#creating-a-custom-template-configuration-directory>`
> > > + section in the Yocto Project Development Tasks manual.
> > > +
> > > + .. note::
> > > +
> > > + You must set this variable in the external environment in order
> > > + for it to work.
> > > +
> > I don't think this is a bitbake variable, it is an OE one?
>
>
> Actually, it's used in toaster.
> But I don't mind adding it in Yocto Docs instead...
I did notice that but toaster breaks a few of the boundaries between bitbake and
OE. It is meant to be an OE specific variable.
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-26 21:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-26 21:49 [PATCH] bitbake-user-manual: document TEMPLATECONF environment variable michael.opdenacker
2022-04-26 21:51 ` [bitbake-devel] " Richard Purdie
2022-04-26 21:53 ` [docs] " Michael Opdenacker
2022-04-26 21:55 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox