diff options
Diffstat (limited to 'documentation/ref-manual/structure.rst')
-rw-r--r-- | documentation/ref-manual/structure.rst | 18 |
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 | ||
191 | The OpenEmbedded build system uses the template configuration files, which | 191 | The OpenEmbedded build system uses the template configuration files, which |
192 | are found by default in the ``meta-poky/conf/`` directory in the Source | 192 | are found by default in the ``meta-poky/conf/templates/default`` directory in the Source |
193 | Directory. See the | 193 | Directory. 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`" |
195 | section in the Yocto Project Development Tasks Manual for more | 195 | section 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 | ||
263 | The source ``local.conf.sample`` file used depends on the | 263 | The 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`` |
265 | when you are building from the Yocto Project development environment, | 265 | when you are building from the Yocto Project development environment, |
266 | and to ``meta/conf/`` when you are building from the OpenEmbedded-Core | 266 | and to ``meta/conf/templates/default`` when you are building from the OpenEmbedded-Core |
267 | environment. Because the script variable points to the source of the | 267 | environment. 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 |
269 | build environment from any layer by setting the variable in the | 269 | build environment from any layer by setting the variable in the |
270 | top-level build environment setup script as follows:: | 270 | top-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 | ||
274 | Once the build process gets the sample | 274 | Once the build process gets the sample |
275 | file, it uses ``sed`` to substitute final | 275 | file, 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 | ||
302 | As with the ``local.conf`` file, the source ``bblayers.conf.sample`` | 302 | As with the ``local.conf`` file, the source ``bblayers.conf.sample`` |
303 | file used depends on the :term:`TEMPLATECONF` script variable, which | 303 | file used depends on the :term:`TEMPLATECONF` script variable, which |
304 | defaults to ``meta-poky/conf/`` when you are building from the Yocto | 304 | defaults to ``meta-poky/conf/templates/default`` when you are building from the Yocto |
305 | Project development environment, and to ``meta/conf/`` when you are | 305 | Project development environment, and to ``meta/conf/templates/default`` when you are |
306 | building from the OpenEmbedded-Core environment. Because the script | 306 | building from the OpenEmbedded-Core environment. Because the script |
307 | variable points to the source of the ``bblayers.conf.sample`` file, this | 307 | variable points to the source of the ``bblayers.conf.sample`` file, this |
308 | implies that you can base your build from any layer by setting the | 308 | implies that you can base your build from any layer by setting the |
309 | variable in the top-level build environment setup script as follows:: | 309 | variable 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 | ||
313 | Once the build process gets the sample file, it uses ``sed`` to substitute final | 313 | Once 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: |