summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-09-11 19:26:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-24 17:44:55 +0100
commit93e27bdb1593a7315b144df5b998572004728a0a (patch)
treeb6c90310cb353c170525cbd8c3f98988f3f30485 /documentation
parent566afe85d1c8b2e434a35479611ef72e8252b05d (diff)
downloadpoky-93e27bdb1593a7315b144df5b998572004728a0a.tar.gz
ref-manual: correct the location of default configuration template
(From yocto-docs rev: 4f42ccd877162d3ea498bd91a194e810d3f61292) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/structure.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/documentation/ref-manual/structure.rst b/documentation/ref-manual/structure.rst
index bdcffc1947..6c6f52e799 100644
--- a/documentation/ref-manual/structure.rst
+++ b/documentation/ref-manual/structure.rst
@@ -189,7 +189,7 @@ Directory named ``mybuilds/`` that is outside of the :term:`Source Directory`::
189 $ source oe-init-build-env ~/mybuilds 189 $ source oe-init-build-env ~/mybuilds
190 190
191The OpenEmbedded build system uses the template configuration files, which 191The OpenEmbedded build system uses the template configuration files, which
192are found by default in the ``meta-poky/conf/`` directory in the Source 192are found by default in the ``meta-poky/conf/templates/default`` directory in the Source
193Directory. See the 193Directory. See the
194":ref:`dev-manual/common-tasks:creating a custom template configuration directory`" 194":ref:`dev-manual/common-tasks:creating a custom template configuration directory`"
195section in the Yocto Project Development Tasks Manual for more 195section in the Yocto Project Development Tasks Manual for more
@@ -261,15 +261,15 @@ OpenEmbedded build system creates it from ``local.conf.sample`` when you
261:ref:`structure-core-script`. 261:ref:`structure-core-script`.
262 262
263The source ``local.conf.sample`` file used depends on the 263The source ``local.conf.sample`` file used depends on the
264:term:`TEMPLATECONF` script variable, which defaults to ``meta-poky/conf/`` 264:term:`TEMPLATECONF` script variable, which defaults to ``meta-poky/conf/templates/default``
265when you are building from the Yocto Project development environment, 265when you are building from the Yocto Project development environment,
266and to ``meta/conf/`` when you are building from the OpenEmbedded-Core 266and to ``meta/conf/templates/default`` when you are building from the OpenEmbedded-Core
267environment. Because the script variable points to the source of the 267environment. Because the script variable points to the source of the
268``local.conf.sample`` file, this implies that you can configure your 268``local.conf.sample`` file, this implies that you can configure your
269build environment from any layer by setting the variable in the 269build environment from any layer by setting the variable in the
270top-level build environment setup script as follows:: 270top-level build environment setup script as follows::
271 271
272 TEMPLATECONF=your_layer/conf 272 TEMPLATECONF=your_layer/conf/templates/your_template_name
273 273
274Once the build process gets the sample 274Once the build process gets the sample
275file, it uses ``sed`` to substitute final 275file, it uses ``sed`` to substitute final
@@ -281,7 +281,7 @@ file, it uses ``sed`` to substitute final
281 You can see how the :term:`TEMPLATECONF` variable is used by looking at the 281 You can see how the :term:`TEMPLATECONF` variable is used by looking at the
282 ``scripts/oe-setup-builddir`` script in the :term:`Source Directory`. 282 ``scripts/oe-setup-builddir`` script in the :term:`Source Directory`.
283 You can find the Yocto Project version of the ``local.conf.sample`` file in 283 You can find the Yocto Project version of the ``local.conf.sample`` file in
284 the ``meta-poky/conf`` directory. 284 the ``meta-poky/conf/templates/default`` directory.
285 285
286.. _structure-build-conf-bblayers.conf: 286.. _structure-build-conf-bblayers.conf:
287 287
@@ -301,14 +301,14 @@ you ``source`` the top-level build environment setup script (i.e.
301 301
302As with the ``local.conf`` file, the source ``bblayers.conf.sample`` 302As with the ``local.conf`` file, the source ``bblayers.conf.sample``
303file used depends on the :term:`TEMPLATECONF` script variable, which 303file used depends on the :term:`TEMPLATECONF` script variable, which
304defaults to ``meta-poky/conf/`` when you are building from the Yocto 304defaults to ``meta-poky/conf/templates/default`` when you are building from the Yocto
305Project development environment, and to ``meta/conf/`` when you are 305Project development environment, and to ``meta/conf/templates/default`` when you are
306building from the OpenEmbedded-Core environment. Because the script 306building from the OpenEmbedded-Core environment. Because the script
307variable points to the source of the ``bblayers.conf.sample`` file, this 307variable points to the source of the ``bblayers.conf.sample`` file, this
308implies that you can base your build from any layer by setting the 308implies that you can base your build from any layer by setting the
309variable in the top-level build environment setup script as follows:: 309variable in the top-level build environment setup script as follows::
310 310
311 TEMPLATECONF=your_layer/conf 311 TEMPLATECONF=your_layer/conf/templates/your_template_name
312 312
313Once the build process gets the sample file, it uses ``sed`` to substitute final 313Once the build process gets the sample file, it uses ``sed`` to substitute final
314``${``\ :term:`OEROOT`\ ``}`` values for all ``##OEROOT##`` values. 314``${``\ :term:`OEROOT`\ ``}`` values for all ``##OEROOT##`` values.
@@ -317,7 +317,7 @@ Once the build process gets the sample file, it uses ``sed`` to substitute final
317 317
318 You can see how the :term:`TEMPLATECONF` variable is defined by the ``scripts/oe-setup-builddir`` 318 You can see how the :term:`TEMPLATECONF` variable is defined by the ``scripts/oe-setup-builddir``
319 script in the :term:`Source Directory`. You can find the Yocto Project 319 script in the :term:`Source Directory`. You can find the Yocto Project
320 version of the ``bblayers.conf.sample`` file in the ``meta-poky/conf/`` 320 version of the ``bblayers.conf.sample`` file in the ``meta-poky/conf/templates/default``
321 directory. 321 directory.
322 322
323.. _structure-build-conf-sanity_info: 323.. _structure-build-conf-sanity_info: