diff options
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/faq.rst | 16 | ||||
-rw-r--r-- | documentation/ref-manual/migration.rst | 508 | ||||
-rw-r--r-- | documentation/ref-manual/ref-classes.rst | 516 | ||||
-rw-r--r-- | documentation/ref-manual/ref-devtool-reference.rst | 10 | ||||
-rw-r--r-- | documentation/ref-manual/ref-features.rst | 30 | ||||
-rw-r--r-- | documentation/ref-manual/ref-images.rst | 2 | ||||
-rw-r--r-- | documentation/ref-manual/ref-kickstart.rst | 2 | ||||
-rw-r--r-- | documentation/ref-manual/ref-qa-checks.rst | 132 | ||||
-rw-r--r-- | documentation/ref-manual/ref-release-process.rst | 10 | ||||
-rw-r--r-- | documentation/ref-manual/ref-structure.rst | 58 | ||||
-rw-r--r-- | documentation/ref-manual/ref-tasks.rst | 126 | ||||
-rw-r--r-- | documentation/ref-manual/ref-terms.rst | 16 | ||||
-rw-r--r-- | documentation/ref-manual/ref-variables.rst | 1336 | ||||
-rw-r--r-- | documentation/ref-manual/resources.rst | 4 |
14 files changed, 1383 insertions, 1383 deletions
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index d3dac28b0f..07244a0311 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst | |||
@@ -8,7 +8,7 @@ FAQ | |||
8 | 8 | ||
9 | **A:** The term "`Poky <#>`__" refers to the specific reference build | 9 | **A:** The term "`Poky <#>`__" refers to the specific reference build |
10 | system that the Yocto Project provides. Poky is based on | 10 | system that the Yocto Project provides. Poky is based on |
11 | `OE-Core <#oe-core>`__ and `BitBake <#bitbake-term>`__. Thus, the | 11 | :term:`OpenEmbedded-Core (OE-Core)` and :term:`BitBake`. Thus, the |
12 | generic term used here for the build system is the "OpenEmbedded build | 12 | generic term used here for the build system is the "OpenEmbedded build |
13 | system." Development in the Yocto Project using Poky is closely tied to | 13 | system." Development in the Yocto Project using Poky is closely tied to |
14 | OpenEmbedded, with changes always being merged to OE-Core or BitBake | 14 | OpenEmbedded, with changes always being merged to OE-Core or BitBake |
@@ -29,7 +29,7 @@ steps on how to update your build tools. | |||
29 | 29 | ||
30 | **A:** There are three areas that help with stability; | 30 | **A:** There are three areas that help with stability; |
31 | 31 | ||
32 | - The Yocto Project team keeps `OE-Core <#oe-core>`__ small and | 32 | - The Yocto Project team keeps :term:`OpenEmbedded-Core (OE-Core)` small and |
33 | focused, containing around 830 recipes as opposed to the thousands | 33 | focused, containing around 830 recipes as opposed to the thousands |
34 | available in other OpenEmbedded community layers. Keeping it small | 34 | available in other OpenEmbedded community layers. Keeping it small |
35 | makes it easy to test and maintain. | 35 | makes it easy to test and maintain. |
@@ -227,19 +227,19 @@ meta-MACHINE/recipes-bsp/netbase/netbase_5.0.bbappend | |||
227 | size, you need to set various configurations: | 227 | size, you need to set various configurations: |
228 | 228 | ||
229 | - *Image Size:* The OpenEmbedded build system uses the | 229 | - *Image Size:* The OpenEmbedded build system uses the |
230 | ```IMAGE_ROOTFS_SIZE`` <#var-IMAGE_ROOTFS_SIZE>`__ variable to define | 230 | :term:`IMAGE_ROOTFS_SIZE` variable to define |
231 | the size of the image in Kbytes. The build system determines the size | 231 | the size of the image in Kbytes. The build system determines the size |
232 | by taking into account the initial root filesystem size before any | 232 | by taking into account the initial root filesystem size before any |
233 | modifications such as requested size for the image and any requested | 233 | modifications such as requested size for the image and any requested |
234 | additional free disk space to be added to the image. | 234 | additional free disk space to be added to the image. |
235 | 235 | ||
236 | - *Overhead:* Use the | 236 | - *Overhead:* Use the |
237 | ```IMAGE_OVERHEAD_FACTOR`` <#var-IMAGE_OVERHEAD_FACTOR>`__ variable | 237 | :term:`IMAGE_OVERHEAD_FACTOR` variable |
238 | to define the multiplier that the build system applies to the initial | 238 | to define the multiplier that the build system applies to the initial |
239 | image size, which is 1.3 by default. | 239 | image size, which is 1.3 by default. |
240 | 240 | ||
241 | - *Additional Free Space:* Use the | 241 | - *Additional Free Space:* Use the |
242 | ```IMAGE_ROOTFS_EXTRA_SPACE`` <#var-IMAGE_ROOTFS_EXTRA_SPACE>`__ | 242 | :term:`IMAGE_ROOTFS_EXTRA_SPACE` |
243 | variable to add additional free space to the image. The build system | 243 | variable to add additional free space to the image. The build system |
244 | adds this space to the image after it determines its | 244 | adds this space to the image after it determines its |
245 | ``IMAGE_ROOTFS_SIZE``. | 245 | ``IMAGE_ROOTFS_SIZE``. |
@@ -281,8 +281,8 @@ environments if HTTP transport is available. | |||
281 | 281 | ||
282 | When the build system searches for source code, it first tries the local | 282 | When the build system searches for source code, it first tries the local |
283 | download directory. If that location fails, Poky tries | 283 | download directory. If that location fails, Poky tries |
284 | ```PREMIRRORS`` <#var-PREMIRRORS>`__, the upstream source, and then | 284 | :term:`PREMIRRORS`, the upstream source, and then |
285 | ```MIRRORS`` <#var-MIRRORS>`__ in that order. | 285 | :term:`MIRRORS` in that order. |
286 | 286 | ||
287 | Assuming your distribution is "poky", the OpenEmbedded build system uses | 287 | Assuming your distribution is "poky", the OpenEmbedded build system uses |
288 | the Yocto Project source ``PREMIRRORS`` by default for SCM-based | 288 | the Yocto Project source ``PREMIRRORS`` by default for SCM-based |
@@ -409,7 +409,7 @@ my recipe is installing to the wrong place, or I am getting permissions | |||
409 | errors during the do_install task in my recipe! What is wrong? | 409 | errors during the do_install task in my recipe! What is wrong? |
410 | 410 | ||
411 | **A:** This situation results when a build system does not recognize the | 411 | **A:** This situation results when a build system does not recognize the |
412 | environment variables supplied to it by `BitBake <#bitbake-term>`__. The | 412 | environment variables supplied to it by :term:`BitBake`. The |
413 | incident that prompted this FAQ entry involved a Makefile that used an | 413 | incident that prompted this FAQ entry involved a Makefile that used an |
414 | environment variable named ``BINDIR`` instead of the more standard | 414 | environment variable named ``BINDIR`` instead of the more standard |
415 | variable ``bindir``. The makefile's hardcoded default value of | 415 | variable ``bindir``. The makefile's hardcoded default value of |
diff --git a/documentation/ref-manual/migration.rst b/documentation/ref-manual/migration.rst index 8a309d003b..b8d27f3325 100644 --- a/documentation/ref-manual/migration.rst +++ b/documentation/ref-manual/migration.rst | |||
@@ -68,7 +68,7 @@ Local Configuration | |||
68 | ------------------- | 68 | ------------------- |
69 | 69 | ||
70 | Differences include changes for | 70 | Differences include changes for |
71 | ```SSTATE_MIRRORS`` <#var-SSTATE_MIRRORS>`__ and ``bblayers.conf``. | 71 | :term:`SSTATE_MIRRORS` and ``bblayers.conf``. |
72 | 72 | ||
73 | .. _migration-1.3-sstate-mirrors: | 73 | .. _migration-1.3-sstate-mirrors: |
74 | 74 | ||
@@ -76,13 +76,13 @@ SSTATE_MIRRORS | |||
76 | ~~~~~~~~~~~~~~ | 76 | ~~~~~~~~~~~~~~ |
77 | 77 | ||
78 | The shared state cache (sstate-cache), as pointed to by | 78 | The shared state cache (sstate-cache), as pointed to by |
79 | ```SSTATE_DIR`` <#var-SSTATE_DIR>`__, by default now has two-character | 79 | :term:`SSTATE_DIR`, by default now has two-character |
80 | subdirectories to prevent issues arising from too many files in the same | 80 | subdirectories to prevent issues arising from too many files in the same |
81 | directory. Also, native sstate-cache packages, which are built to run on | 81 | directory. Also, native sstate-cache packages, which are built to run on |
82 | the host system, will go into a subdirectory named using the distro ID | 82 | the host system, will go into a subdirectory named using the distro ID |
83 | string. If you copy the newly structured sstate-cache to a mirror | 83 | string. If you copy the newly structured sstate-cache to a mirror |
84 | location (either local or remote) and then point to it in | 84 | location (either local or remote) and then point to it in |
85 | ```SSTATE_MIRRORS`` <#var-SSTATE_MIRRORS>`__, you need to append "PATH" | 85 | :term:`SSTATE_MIRRORS`, you need to append "PATH" |
86 | to the end of the mirror URL so that the path used by BitBake before the | 86 | to the end of the mirror URL so that the path used by BitBake before the |
87 | mirror substitution is appended to the path used to access the mirror. | 87 | mirror substitution is appended to the path used to access the mirror. |
88 | Here is an example: SSTATE_MIRRORS = "file://.\* | 88 | Here is an example: SSTATE_MIRRORS = "file://.\* |
@@ -138,7 +138,7 @@ four-space indentation. | |||
138 | proto= in SRC_URI | 138 | proto= in SRC_URI |
139 | ~~~~~~~~~~~~~~~~~ | 139 | ~~~~~~~~~~~~~~~~~ |
140 | 140 | ||
141 | Any use of ``proto=`` in ```SRC_URI`` <#var-SRC_URI>`__ needs to be | 141 | Any use of ``proto=`` in :term:`SRC_URI` needs to be |
142 | changed to ``protocol=``. In particular, this applies to the following | 142 | changed to ``protocol=``. In particular, this applies to the following |
143 | URIs: | 143 | URIs: |
144 | 144 | ||
@@ -161,7 +161,7 @@ nativesdk | |||
161 | The suffix ``nativesdk`` is now implemented as a prefix, which | 161 | The suffix ``nativesdk`` is now implemented as a prefix, which |
162 | simplifies a lot of the packaging code for ``nativesdk`` recipes. All | 162 | simplifies a lot of the packaging code for ``nativesdk`` recipes. All |
163 | custom ``nativesdk`` recipes, which are relocatable packages that are | 163 | custom ``nativesdk`` recipes, which are relocatable packages that are |
164 | native to ```SDK_ARCH`` <#var-SDK_ARCH>`__, and any references need to | 164 | native to :term:`SDK_ARCH`, and any references need to |
165 | be updated to use ``nativesdk-*`` instead of ``*-nativesdk``. | 165 | be updated to use ``nativesdk-*`` instead of ``*-nativesdk``. |
166 | 166 | ||
167 | .. _migration-1.3-task-recipes: | 167 | .. _migration-1.3-task-recipes: |
@@ -179,8 +179,8 @@ recipes to ``packagegroup-*``, and change them to inherit | |||
179 | ``packagegroup`` instead of ``task``, as well as taking the opportunity | 179 | ``packagegroup`` instead of ``task``, as well as taking the opportunity |
180 | to remove anything now handled by ``packagegroup.bbclass``, such as | 180 | to remove anything now handled by ``packagegroup.bbclass``, such as |
181 | providing ``-dev`` and ``-dbg`` packages, setting | 181 | providing ``-dev`` and ``-dbg`` packages, setting |
182 | ```LIC_FILES_CHKSUM`` <#var-LIC_FILES_CHKSUM>`__, and so forth. See the | 182 | :term:`LIC_FILES_CHKSUM`, and so forth. See the |
183 | "```packagegroup.bbclass`` <#ref-classes-packagegroup>`__" section for | 183 | ":ref:`packagegroup.bbclass <ref-classes-packagegroup>`" section for |
184 | further details. | 184 | further details. |
185 | 185 | ||
186 | .. _migration-1.3-image-features: | 186 | .. _migration-1.3-image-features: |
@@ -189,7 +189,7 @@ IMAGE_FEATURES | |||
189 | ~~~~~~~~~~~~~~ | 189 | ~~~~~~~~~~~~~~ |
190 | 190 | ||
191 | Image recipes that previously included "apps-console-core" in | 191 | Image recipes that previously included "apps-console-core" in |
192 | ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__ should now include "splash" | 192 | :term:`IMAGE_FEATURES` should now include "splash" |
193 | instead to enable the boot-up splash screen. Retaining | 193 | instead to enable the boot-up splash screen. Retaining |
194 | "apps-console-core" will still include the splash screen but generates a | 194 | "apps-console-core" will still include the splash screen but generates a |
195 | warning. The "apps-x11-core" and "apps-x11-games" ``IMAGE_FEATURES`` | 195 | warning. The "apps-x11-core" and "apps-x11-games" ``IMAGE_FEATURES`` |
@@ -202,7 +202,7 @@ Removed Recipes | |||
202 | 202 | ||
203 | The following recipes have been removed. For most of them, it is | 203 | The following recipes have been removed. For most of them, it is |
204 | unlikely that you would have any references to them in your own | 204 | unlikely that you would have any references to them in your own |
205 | `Metadata <#metadata>`__. However, you should check your metadata | 205 | :term:`Metadata`. However, you should check your metadata |
206 | against this list to be sure: | 206 | against this list to be sure: |
207 | 207 | ||
208 | - *``libx11-trim``*: Replaced by ``libx11``, which has a negligible | 208 | - *``libx11-trim``*: Replaced by ``libx11``, which has a negligible |
@@ -247,7 +247,7 @@ Linux Kernel Naming | |||
247 | ------------------- | 247 | ------------------- |
248 | 248 | ||
249 | The naming scheme for kernel output binaries has been changed to now | 249 | The naming scheme for kernel output binaries has been changed to now |
250 | include ```PE`` <#var-PE>`__ as part of the filename: | 250 | include :term:`PE` as part of the filename: |
251 | KERNEL_IMAGE_BASE_NAME ?= | 251 | KERNEL_IMAGE_BASE_NAME ?= |
252 | "${KERNEL_IMAGETYPE}-${PE}-${PV}-${PR}-${MACHINE}-${DATETIME}" | 252 | "${KERNEL_IMAGETYPE}-${PE}-${PV}-${PR}-${MACHINE}-${DATETIME}" |
253 | 253 | ||
@@ -276,13 +276,13 @@ Differences include the following: | |||
276 | a comment. | 276 | a comment. |
277 | 277 | ||
278 | - *Package Name Overrides:* The runtime package specific variables | 278 | - *Package Name Overrides:* The runtime package specific variables |
279 | ```RDEPENDS`` <#var-RDEPENDS>`__, | 279 | :term:`RDEPENDS`, |
280 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__, | 280 | :term:`RRECOMMENDS`, |
281 | ```RSUGGESTS`` <#var-RSUGGESTS>`__, | 281 | :term:`RSUGGESTS`, |
282 | ```RPROVIDES`` <#var-RPROVIDES>`__, | 282 | :term:`RPROVIDES`, |
283 | ```RCONFLICTS`` <#var-RCONFLICTS>`__, | 283 | :term:`RCONFLICTS`, |
284 | ```RREPLACES`` <#var-RREPLACES>`__, ```FILES`` <#var-FILES>`__, | 284 | :term:`RREPLACES`, :term:`FILES`, |
285 | ```ALLOW_EMPTY`` <#var-ALLOW_EMPTY>`__, and the pre, post, install, | 285 | :term:`ALLOW_EMPTY`, and the pre, post, install, |
286 | and uninstall script functions ``pkg_preinst``, ``pkg_postinst``, | 286 | and uninstall script functions ``pkg_preinst``, ``pkg_postinst``, |
287 | ``pkg_prerm``, and ``pkg_postrm`` should always have a package name | 287 | ``pkg_prerm``, and ``pkg_postrm`` should always have a package name |
288 | override. For example, use ``RDEPENDS_${PN}`` for the main package | 288 | override. For example, use ``RDEPENDS_${PN}`` for the main package |
@@ -305,15 +305,15 @@ Differences include the following: | |||
305 | you have missing declared dependencies. | 305 | you have missing declared dependencies. |
306 | 306 | ||
307 | - *Scanning Directory Names:* When scanning for files in | 307 | - *Scanning Directory Names:* When scanning for files in |
308 | ```SRC_URI`` <#var-SRC_URI>`__, the build system now uses | 308 | :term:`SRC_URI`, the build system now uses |
309 | ```FILESOVERRIDES`` <#var-FILESOVERRIDES>`__ instead of | 309 | :term:`FILESOVERRIDES` instead of |
310 | ```OVERRIDES`` <#var-OVERRIDES>`__ for the directory names. In | 310 | :term:`OVERRIDES` for the directory names. In |
311 | general, the values previously in ``OVERRIDES`` are now in | 311 | general, the values previously in ``OVERRIDES`` are now in |
312 | ``FILESOVERRIDES`` as well. However, if you relied upon an additional | 312 | ``FILESOVERRIDES`` as well. However, if you relied upon an additional |
313 | value you previously added to ``OVERRIDES``, you might now need to | 313 | value you previously added to ``OVERRIDES``, you might now need to |
314 | add it to ``FILESOVERRIDES`` unless you are already adding it through | 314 | add it to ``FILESOVERRIDES`` unless you are already adding it through |
315 | the ```MACHINEOVERRIDES`` <#var-MACHINEOVERRIDES>`__ or | 315 | the :term:`MACHINEOVERRIDES` or |
316 | ```DISTROOVERRIDES`` <#var-DISTROOVERRIDES>`__ variables, as | 316 | :term:`DISTROOVERRIDES` variables, as |
317 | appropriate. For more related changes, see the | 317 | appropriate. For more related changes, see the |
318 | "`Variables <#migration-1.4-variables>`__" section. | 318 | "`Variables <#migration-1.4-variables>`__" section. |
319 | 319 | ||
@@ -335,7 +335,7 @@ Custom Interfaces File (netbase change) | |||
335 | If you have created your own custom ``etc/network/interfaces`` file by | 335 | If you have created your own custom ``etc/network/interfaces`` file by |
336 | creating an append file for the ``netbase`` recipe, you now need to | 336 | creating an append file for the ``netbase`` recipe, you now need to |
337 | create an append file for the ``init-ifupdown`` recipe instead, which | 337 | create an append file for the ``init-ifupdown`` recipe instead, which |
338 | you can find in the `Source Directory <#source-directory>`__ at | 338 | you can find in the :term:`Source Directory` at |
339 | ``meta/recipes-core/init-ifupdown``. For information on how to use | 339 | ``meta/recipes-core/init-ifupdown``. For information on how to use |
340 | append files, see the "`Using .bbappend | 340 | append files, see the "`Using .bbappend |
341 | Files <&YOCTO_DOCS_DEV_URL;#using-bbappend-files>`__" section in the | 341 | Files <&YOCTO_DOCS_DEV_URL;#using-bbappend-files>`__" section in the |
@@ -363,24 +363,24 @@ The following variables have changed: | |||
363 | - *``SANITY_TESTED_DISTROS``:* This variable now uses a distribution | 363 | - *``SANITY_TESTED_DISTROS``:* This variable now uses a distribution |
364 | ID, which is composed of the host distributor ID followed by the | 364 | ID, which is composed of the host distributor ID followed by the |
365 | release. Previously, | 365 | release. Previously, |
366 | ```SANITY_TESTED_DISTROS`` <#var-SANITY_TESTED_DISTROS>`__ was | 366 | :term:`SANITY_TESTED_DISTROS` was |
367 | composed of the description field. For example, "Ubuntu 12.10" | 367 | composed of the description field. For example, "Ubuntu 12.10" |
368 | becomes "Ubuntu-12.10". You do not need to worry about this change if | 368 | becomes "Ubuntu-12.10". You do not need to worry about this change if |
369 | you are not specifically setting this variable, or if you are | 369 | you are not specifically setting this variable, or if you are |
370 | specifically setting it to "". | 370 | specifically setting it to "". |
371 | 371 | ||
372 | - *``SRC_URI``:* The ``${``\ ```PN`` <#var-PN>`__\ ``}``, | 372 | - *``SRC_URI``:* The ``${``\ :term:`PN`\ ``}``, |
373 | ``${``\ ```PF`` <#var-PF>`__\ ``}``, | 373 | ``${``\ :term:`PF`\ ``}``, |
374 | ``${``\ ```P`` <#var-P>`__\ ``}``, and ``FILE_DIRNAME`` directories | 374 | ``${``\ :term:`P`\ ``}``, and ``FILE_DIRNAME`` directories |
375 | have been dropped from the default value of the | 375 | have been dropped from the default value of the |
376 | ```FILESPATH`` <#var-FILESPATH>`__ variable, which is used as the | 376 | :term:`FILESPATH` variable, which is used as the |
377 | search path for finding files referred to in | 377 | search path for finding files referred to in |
378 | ```SRC_URI`` <#var-SRC_URI>`__. If you have a recipe that relied upon | 378 | :term:`SRC_URI`. If you have a recipe that relied upon |
379 | these directories, which would be unusual, then you will need to add | 379 | these directories, which would be unusual, then you will need to add |
380 | the appropriate paths within the recipe or, alternatively, rearrange | 380 | the appropriate paths within the recipe or, alternatively, rearrange |
381 | the files. The most common locations are still covered by ``${BP}``, | 381 | the files. The most common locations are still covered by ``${BP}``, |
382 | ``${BPN}``, and "files", which all remain in the default value of | 382 | ``${BPN}``, and "files", which all remain in the default value of |
383 | ```FILESPATH`` <#var-FILESPATH>`__. | 383 | :term:`FILESPATH`. |
384 | 384 | ||
385 | .. _migration-target-package-management-with-rpm: | 385 | .. _migration-target-package-management-with-rpm: |
386 | 386 | ||
@@ -554,9 +554,9 @@ The following changes have been made that relate to BitBake: | |||
554 | 554 | ||
555 | - The ``bitbake-runtask`` script has been removed. | 555 | - The ``bitbake-runtask`` script has been removed. |
556 | 556 | ||
557 | - ``${``\ ```P`` <#var-P>`__\ ``}`` and | 557 | - ``${``\ :term:`P`\ ``}`` and |
558 | ``${``\ ```PF`` <#var-PF>`__\ ``}`` are no longer added to | 558 | ``${``\ :term:`PF`\ ``}`` are no longer added to |
559 | ```PROVIDES`` <#var-PROVIDES>`__ by default in ``bitbake.conf``. | 559 | :term:`PROVIDES` by default in ``bitbake.conf``. |
560 | These version-specific ``PROVIDES`` items were seldom used. | 560 | These version-specific ``PROVIDES`` items were seldom used. |
561 | Attempting to use them could result in two versions being built | 561 | Attempting to use them could result in two versions being built |
562 | simultaneously rather than just one version due to the way BitBake | 562 | simultaneously rather than just one version due to the way BitBake |
@@ -569,19 +569,19 @@ QA Warnings | |||
569 | 569 | ||
570 | The following changes have been made to the package QA checks: | 570 | The following changes have been made to the package QA checks: |
571 | 571 | ||
572 | - If you have customized ```ERROR_QA`` <#var-ERROR_QA>`__ or | 572 | - If you have customized :term:`ERROR_QA` or |
573 | ```WARN_QA`` <#var-WARN_QA>`__ values in your configuration, check | 573 | :term:`WARN_QA` values in your configuration, check |
574 | that they contain all of the issues that you wish to be reported. | 574 | that they contain all of the issues that you wish to be reported. |
575 | Previous Yocto Project versions contained a bug that meant that any | 575 | Previous Yocto Project versions contained a bug that meant that any |
576 | item not mentioned in ``ERROR_QA`` or ``WARN_QA`` would be treated as | 576 | item not mentioned in ``ERROR_QA`` or ``WARN_QA`` would be treated as |
577 | a warning. Consequently, several important items were not already in | 577 | a warning. Consequently, several important items were not already in |
578 | the default value of ``WARN_QA``. All of the possible QA checks are | 578 | the default value of ``WARN_QA``. All of the possible QA checks are |
579 | now documented in the "```insane.bbclass`` <#ref-classes-insane>`__" | 579 | now documented in the ":ref:`insane.bbclass <ref-classes-insane>`" |
580 | section. | 580 | section. |
581 | 581 | ||
582 | - An additional QA check has been added to check if | 582 | - An additional QA check has been added to check if |
583 | ``/usr/share/info/dir`` is being installed. Your recipe should delete | 583 | ``/usr/share/info/dir`` is being installed. Your recipe should delete |
584 | this file within ```do_install`` <#ref-tasks-install>`__ if "make | 584 | this file within :ref:`ref-tasks-install` if "make |
585 | install" is installing it. | 585 | install" is installing it. |
586 | 586 | ||
587 | - If you are using the buildhistory class, the check for the package | 587 | - If you are using the buildhistory class, the check for the package |
@@ -591,7 +591,7 @@ The following changes have been made to the package QA checks: | |||
591 | "version-going-backwards" to your value for one or the other | 591 | "version-going-backwards" to your value for one or the other |
592 | variables depending on how you wish it to be handled. See the | 592 | variables depending on how you wish it to be handled. See the |
593 | documented QA checks in the | 593 | documented QA checks in the |
594 | "```insane.bbclass`` <#ref-classes-insane>`__" section. | 594 | ":ref:`insane.bbclass <ref-classes-insane>`" section. |
595 | 595 | ||
596 | .. _migration-1.5-directory-layout-changes: | 596 | .. _migration-1.5-directory-layout-changes: |
597 | 597 | ||
@@ -601,25 +601,25 @@ Directory Layout Changes | |||
601 | The following directory changes exist: | 601 | The following directory changes exist: |
602 | 602 | ||
603 | - Output SDK installer files are now named to include the image name | 603 | - Output SDK installer files are now named to include the image name |
604 | and tuning architecture through the ```SDK_NAME`` <#var-SDK_NAME>`__ | 604 | and tuning architecture through the :term:`SDK_NAME` |
605 | variable. | 605 | variable. |
606 | 606 | ||
607 | - Images and related files are now installed into a directory that is | 607 | - Images and related files are now installed into a directory that is |
608 | specific to the machine, instead of a parent directory containing | 608 | specific to the machine, instead of a parent directory containing |
609 | output files for multiple machines. The | 609 | output files for multiple machines. The |
610 | ```DEPLOY_DIR_IMAGE`` <#var-DEPLOY_DIR_IMAGE>`__ variable continues | 610 | :term:`DEPLOY_DIR_IMAGE` variable continues |
611 | to point to the directory containing images for the current | 611 | to point to the directory containing images for the current |
612 | ```MACHINE`` <#var-MACHINE>`__ and should be used anywhere there is a | 612 | :term:`MACHINE` and should be used anywhere there is a |
613 | need to refer to this directory. The ``runqemu`` script now uses this | 613 | need to refer to this directory. The ``runqemu`` script now uses this |
614 | variable to find images and kernel binaries and will use BitBake to | 614 | variable to find images and kernel binaries and will use BitBake to |
615 | determine the directory. Alternatively, you can set the | 615 | determine the directory. Alternatively, you can set the |
616 | ``DEPLOY_DIR_IMAGE`` variable in the external environment. | 616 | ``DEPLOY_DIR_IMAGE`` variable in the external environment. |
617 | 617 | ||
618 | - When buildhistory is enabled, its output is now written under the | 618 | - When buildhistory is enabled, its output is now written under the |
619 | `Build Directory <#build-directory>`__ rather than | 619 | :term:`Build Directory` rather than |
620 | ```TMPDIR`` <#var-TMPDIR>`__. Doing so makes it easier to delete | 620 | :term:`TMPDIR`. Doing so makes it easier to delete |
621 | ``TMPDIR`` and preserve the build history. Additionally, data for | 621 | ``TMPDIR`` and preserve the build history. Additionally, data for |
622 | produced SDKs is now split by ```IMAGE_NAME`` <#var-IMAGE_NAME>`__. | 622 | produced SDKs is now split by :term:`IMAGE_NAME`. |
623 | 623 | ||
624 | - The ``pkgdata`` directory produced as part of the packaging process | 624 | - The ``pkgdata`` directory produced as part of the packaging process |
625 | has been collapsed into a single machine-specific directory. This | 625 | has been collapsed into a single machine-specific directory. This |
@@ -632,7 +632,7 @@ Shortened Git ``SRCREV`` Values | |||
632 | ------------------------------- | 632 | ------------------------------- |
633 | 633 | ||
634 | BitBake will now shorten revisions from Git repositories from the normal | 634 | BitBake will now shorten revisions from Git repositories from the normal |
635 | 40 characters down to 10 characters within ```SRCPV`` <#var-SRCPV>`__ | 635 | 40 characters down to 10 characters within :term:`SRCPV` |
636 | for improved usability in path and file names. This change should be | 636 | for improved usability in path and file names. This change should be |
637 | safe within contexts where these revisions are used because the chances | 637 | safe within contexts where these revisions are used because the chances |
638 | of spatially close collisions is very low. Distant collisions are not a | 638 | of spatially close collisions is very low. Distant collisions are not a |
@@ -644,16 +644,16 @@ major issue in the way the values are used. | |||
644 | ------------------ | 644 | ------------------ |
645 | 645 | ||
646 | The following changes have been made that relate to | 646 | The following changes have been made that relate to |
647 | ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__: | 647 | :term:`IMAGE_FEATURES`: |
648 | 648 | ||
649 | - The value of ``IMAGE_FEATURES`` is now validated to ensure invalid | 649 | - The value of ``IMAGE_FEATURES`` is now validated to ensure invalid |
650 | feature items are not added. Some users mistakenly add package names | 650 | feature items are not added. Some users mistakenly add package names |
651 | to this variable instead of using | 651 | to this variable instead of using |
652 | ```IMAGE_INSTALL`` <#var-IMAGE_INSTALL>`__ in order to have the | 652 | :term:`IMAGE_INSTALL` in order to have the |
653 | package added to the image, which does not work. This change is | 653 | package added to the image, which does not work. This change is |
654 | intended to catch those kinds of situations. Valid ``IMAGE_FEATURES`` | 654 | intended to catch those kinds of situations. Valid ``IMAGE_FEATURES`` |
655 | are drawn from ``PACKAGE_GROUP`` definitions, | 655 | are drawn from ``PACKAGE_GROUP`` definitions, |
656 | ```COMPLEMENTARY_GLOB`` <#var-COMPLEMENTARY_GLOB>`__ and a new | 656 | :term:`COMPLEMENTARY_GLOB` and a new |
657 | "validitems" varflag on ``IMAGE_FEATURES``. The "validitems" varflag | 657 | "validitems" varflag on ``IMAGE_FEATURES``. The "validitems" varflag |
658 | change allows additional features to be added if they are not | 658 | change allows additional features to be added if they are not |
659 | provided using the previous two mechanisms. | 659 | provided using the previous two mechanisms. |
@@ -682,9 +682,9 @@ Removal of Package Manager Database Within Image Recipes | |||
682 | 682 | ||
683 | The image ``core-image-minimal`` no longer adds | 683 | The image ``core-image-minimal`` no longer adds |
684 | ``remove_packaging_data_files`` to | 684 | ``remove_packaging_data_files`` to |
685 | ```ROOTFS_POSTPROCESS_COMMAND`` <#var-ROOTFS_POSTPROCESS_COMMAND>`__. | 685 | :term:`ROOTFS_POSTPROCESS_COMMAND`. |
686 | This addition is now handled automatically when "package-management" is | 686 | This addition is now handled automatically when "package-management" is |
687 | not in ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__. If you have custom | 687 | not in :term:`IMAGE_FEATURES`. If you have custom |
688 | image recipes that make this addition, you should remove the lines, as | 688 | image recipes that make this addition, you should remove the lines, as |
689 | they are not needed and might interfere with correct operation of | 689 | they are not needed and might interfere with correct operation of |
690 | postinstall scripts. | 690 | postinstall scripts. |
@@ -694,7 +694,7 @@ postinstall scripts. | |||
694 | Images Now Rebuild Only on Changes Instead of Every Time | 694 | Images Now Rebuild Only on Changes Instead of Every Time |
695 | -------------------------------------------------------- | 695 | -------------------------------------------------------- |
696 | 696 | ||
697 | The ```do_rootfs`` <#ref-tasks-rootfs>`__ and other related image | 697 | The :ref:`ref-tasks-rootfs` and other related image |
698 | construction tasks are no longer marked as "nostamp". Consequently, they | 698 | construction tasks are no longer marked as "nostamp". Consequently, they |
699 | will only be re-executed when their inputs have changed. Previous | 699 | will only be re-executed when their inputs have changed. Previous |
700 | versions of the OpenEmbedded build system always rebuilt the image when | 700 | versions of the OpenEmbedded build system always rebuilt the image when |
@@ -711,7 +711,7 @@ them from ``task-*`` to ``packagegroup-*`` and inherit packagegroup | |||
711 | instead. | 711 | instead. |
712 | 712 | ||
713 | For more information, see the | 713 | For more information, see the |
714 | "```packagegroup.bbclass`` <#ref-classes-packagegroup>`__" section. | 714 | ":ref:`packagegroup.bbclass <ref-classes-packagegroup>`" section. |
715 | 715 | ||
716 | .. _migration-1.5-busybox: | 716 | .. _migration-1.5-busybox: |
717 | 717 | ||
@@ -723,7 +723,7 @@ root for those components that need it, and another for the rest of the | |||
723 | components. Splitting BusyBox allows for optimization that eliminates | 723 | components. Splitting BusyBox allows for optimization that eliminates |
724 | the ``tinylogin`` recipe as recommended by upstream. You can disable | 724 | the ``tinylogin`` recipe as recommended by upstream. You can disable |
725 | this split by setting | 725 | this split by setting |
726 | ```BUSYBOX_SPLIT_SUID`` <#var-BUSYBOX_SPLIT_SUID>`__ to "0". | 726 | :term:`BUSYBOX_SPLIT_SUID` to "0". |
727 | 727 | ||
728 | .. _migration-1.5-automated-image-testing: | 728 | .. _migration-1.5-automated-image-testing: |
729 | 729 | ||
@@ -771,7 +771,7 @@ section in the Yocto Project Development Tasks Manual. | |||
771 | Following are changes to ``udev``: | 771 | Following are changes to ``udev``: |
772 | 772 | ||
773 | - ``udev`` no longer brings in ``udev-extraconf`` automatically through | 773 | - ``udev`` no longer brings in ``udev-extraconf`` automatically through |
774 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__, since this was originally | 774 | :term:`RRECOMMENDS`, since this was originally |
775 | intended to be optional. If you need the extra rules, then add | 775 | intended to be optional. If you need the extra rules, then add |
776 | ``udev-extraconf`` to your image. | 776 | ``udev-extraconf`` to your image. |
777 | 777 | ||
@@ -821,13 +821,13 @@ Following is a list of short entries describing other changes: | |||
821 | - ``alsa-state``: Provide an empty ``asound.conf`` by default. | 821 | - ``alsa-state``: Provide an empty ``asound.conf`` by default. |
822 | 822 | ||
823 | - ``classes/image``: Ensure | 823 | - ``classes/image``: Ensure |
824 | ```BAD_RECOMMENDATIONS`` <#var-BAD_RECOMMENDATIONS>`__ supports | 824 | :term:`BAD_RECOMMENDATIONS` supports |
825 | pre-renamed package names. | 825 | pre-renamed package names. |
826 | 826 | ||
827 | - ``classes/rootfs_rpm``: Implement ``BAD_RECOMMENDATIONS`` for RPM. | 827 | - ``classes/rootfs_rpm``: Implement ``BAD_RECOMMENDATIONS`` for RPM. |
828 | 828 | ||
829 | - ``systemd``: Remove ``systemd_unitdir`` if ``systemd`` is not in | 829 | - ``systemd``: Remove ``systemd_unitdir`` if ``systemd`` is not in |
830 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__. | 830 | :term:`DISTRO_FEATURES`. |
831 | 831 | ||
832 | - ``systemd``: Remove ``init.d`` dir if ``systemd`` unit file is | 832 | - ``systemd``: Remove ``init.d`` dir if ``systemd`` unit file is |
833 | present and ``sysvinit`` is not a distro feature. | 833 | present and ``sysvinit`` is not a distro feature. |
@@ -854,7 +854,7 @@ Project 1.6 Release from the prior release. | |||
854 | ``archiver`` Class | 854 | ``archiver`` Class |
855 | ------------------ | 855 | ------------------ |
856 | 856 | ||
857 | The ```archiver`` <#ref-classes-archiver>`__ class has been rewritten | 857 | The :ref:`archiver <ref-classes-archiver>` class has been rewritten |
858 | and its configuration has been simplified. For more details on the | 858 | and its configuration has been simplified. For more details on the |
859 | source archiver, see the "`Maintaining Open Source License Compliance | 859 | source archiver, see the "`Maintaining Open Source License Compliance |
860 | During Your Product's | 860 | During Your Product's |
@@ -889,7 +889,7 @@ The following packaging changes have been made: | |||
889 | BitBake | 889 | BitBake |
890 | ------- | 890 | ------- |
891 | 891 | ||
892 | The following changes have been made to `BitBake <#bitbake-term>`__. | 892 | The following changes have been made to :term:`BitBake`. |
893 | 893 | ||
894 | .. _migration-1.6-matching-branch-requirement-for-git-fetching: | 894 | .. _migration-1.6-matching-branch-requirement-for-git-fetching: |
895 | 895 | ||
@@ -897,8 +897,8 @@ Matching Branch Requirement for Git Fetching | |||
897 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 897 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
898 | 898 | ||
899 | When fetching source from a Git repository using | 899 | When fetching source from a Git repository using |
900 | ```SRC_URI`` <#var-SRC_URI>`__, BitBake will now validate the | 900 | :term:`SRC_URI`, BitBake will now validate the |
901 | ```SRCREV`` <#var-SRCREV>`__ value against the branch. You can specify | 901 | :term:`SRCREV` value against the branch. You can specify |
902 | the branch using the following form: SRC_URI = | 902 | the branch using the following form: SRC_URI = |
903 | "git://server.name/repository;branch=branchname" If you do not specify a | 903 | "git://server.name/repository;branch=branchname" If you do not specify a |
904 | branch, BitBake looks in the default "master" branch. | 904 | branch, BitBake looks in the default "master" branch. |
@@ -960,7 +960,7 @@ will need to add ``2>&1`` (or something similar) to the end of your | |||
960 | ``task-``\ taskname overrides have been adjusted so that tasks whose | 960 | ``task-``\ taskname overrides have been adjusted so that tasks whose |
961 | names contain underscores have the underscores replaced by hyphens for | 961 | names contain underscores have the underscores replaced by hyphens for |
962 | the override so that they now function properly. For example, the task | 962 | the override so that they now function properly. For example, the task |
963 | override for ```do_populate_sdk`` <#ref-tasks-populate_sdk>`__ is | 963 | override for :ref:`ref-tasks-populate_sdk` is |
964 | ``task-populate-sdk``. | 964 | ``task-populate-sdk``. |
965 | 965 | ||
966 | .. _migration-1.6-variable-changes: | 966 | .. _migration-1.6-variable-changes: |
@@ -977,7 +977,7 @@ Glossary <#ref-variables-glos>`__" Chapter. | |||
977 | ``TMPDIR`` | 977 | ``TMPDIR`` |
978 | ~~~~~~~~~~ | 978 | ~~~~~~~~~~ |
979 | 979 | ||
980 | ```TMPDIR`` <#var-TMPDIR>`__ can no longer be on an NFS mount. NFS does | 980 | :term:`TMPDIR` can no longer be on an NFS mount. NFS does |
981 | not offer full POSIX locking and inode consistency and can cause | 981 | not offer full POSIX locking and inode consistency and can cause |
982 | unexpected issues if used to store ``TMPDIR``. | 982 | unexpected issues if used to store ``TMPDIR``. |
983 | 983 | ||
@@ -990,7 +990,7 @@ NFS mount, an error occurs. | |||
990 | ~~~~~~~~~ | 990 | ~~~~~~~~~ |
991 | 991 | ||
992 | The ``PRINC`` variable has been deprecated and triggers a warning if | 992 | The ``PRINC`` variable has been deprecated and triggers a warning if |
993 | detected during a build. For ```PR`` <#var-PR>`__ increments on changes, | 993 | detected during a build. For :term:`PR` increments on changes, |
994 | use the PR service instead. You can find out more about this service in | 994 | use the PR service instead. You can find out more about this service in |
995 | the "`Working With a PR | 995 | the "`Working With a PR |
996 | Service <&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service>`__" section in | 996 | Service <&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service>`__" section in |
@@ -1001,7 +1001,7 @@ the Yocto Project Development Tasks Manual. | |||
1001 | ``IMAGE_TYPES`` | 1001 | ``IMAGE_TYPES`` |
1002 | ~~~~~~~~~~~~~~~ | 1002 | ~~~~~~~~~~~~~~~ |
1003 | 1003 | ||
1004 | The "sum.jffs2" option for ```IMAGE_TYPES`` <#var-IMAGE_TYPES>`__ has | 1004 | The "sum.jffs2" option for :term:`IMAGE_TYPES` has |
1005 | been replaced by the "jffs2.sum" option, which fits the processing | 1005 | been replaced by the "jffs2.sum" option, which fits the processing |
1006 | order. | 1006 | order. |
1007 | 1007 | ||
@@ -1010,7 +1010,7 @@ order. | |||
1010 | ``COPY_LIC_MANIFEST`` | 1010 | ``COPY_LIC_MANIFEST`` |
1011 | ~~~~~~~~~~~~~~~~~~~~~ | 1011 | ~~~~~~~~~~~~~~~~~~~~~ |
1012 | 1012 | ||
1013 | The ```COPY_LIC_MANIFEST`` <#var-COPY_LIC_MANIFEST>`__ variable must now | 1013 | The :term:`COPY_LIC_MANIFEST` variable must now |
1014 | be set to "1" rather than any value in order to enable it. | 1014 | be set to "1" rather than any value in order to enable it. |
1015 | 1015 | ||
1016 | .. _migration-1.6-variable-changes-COPY_LIC_DIRS: | 1016 | .. _migration-1.6-variable-changes-COPY_LIC_DIRS: |
@@ -1018,7 +1018,7 @@ be set to "1" rather than any value in order to enable it. | |||
1018 | ``COPY_LIC_DIRS`` | 1018 | ``COPY_LIC_DIRS`` |
1019 | ~~~~~~~~~~~~~~~~~ | 1019 | ~~~~~~~~~~~~~~~~~ |
1020 | 1020 | ||
1021 | The ```COPY_LIC_DIRS`` <#var-COPY_LIC_DIRS>`__ variable must now be set | 1021 | The :term:`COPY_LIC_DIRS` variable must now be set |
1022 | to "1" rather than any value in order to enable it. | 1022 | to "1" rather than any value in order to enable it. |
1023 | 1023 | ||
1024 | .. _migration-1.6-variable-changes-PACKAGE_GROUP: | 1024 | .. _migration-1.6-variable-changes-PACKAGE_GROUP: |
@@ -1027,7 +1027,7 @@ to "1" rather than any value in order to enable it. | |||
1027 | ~~~~~~~~~~~~~~~~~ | 1027 | ~~~~~~~~~~~~~~~~~ |
1028 | 1028 | ||
1029 | The ``PACKAGE_GROUP`` variable has been renamed to | 1029 | The ``PACKAGE_GROUP`` variable has been renamed to |
1030 | ```FEATURE_PACKAGES`` <#var-FEATURE_PACKAGES>`__ to more accurately | 1030 | :term:`FEATURE_PACKAGES` to more accurately |
1031 | reflect its purpose. You can still use ``PACKAGE_GROUP`` but the | 1031 | reflect its purpose. You can still use ``PACKAGE_GROUP`` but the |
1032 | OpenEmbedded build system produces a warning message when it encounters | 1032 | OpenEmbedded build system produces a warning message when it encounters |
1033 | the variable. | 1033 | the variable. |
@@ -1039,15 +1039,15 @@ Preprocess and Post Process Command Variable Behavior | |||
1039 | 1039 | ||
1040 | The following variables now expect a semicolon separated list of | 1040 | The following variables now expect a semicolon separated list of |
1041 | functions to call and not arbitrary shell commands: | 1041 | functions to call and not arbitrary shell commands: |
1042 | `ROOTFS_PREPROCESS_COMMAND <#var-ROOTFS_PREPROCESS_COMMAND>`__ | 1042 | :term:`ROOTFS_PREPROCESS_COMMAND` |
1043 | `ROOTFS_POSTPROCESS_COMMAND <#var-ROOTFS_POSTPROCESS_COMMAND>`__ | 1043 | :term:`ROOTFS_POSTPROCESS_COMMAND` |
1044 | `SDK_POSTPROCESS_COMMAND <#var-SDK_POSTPROCESS_COMMAND>`__ | 1044 | :term:`SDK_POSTPROCESS_COMMAND` |
1045 | `POPULATE_SDK_POST_TARGET_COMMAND <#var-POPULATE_SDK_POST_TARGET_COMMAND>`__ | 1045 | :term:`POPULATE_SDK_POST_TARGET_COMMAND` |
1046 | `POPULATE_SDK_POST_HOST_COMMAND <#var-POPULATE_SDK_POST_HOST_COMMAND>`__ | 1046 | :term:`POPULATE_SDK_POST_HOST_COMMAND` |
1047 | `IMAGE_POSTPROCESS_COMMAND <#var-IMAGE_POSTPROCESS_COMMAND>`__ | 1047 | :term:`IMAGE_POSTPROCESS_COMMAND` |
1048 | `IMAGE_PREPROCESS_COMMAND <#var-IMAGE_PREPROCESS_COMMAND>`__ | 1048 | :term:`IMAGE_PREPROCESS_COMMAND` |
1049 | `ROOTFS_POSTUNINSTALL_COMMAND <#var-ROOTFS_POSTUNINSTALL_COMMAND>`__ | 1049 | :term:`ROOTFS_POSTUNINSTALL_COMMAND` |
1050 | `ROOTFS_POSTINSTALL_COMMAND <#var-ROOTFS_POSTINSTALL_COMMAND>`__ For | 1050 | :term:`ROOTFS_POSTINSTALL_COMMAND` For |
1051 | migration purposes, you can simply wrap shell commands in a shell | 1051 | migration purposes, you can simply wrap shell commands in a shell |
1052 | function and then call the function. Here is an example: | 1052 | function and then call the function. Here is an example: |
1053 | my_postprocess_function() { echo "hello" > ${IMAGE_ROOTFS}/hello.txt } | 1053 | my_postprocess_function() { echo "hello" > ${IMAGE_ROOTFS}/hello.txt } |
@@ -1062,7 +1062,7 @@ Package Tests (ptest) are built but not installed by default. For | |||
1062 | information on using Package Tests, see the "`Testing Packages with | 1062 | information on using Package Tests, see the "`Testing Packages with |
1063 | ptest <&YOCTO_DOCS_DEV_URL;#testing-packages-with-ptest>`__" section in | 1063 | ptest <&YOCTO_DOCS_DEV_URL;#testing-packages-with-ptest>`__" section in |
1064 | the Yocto Project Development Tasks Manual. For information on the | 1064 | the Yocto Project Development Tasks Manual. For information on the |
1065 | ``ptest`` class, see the "```ptest.bbclass`` <#ref-classes-ptest>`__" | 1065 | ``ptest`` class, see the ":ref:`ptest.bbclass <ref-classes-ptest>`" |
1066 | section. | 1066 | section. |
1067 | 1067 | ||
1068 | .. _migration-1.6-build-changes: | 1068 | .. _migration-1.6-build-changes: |
@@ -1072,8 +1072,8 @@ Build Changes | |||
1072 | 1072 | ||
1073 | Separate build and source directories have been enabled by default for | 1073 | Separate build and source directories have been enabled by default for |
1074 | selected recipes where it is known to work (a whitelist) and for all | 1074 | selected recipes where it is known to work (a whitelist) and for all |
1075 | recipes that inherit the ```cmake`` <#ref-classes-cmake>`__ class. In | 1075 | recipes that inherit the :ref:`cmake <ref-classes-cmake>` class. In |
1076 | future releases the ```autotools`` <#ref-classes-autotools>`__ class | 1076 | future releases the :ref:`autotools <ref-classes-autotools>` class |
1077 | will enable a separate build directory by default as well. Recipes | 1077 | will enable a separate build directory by default as well. Recipes |
1078 | building Autotools-based software that fails to build with a separate | 1078 | building Autotools-based software that fails to build with a separate |
1079 | build directory should be changed to inherit from the | 1079 | build directory should be changed to inherit from the |
@@ -1116,12 +1116,12 @@ Licensing | |||
1116 | --------- | 1116 | --------- |
1117 | 1117 | ||
1118 | The top-level ``LICENSE`` file has been changed to better describe the | 1118 | The top-level ``LICENSE`` file has been changed to better describe the |
1119 | license of the various components of `OE-Core <#oe-core>`__. However, | 1119 | license of the various components of :term:`OpenEmbedded-Core (OE-Core)`. However, |
1120 | the licensing itself remains unchanged. | 1120 | the licensing itself remains unchanged. |
1121 | 1121 | ||
1122 | Normally, this change would not cause any side-effects. However, some | 1122 | Normally, this change would not cause any side-effects. However, some |
1123 | recipes point to this file within | 1123 | recipes point to this file within |
1124 | ```LIC_FILES_CHKSUM`` <#var-LIC_FILES_CHKSUM>`__ (as | 1124 | :term:`LIC_FILES_CHKSUM` (as |
1125 | ``${COREBASE}/LICENSE``) and thus the accompanying checksum must be | 1125 | ``${COREBASE}/LICENSE``) and thus the accompanying checksum must be |
1126 | changed from 3f40d7994397109285ec7b81fdeb3b58 to | 1126 | changed from 3f40d7994397109285ec7b81fdeb3b58 to |
1127 | 4d92cd373abda3937c2bc47fbc49d690. A better alternative is to have | 1127 | 4d92cd373abda3937c2bc47fbc49d690. A better alternative is to have |
@@ -1135,7 +1135,7 @@ rather than pointing to ``${COREBASE}/LICENSE``. | |||
1135 | ------------------ | 1135 | ------------------ |
1136 | 1136 | ||
1137 | The "-fpermissive" option has been removed from the default | 1137 | The "-fpermissive" option has been removed from the default |
1138 | ```CFLAGS`` <#var-CFLAGS>`__ value. You need to take action on | 1138 | :term:`CFLAGS` value. You need to take action on |
1139 | individual recipes that fail when building with this option. You need to | 1139 | individual recipes that fail when building with this option. You need to |
1140 | either patch the recipes to fix the issues reported by the compiler, or | 1140 | either patch the recipes to fix the issues reported by the compiler, or |
1141 | you need to add "-fpermissive" to ``CFLAGS`` in the recipes. | 1141 | you need to add "-fpermissive" to ``CFLAGS`` in the recipes. |
@@ -1146,9 +1146,9 @@ Custom Image Output Types | |||
1146 | ------------------------- | 1146 | ------------------------- |
1147 | 1147 | ||
1148 | Custom image output types, as selected using | 1148 | Custom image output types, as selected using |
1149 | ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__, must declare their | 1149 | :term:`IMAGE_FSTYPES`, must declare their |
1150 | dependencies on other image types (if any) using a new | 1150 | dependencies on other image types (if any) using a new |
1151 | ```IMAGE_TYPEDEP`` <#var-IMAGE_TYPEDEP>`__ variable. | 1151 | :term:`IMAGE_TYPEDEP` variable. |
1152 | 1152 | ||
1153 | .. _migration-1.6-do-package-write-task: | 1153 | .. _migration-1.6-do-package-write-task: |
1154 | 1154 | ||
@@ -1264,7 +1264,7 @@ Changes to Setting QEMU ``PACKAGECONFIG`` Options in ``local.conf`` | |||
1264 | ------------------------------------------------------------------- | 1264 | ------------------------------------------------------------------- |
1265 | 1265 | ||
1266 | The QEMU recipe now uses a number of | 1266 | The QEMU recipe now uses a number of |
1267 | ```PACKAGECONFIG`` <#var-PACKAGECONFIG>`__ options to enable various | 1267 | :term:`PACKAGECONFIG` options to enable various |
1268 | optional features. The method used to set defaults for these options | 1268 | optional features. The method used to set defaults for these options |
1269 | means that existing ``local.conf`` files will need to be be modified to | 1269 | means that existing ``local.conf`` files will need to be be modified to |
1270 | append to ``PACKAGECONFIG`` for ``qemu-native`` and ``nativesdk-qemu`` | 1270 | append to ``PACKAGECONFIG`` for ``qemu-native`` and ``nativesdk-qemu`` |
@@ -1291,13 +1291,13 @@ for more information. | |||
1291 | Autotools Class Changes | 1291 | Autotools Class Changes |
1292 | ----------------------- | 1292 | ----------------------- |
1293 | 1293 | ||
1294 | The following ```autotools`` <#ref-classes-autotools>`__ class changes | 1294 | The following :ref:`autotools <ref-classes-autotools>` class changes |
1295 | occurred: | 1295 | occurred: |
1296 | 1296 | ||
1297 | - *A separate build directory is now used by default:* The | 1297 | - *A separate build directory is now used by default:* The |
1298 | ``autotools`` class has been changed to use a directory for building | 1298 | ``autotools`` class has been changed to use a directory for building |
1299 | (```B`` <#var-B>`__), which is separate from the source directory | 1299 | (:term:`B`), which is separate from the source directory |
1300 | (```S`` <#var-S>`__). This is commonly referred to as ``B != S``, or | 1300 | (:term:`S`). This is commonly referred to as ``B != S``, or |
1301 | an out-of-tree build. | 1301 | an out-of-tree build. |
1302 | 1302 | ||
1303 | If the software being built is already capable of building in a | 1303 | If the software being built is already capable of building in a |
@@ -1368,10 +1368,10 @@ Kernel Module Autoloading | |||
1368 | 1368 | ||
1369 | The ```module_autoload_*`` <#var-module_autoload>`__ variable is now | 1369 | The ```module_autoload_*`` <#var-module_autoload>`__ variable is now |
1370 | deprecated and a new | 1370 | deprecated and a new |
1371 | ```KERNEL_MODULE_AUTOLOAD`` <#var-KERNEL_MODULE_AUTOLOAD>`__ variable | 1371 | :term:`KERNEL_MODULE_AUTOLOAD` variable |
1372 | should be used instead. Also, ```module_conf_*`` <#var-module_conf>`__ | 1372 | should be used instead. Also, ```module_conf_*`` <#var-module_conf>`__ |
1373 | must now be used in conjunction with a new | 1373 | must now be used in conjunction with a new |
1374 | ```KERNEL_MODULE_PROBECONF`` <#var-KERNEL_MODULE_PROBECONF>`__ variable. | 1374 | :term:`KERNEL_MODULE_PROBECONF` variable. |
1375 | The new variables no longer require you to specify the module name as | 1375 | The new variables no longer require you to specify the module name as |
1376 | part of the variable name. This change not only simplifies usage but | 1376 | part of the variable name. This change not only simplifies usage but |
1377 | also allows the values of these variables to be appropriately | 1377 | also allows the values of these variables to be appropriately |
@@ -1395,15 +1395,15 @@ The following changes have occurred to the QA check process: | |||
1395 | see the "`QA Error and Warning Messages <#ref-qa-checks>`__" chapter. | 1395 | see the "`QA Error and Warning Messages <#ref-qa-checks>`__" chapter. |
1396 | 1396 | ||
1397 | - Package QA checks are now performed during a new | 1397 | - Package QA checks are now performed during a new |
1398 | ```do_package_qa`` <#ref-tasks-package_qa>`__ task rather than being | 1398 | :ref:`ref-tasks-package_qa` task rather than being |
1399 | part of the ```do_package`` <#ref-tasks-package>`__ task. This allows | 1399 | part of the :ref:`ref-tasks-package` task. This allows |
1400 | more parallel execution. This change is unlikely to be an issue | 1400 | more parallel execution. This change is unlikely to be an issue |
1401 | except for highly customized recipes that disable packaging tasks | 1401 | except for highly customized recipes that disable packaging tasks |
1402 | themselves by marking them as ``noexec``. For those packages, you | 1402 | themselves by marking them as ``noexec``. For those packages, you |
1403 | will need to disable the ``do_package_qa`` task as well. | 1403 | will need to disable the ``do_package_qa`` task as well. |
1404 | 1404 | ||
1405 | - Files being overwritten during the | 1405 | - Files being overwritten during the |
1406 | ```do_populate_sysroot`` <#ref-tasks-populate_sysroot>`__ task now | 1406 | :ref:`ref-tasks-populate_sysroot` task now |
1407 | trigger an error instead of a warning. Recipes should not be | 1407 | trigger an error instead of a warning. Recipes should not be |
1408 | overwriting files written to the sysroot by other recipes. If you | 1408 | overwriting files written to the sysroot by other recipes. If you |
1409 | have these types of recipes, you need to alter them so that they do | 1409 | have these types of recipes, you need to alter them so that they do |
@@ -1412,7 +1412,7 @@ The following changes have occurred to the QA check process: | |||
1412 | You might now receive this error after changes in configuration or | 1412 | You might now receive this error after changes in configuration or |
1413 | metadata resulting in orphaned files being left in the sysroot. If | 1413 | metadata resulting in orphaned files being left in the sysroot. If |
1414 | you do receive this error, the way to resolve the issue is to delete | 1414 | you do receive this error, the way to resolve the issue is to delete |
1415 | your ```TMPDIR`` <#var-TMPDIR>`__ or to move it out of the way and | 1415 | your :term:`TMPDIR` or to move it out of the way and |
1416 | then re-start the build. Anything that has been fully built up to | 1416 | then re-start the build. Anything that has been fully built up to |
1417 | that point and does not need rebuilding will be restored from the | 1417 | that point and does not need rebuilding will be restored from the |
1418 | shared state cache and the rest of the build will be able to proceed | 1418 | shared state cache and the rest of the build will be able to proceed |
@@ -1508,7 +1508,7 @@ BlueZ 4.x / 5.x Selection | |||
1508 | 1508 | ||
1509 | Proper built-in support for selecting BlueZ 5.x in preference to the | 1509 | Proper built-in support for selecting BlueZ 5.x in preference to the |
1510 | default of 4.x now exists. To use BlueZ 5.x, simply add "bluez5" to your | 1510 | default of 4.x now exists. To use BlueZ 5.x, simply add "bluez5" to your |
1511 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ value. If you had | 1511 | :term:`DISTRO_FEATURES` value. If you had |
1512 | previously added append files (``*.bbappend``) to make this selection, | 1512 | previously added append files (``*.bbappend``) to make this selection, |
1513 | you can now remove them. | 1513 | you can now remove them. |
1514 | 1514 | ||
@@ -1532,8 +1532,8 @@ code tree. In theory, migration paths have been provided for most common | |||
1532 | usages in kernel recipes but this might not work in all cases. In | 1532 | usages in kernel recipes but this might not work in all cases. In |
1533 | particular, users need to ensure that ``${S}`` (source files) and | 1533 | particular, users need to ensure that ``${S}`` (source files) and |
1534 | ``${B}`` (build artifacts) are used correctly in functions such as | 1534 | ``${B}`` (build artifacts) are used correctly in functions such as |
1535 | ```do_configure`` <#ref-tasks-configure>`__ and | 1535 | :ref:`ref-tasks-configure` and |
1536 | ```do_install`` <#ref-tasks-install>`__. For kernel recipes that do not | 1536 | :ref:`ref-tasks-install`. For kernel recipes that do not |
1537 | inherit from ``kernel-yocto`` or include ``linux-yocto.inc``, you might | 1537 | inherit from ``kernel-yocto`` or include ``linux-yocto.inc``, you might |
1538 | wish to refer to the ``linux.inc`` file in the ``meta-oe`` layer for the | 1538 | wish to refer to the ``linux.inc`` file in the ``meta-oe`` layer for the |
1539 | kinds of changes you need to make. For reference, here is the | 1539 | kinds of changes you need to make. For reference, here is the |
@@ -1554,7 +1554,7 @@ SSL 3.0 is now disabled when building OpenSSL. Disabling SSL 3.0 avoids | |||
1554 | any lingering instances of the POODLE vulnerability. If you feel you | 1554 | any lingering instances of the POODLE vulnerability. If you feel you |
1555 | must re-enable SSL 3.0, then you can add an append file (``*.bbappend``) | 1555 | must re-enable SSL 3.0, then you can add an append file (``*.bbappend``) |
1556 | for the ``openssl`` recipe to remove "-no-ssl3" from | 1556 | for the ``openssl`` recipe to remove "-no-ssl3" from |
1557 | ```EXTRA_OECONF`` <#var-EXTRA_OECONF>`__. | 1557 | :term:`EXTRA_OECONF`. |
1558 | 1558 | ||
1559 | .. _migration-1.8-default-sysroot-poisoning: | 1559 | .. _migration-1.8-default-sysroot-poisoning: |
1560 | 1560 | ||
@@ -1578,17 +1578,17 @@ need to take corrective steps. | |||
1578 | Rebuild Improvements | 1578 | Rebuild Improvements |
1579 | -------------------- | 1579 | -------------------- |
1580 | 1580 | ||
1581 | Changes have been made to the ```base`` <#ref-classes-base>`__, | 1581 | Changes have been made to the :ref:`base <ref-classes-base>`, |
1582 | ```autotools`` <#ref-classes-autotools>`__, and | 1582 | :ref:`autotools <ref-classes-autotools>`, and |
1583 | ```cmake`` <#ref-classes-cmake>`__ classes to clean out generated files | 1583 | :ref:`cmake <ref-classes-cmake>` classes to clean out generated files |
1584 | when the ```do_configure`` <#ref-tasks-configure>`__ task needs to be | 1584 | when the :ref:`ref-tasks-configure` task needs to be |
1585 | re-executed. | 1585 | re-executed. |
1586 | 1586 | ||
1587 | One of the improvements is to attempt to run "make clean" during the | 1587 | One of the improvements is to attempt to run "make clean" during the |
1588 | ``do_configure`` task if a ``Makefile`` exists. Some software packages | 1588 | ``do_configure`` task if a ``Makefile`` exists. Some software packages |
1589 | do not provide a working clean target within their make files. If you | 1589 | do not provide a working clean target within their make files. If you |
1590 | have such recipes, you need to set | 1590 | have such recipes, you need to set |
1591 | ```CLEANBROKEN`` <#var-CLEANBROKEN>`__ to "1" within the recipe, for | 1591 | :term:`CLEANBROKEN` to "1" within the recipe, for |
1592 | example: CLEANBROKEN = "1" | 1592 | example: CLEANBROKEN = "1" |
1593 | 1593 | ||
1594 | .. _migration-1.8-qa-check-and-validation-changes: | 1594 | .. _migration-1.8-qa-check-and-validation-changes: |
@@ -1603,18 +1603,18 @@ The following QA Check and Validation Changes have occurred: | |||
1603 | recipe or append file. | 1603 | recipe or append file. |
1604 | 1604 | ||
1605 | - An additional QA check has been added to detect usage of ``${D}`` in | 1605 | - An additional QA check has been added to detect usage of ``${D}`` in |
1606 | ```FILES`` <#var-FILES>`__ values where ```D`` <#var-D>`__ values | 1606 | :term:`FILES` values where :term:`D` values |
1607 | should not be used at all. The same check ensures that ``$D`` is used | 1607 | should not be used at all. The same check ensures that ``$D`` is used |
1608 | in ``pkg_preinst/pkg_postinst/pkg_prerm/pkg_postrm`` functions | 1608 | in ``pkg_preinst/pkg_postinst/pkg_prerm/pkg_postrm`` functions |
1609 | instead of ``${D}``. | 1609 | instead of ``${D}``. |
1610 | 1610 | ||
1611 | - ```S`` <#var-S>`__ now needs to be set to a valid value within a | 1611 | - :term:`S` now needs to be set to a valid value within a |
1612 | recipe. If ``S`` is not set in the recipe, the directory is not | 1612 | recipe. If ``S`` is not set in the recipe, the directory is not |
1613 | automatically created. If ``S`` does not point to a directory that | 1613 | automatically created. If ``S`` does not point to a directory that |
1614 | exists at the time the ```do_unpack`` <#ref-tasks-unpack>`__ task | 1614 | exists at the time the :ref:`ref-tasks-unpack` task |
1615 | finishes, a warning will be shown. | 1615 | finishes, a warning will be shown. |
1616 | 1616 | ||
1617 | - ```LICENSE`` <#var-LICENSE>`__ is now validated for correct | 1617 | - :term:`LICENSE` is now validated for correct |
1618 | formatting of multiple licenses. If the format is invalid (e.g. | 1618 | formatting of multiple licenses. If the format is invalid (e.g. |
1619 | multiple licenses are specified with no operators to specify how the | 1619 | multiple licenses are specified with no operators to specify how the |
1620 | multiple licenses interact), then a warning will be shown. | 1620 | multiple licenses interact), then a warning will be shown. |
@@ -1633,7 +1633,7 @@ The following miscellaneous changes have occurred: | |||
1633 | - The ``oe-pkgdata-util`` script now expects a "-p" option to be | 1633 | - The ``oe-pkgdata-util`` script now expects a "-p" option to be |
1634 | specified before the ``pkgdata`` directory, which is now optional. If | 1634 | specified before the ``pkgdata`` directory, which is now optional. If |
1635 | the ``pkgdata`` directory is not specified, the script will run | 1635 | the ``pkgdata`` directory is not specified, the script will run |
1636 | BitBake to query ```PKGDATA_DIR`` <#var-PKGDATA_DIR>`__ from the | 1636 | BitBake to query :term:`PKGDATA_DIR` from the |
1637 | build environment. | 1637 | build environment. |
1638 | 1638 | ||
1639 | Moving to the Yocto Project 2.0 Release | 1639 | Moving to the Yocto Project 2.0 Release |
@@ -1811,7 +1811,7 @@ Recipe Maintenance Tracking Data Moved to OE-Core | |||
1811 | ------------------------------------------------- | 1811 | ------------------------------------------------- |
1812 | 1812 | ||
1813 | Maintenance tracking data for recipes that was previously part of | 1813 | Maintenance tracking data for recipes that was previously part of |
1814 | ``meta-yocto`` has been moved to `OE-Core <#oe-core>`__. The change | 1814 | ``meta-yocto`` has been moved to :term:`OpenEmbedded-Core (OE-Core)`. The change |
1815 | includes ``package_regex.inc`` and ``distro_alias.inc``, which are | 1815 | includes ``package_regex.inc`` and ``distro_alias.inc``, which are |
1816 | typically enabled when using the ``distrodata`` class. Additionally, the | 1816 | typically enabled when using the ``distrodata`` class. Additionally, the |
1817 | contents of ``upstream_tracking.inc`` has now been split out to the | 1817 | contents of ``upstream_tracking.inc`` has now been split out to the |
@@ -1827,7 +1827,7 @@ configuration are now automatically removed from sysroot as well as | |||
1827 | removed from any other place managed by shared state. This automatic | 1827 | removed from any other place managed by shared state. This automatic |
1828 | cleanup means that the build system now properly handles situations such | 1828 | cleanup means that the build system now properly handles situations such |
1829 | as renaming the build system side of recipes, removal of layers from | 1829 | as renaming the build system side of recipes, removal of layers from |
1830 | ``bblayers.conf``, and ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ | 1830 | ``bblayers.conf``, and :term:`DISTRO_FEATURES` |
1831 | changes. | 1831 | changes. |
1832 | 1832 | ||
1833 | Additionally, work directories for old versions of recipes are now | 1833 | Additionally, work directories for old versions of recipes are now |
@@ -1847,7 +1847,7 @@ modifications synchronized, it is not always obvious to developers how | |||
1847 | to manipulate the Metadata as compared to the source. | 1847 | to manipulate the Metadata as compared to the source. |
1848 | 1848 | ||
1849 | Metadata processing has now been removed from the | 1849 | Metadata processing has now been removed from the |
1850 | ```kernel-yocto`` <#ref-classes-kernel-yocto>`__ class and the external | 1850 | :ref:`kernel-yocto <ref-classes-kernel-yocto>` class and the external |
1851 | Metadata repository ``yocto-kernel-cache``, which has always been used | 1851 | Metadata repository ``yocto-kernel-cache``, which has always been used |
1852 | to seed the ``linux-yocto`` "meta" branch. This separate ``linux-yocto`` | 1852 | to seed the ``linux-yocto`` "meta" branch. This separate ``linux-yocto`` |
1853 | cache repository is now the primary location for this data. Due to this | 1853 | cache repository is now the primary location for this data. Due to this |
@@ -1870,13 +1870,13 @@ The following QA checks have been added: | |||
1870 | 1870 | ||
1871 | - Added an "invalid-chars" check for invalid (non-UTF8) characters in | 1871 | - Added an "invalid-chars" check for invalid (non-UTF8) characters in |
1872 | recipe metadata variable values (i.e. | 1872 | recipe metadata variable values (i.e. |
1873 | ```DESCRIPTION`` <#var-DESCRIPTION>`__, | 1873 | :term:`DESCRIPTION`, |
1874 | ```SUMMARY`` <#var-SUMMARY>`__, ```LICENSE`` <#var-LICENSE>`__, and | 1874 | :term:`SUMMARY`, :term:`LICENSE`, and |
1875 | ```SECTION`` <#var-SECTION>`__). Some package managers do not support | 1875 | :term:`SECTION`). Some package managers do not support |
1876 | these characters. | 1876 | these characters. |
1877 | 1877 | ||
1878 | - Added an "invalid-packageconfig" check for any options specified in | 1878 | - Added an "invalid-packageconfig" check for any options specified in |
1879 | ```PACKAGECONFIG`` <#var-PACKAGECONFIG>`__ that do not match any | 1879 | :term:`PACKAGECONFIG` that do not match any |
1880 | ``PACKAGECONFIG`` option defined for the recipe. | 1880 | ``PACKAGECONFIG`` option defined for the recipe. |
1881 | 1881 | ||
1882 | .. _migration-2.0-miscellaneous: | 1882 | .. _migration-2.0-miscellaneous: |
@@ -1888,7 +1888,7 @@ These additional changes exist: | |||
1888 | 1888 | ||
1889 | - ``gtk-update-icon-cache`` has been renamed to ``gtk-icon-utils``. | 1889 | - ``gtk-update-icon-cache`` has been renamed to ``gtk-icon-utils``. |
1890 | 1890 | ||
1891 | - The ``tools-profile`` ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__ | 1891 | - The ``tools-profile`` :term:`IMAGE_FEATURES` |
1892 | item as well as its corresponding packagegroup and | 1892 | item as well as its corresponding packagegroup and |
1893 | ``packagegroup-core-tools-profile`` no longer bring in ``oprofile``. | 1893 | ``packagegroup-core-tools-profile`` no longer bring in ``oprofile``. |
1894 | Bringing in ``oprofile`` was originally added to aid compilation on | 1894 | Bringing in ``oprofile`` was originally added to aid compilation on |
@@ -1897,7 +1897,7 @@ These additional changes exist: | |||
1897 | powerful target platforms and the existence of better | 1897 | powerful target platforms and the existence of better |
1898 | cross-compilation tools. | 1898 | cross-compilation tools. |
1899 | 1899 | ||
1900 | - The ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ variable's default | 1900 | - The :term:`IMAGE_FSTYPES` variable's default |
1901 | value now specifies ``ext4`` instead of ``ext3``. | 1901 | value now specifies ``ext4`` instead of ``ext3``. |
1902 | 1902 | ||
1903 | - All support for the ``PRINC`` variable has been removed. | 1903 | - All support for the ``PRINC`` variable has been removed. |
@@ -1937,7 +1937,7 @@ The convention for overrides has always been for them to be lower-case | |||
1937 | characters. This practice is now a requirement as BitBake's datastore | 1937 | characters. This practice is now a requirement as BitBake's datastore |
1938 | now assumes lower-case characters in order to give a slight performance | 1938 | now assumes lower-case characters in order to give a slight performance |
1939 | boost during parsing. In practical terms, this requirement means that | 1939 | boost during parsing. In practical terms, this requirement means that |
1940 | anything that ends up in ```OVERRIDES`` <#var-OVERRIDES>`__ must now | 1940 | anything that ends up in :term:`OVERRIDES` must now |
1941 | appear in lower-case characters (e.g. values for ``MACHINE``, | 1941 | appear in lower-case characters (e.g. values for ``MACHINE``, |
1942 | ``TARGET_ARCH``, ``DISTRO``, and also recipe names if | 1942 | ``TARGET_ARCH``, ``DISTRO``, and also recipe names if |
1943 | ``_pn-``\ recipename overrides are to be effective). | 1943 | ``_pn-``\ recipename overrides are to be effective). |
@@ -1970,7 +1970,7 @@ layer to make this change: sed -e 's:\(\.getVar([^,()]*\)):\1, False):g' | |||
1970 | Makefile Environment Changes | 1970 | Makefile Environment Changes |
1971 | ---------------------------- | 1971 | ---------------------------- |
1972 | 1972 | ||
1973 | ```EXTRA_OEMAKE`` <#var-EXTRA_OEMAKE>`__ now defaults to "" instead of | 1973 | :term:`EXTRA_OEMAKE` now defaults to "" instead of |
1974 | "-e MAKEFLAGS=". Setting ``EXTRA_OEMAKE`` to "-e MAKEFLAGS=" by default | 1974 | "-e MAKEFLAGS=". Setting ``EXTRA_OEMAKE`` to "-e MAKEFLAGS=" by default |
1975 | was a historical accident that has required many classes (e.g. | 1975 | was a historical accident that has required many classes (e.g. |
1976 | ``autotools``, ``module``) and recipes to override this default in order | 1976 | ``autotools``, ``module``) and recipes to override this default in order |
@@ -2007,14 +2007,14 @@ breaking FHS. | |||
2007 | ``ac_cv_sizeof_off_t`` is No Longer Cached in Site Files | 2007 | ``ac_cv_sizeof_off_t`` is No Longer Cached in Site Files |
2008 | -------------------------------------------------------- | 2008 | -------------------------------------------------------- |
2009 | 2009 | ||
2010 | For recipes inheriting the ```autotools`` <#ref-classes-autotools>`__ | 2010 | For recipes inheriting the :ref:`autotools <ref-classes-autotools>` |
2011 | class, ``ac_cv_sizeof_off_t`` is no longer cached in the site files for | 2011 | class, ``ac_cv_sizeof_off_t`` is no longer cached in the site files for |
2012 | ``autoconf``. The reason for this change is because the | 2012 | ``autoconf``. The reason for this change is because the |
2013 | ``ac_cv_sizeof_off_t`` value is not necessarily static per architecture | 2013 | ``ac_cv_sizeof_off_t`` value is not necessarily static per architecture |
2014 | as was previously assumed. Rather, the value changes based on whether | 2014 | as was previously assumed. Rather, the value changes based on whether |
2015 | large file support is enabled. For most software that uses ``autoconf``, | 2015 | large file support is enabled. For most software that uses ``autoconf``, |
2016 | this change should not be a problem. However, if you have a recipe that | 2016 | this change should not be a problem. However, if you have a recipe that |
2017 | bypasses the standard ```do_configure`` <#ref-tasks-configure>`__ task | 2017 | bypasses the standard :ref:`ref-tasks-configure` task |
2018 | from the ``autotools`` class and the software the recipe is building | 2018 | from the ``autotools`` class and the software the recipe is building |
2019 | uses a very old version of ``autoconf``, the recipe might be incapable | 2019 | uses a very old version of ``autoconf``, the recipe might be incapable |
2020 | of determining the correct size of ``off_t`` during ``do_configure``. | 2020 | of determining the correct size of ``off_t`` during ``do_configure``. |
@@ -2030,7 +2030,7 @@ implementation does get used. | |||
2030 | Image Generation is Now Split Out from Filesystem Generation | 2030 | Image Generation is Now Split Out from Filesystem Generation |
2031 | ------------------------------------------------------------ | 2031 | ------------------------------------------------------------ |
2032 | 2032 | ||
2033 | Previously, for image recipes the ```do_rootfs`` <#ref-tasks-rootfs>`__ | 2033 | Previously, for image recipes the :ref:`ref-tasks-rootfs` |
2034 | task assembled the filesystem and then from that filesystem generated | 2034 | task assembled the filesystem and then from that filesystem generated |
2035 | images. With this Yocto Project release, image generation is split into | 2035 | images. With this Yocto Project release, image generation is split into |
2036 | separate ```do_image_*`` <#ref-tasks-image>`__ tasks for clarity both in | 2036 | separate ```do_image_*`` <#ref-tasks-image>`__ tasks for clarity both in |
@@ -2047,7 +2047,7 @@ time. | |||
2047 | 2047 | ||
2048 | A minor part of this restructuring is that the post-processing | 2048 | A minor part of this restructuring is that the post-processing |
2049 | definitions and functions have been moved from the | 2049 | definitions and functions have been moved from the |
2050 | ```image`` <#ref-classes-image>`__ class to the | 2050 | :ref:`image <ref-classes-image>` class to the |
2051 | ```rootfs-postcommands`` <#ref-classes-rootfs*>`__ class. Functionally, | 2051 | ```rootfs-postcommands`` <#ref-classes-rootfs*>`__ class. Functionally, |
2052 | however, they remain unchanged. | 2052 | however, they remain unchanged. |
2053 | 2053 | ||
@@ -2099,7 +2099,7 @@ Class Changes | |||
2099 | The following classes have changed: | 2099 | The following classes have changed: |
2100 | 2100 | ||
2101 | - ``autotools_stage``: Removed because the | 2101 | - ``autotools_stage``: Removed because the |
2102 | ```autotools`` <#ref-classes-autotools>`__ class now provides its | 2102 | :ref:`autotools <ref-classes-autotools>` class now provides its |
2103 | functionality. Recipes that inherited from ``autotools_stage`` should | 2103 | functionality. Recipes that inherited from ``autotools_stage`` should |
2104 | now inherit from ``autotools`` instead. | 2104 | now inherit from ``autotools`` instead. |
2105 | 2105 | ||
@@ -2108,7 +2108,7 @@ The following classes have changed: | |||
2108 | this change should not cause any issues. | 2108 | this change should not cause any issues. |
2109 | 2109 | ||
2110 | - ``bootimg``: Merged into the | 2110 | - ``bootimg``: Merged into the |
2111 | ```image-live`` <#ref-classes-image-live>`__ class. The ``bootimg`` | 2111 | :ref:`image-live <ref-classes-image-live>` class. The ``bootimg`` |
2112 | class was rarely directly used. Consequently, this change should not | 2112 | class was rarely directly used. Consequently, this change should not |
2113 | cause any issues. | 2113 | cause any issues. |
2114 | 2114 | ||
@@ -2166,7 +2166,7 @@ The following changes have been made for the Poky distribution: | |||
2166 | not need to change anything unless you are relying on this naming | 2166 | not need to change anything unless you are relying on this naming |
2167 | elsewhere. | 2167 | elsewhere. |
2168 | 2168 | ||
2169 | - The ```uninative`` <#ref-classes-uninative>`__ class is now enabled | 2169 | - The :ref:`uninative <ref-classes-uninative>` class is now enabled |
2170 | by default in Poky. This class attempts to isolate the build system | 2170 | by default in Poky. This class attempts to isolate the build system |
2171 | from the host distribution's C library and makes re-use of native | 2171 | from the host distribution's C library and makes re-use of native |
2172 | shared state artifacts across different host distributions practical. | 2172 | shared state artifacts across different host distributions practical. |
@@ -2278,7 +2278,7 @@ These additional changes exist: | |||
2278 | 2278 | ||
2279 | - Previously, the following list of packages were removed if | 2279 | - Previously, the following list of packages were removed if |
2280 | package-management was not in | 2280 | package-management was not in |
2281 | ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__, regardless of any | 2281 | :term:`IMAGE_FEATURES`, regardless of any |
2282 | dependencies: update-rc.d base-passwd shadow update-alternatives | 2282 | dependencies: update-rc.d base-passwd shadow update-alternatives |
2283 | run-postinsts With the Yocto Project 2.1 release, these packages are | 2283 | run-postinsts With the Yocto Project 2.1 release, these packages are |
2284 | only removed if "read-only-rootfs" is in ``IMAGE_FEATURES``, since | 2284 | only removed if "read-only-rootfs" is in ``IMAGE_FEATURES``, since |
@@ -2362,9 +2362,9 @@ Staging Directories in Sysroot Has Been Simplified | |||
2362 | -------------------------------------------------- | 2362 | -------------------------------------------------- |
2363 | 2363 | ||
2364 | The way directories are staged in sysroot has been simplified and | 2364 | The way directories are staged in sysroot has been simplified and |
2365 | introduces the new ```SYSROOT_DIRS`` <#var-SYSROOT_DIRS>`__, | 2365 | introduces the new :term:`SYSROOT_DIRS`, |
2366 | ```SYSROOT_DIRS_NATIVE`` <#var-SYSROOT_DIRS_NATIVE>`__, and | 2366 | :term:`SYSROOT_DIRS_NATIVE`, and |
2367 | ```SYSROOT_DIRS_BLACKLIST`` <#var-SYSROOT_DIRS_BLACKLIST>`__. See the | 2367 | :term:`SYSROOT_DIRS_BLACKLIST`. See the |
2368 | `v2 patch series on the OE-Core Mailing | 2368 | `v2 patch series on the OE-Core Mailing |
2369 | List <http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121365.html>`__ | 2369 | List <http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121365.html>`__ |
2370 | for additional information. | 2370 | for additional information. |
@@ -2408,7 +2408,7 @@ Metadata Must Now Use Python 3 Syntax | |||
2408 | The metadata is now required to use Python 3 syntax. For help preparing | 2408 | The metadata is now required to use Python 3 syntax. For help preparing |
2409 | metadata, see any of the many Python 3 porting guides available. | 2409 | metadata, see any of the many Python 3 porting guides available. |
2410 | Alternatively, you can reference the conversion commits for Bitbake and | 2410 | Alternatively, you can reference the conversion commits for Bitbake and |
2411 | you can use `OE-Core <#oe-core>`__ as a guide for changes. Following are | 2411 | you can use :term:`OpenEmbedded-Core (OE-Core)` as a guide for changes. Following are |
2412 | particular areas of interest: \* subprocess command-line pipes needing | 2412 | particular areas of interest: \* subprocess command-line pipes needing |
2413 | locale decoding \* the syntax for octal values changed \* the | 2413 | locale decoding \* the syntax for octal values changed \* the |
2414 | ``iter*()`` functions changed name \* iterators now return views, not | 2414 | ``iter*()`` functions changed name \* iterators now return views, not |
@@ -2449,7 +2449,7 @@ compared to uClibc. | |||
2449 | ``${B}`` No Longer Default Working Directory for Tasks | 2449 | ``${B}`` No Longer Default Working Directory for Tasks |
2450 | ------------------------------------------------------ | 2450 | ------------------------------------------------------ |
2451 | 2451 | ||
2452 | ``${``\ ```B`` <#var-B>`__\ ``}`` is no longer the default working | 2452 | ``${``\ :term:`B`\ ``}`` is no longer the default working |
2453 | directory for tasks. Consequently, any custom tasks you define now need | 2453 | directory for tasks. Consequently, any custom tasks you define now need |
2454 | to either have the | 2454 | to either have the |
2455 | ``[``\ ```dirs`` <&YOCTO_DOCS_BB_URL;#variable-flags>`__\ ``]`` flag | 2455 | ``[``\ ```dirs`` <&YOCTO_DOCS_BB_URL;#variable-flags>`__\ ``]`` flag |
@@ -2479,7 +2479,7 @@ enables fine-grained tuning of options passed to QEMU without the | |||
2479 | ``runqemu`` script hard-coding any knowledge about different machines. | 2479 | ``runqemu`` script hard-coding any knowledge about different machines. |
2480 | Using a configuration file is particularly convenient when trying to use | 2480 | Using a configuration file is particularly convenient when trying to use |
2481 | QEMU with machines other than the ``qemu*`` machines in | 2481 | QEMU with machines other than the ``qemu*`` machines in |
2482 | `OE-Core <#oe-core>`__. The ``qemuboot.conf`` file is generated by the | 2482 | :term:`OpenEmbedded-Core (OE-Core)`. The ``qemuboot.conf`` file is generated by the |
2483 | ``qemuboot`` class when the root filesystem is being build (i.e. build | 2483 | ``qemuboot`` class when the root filesystem is being build (i.e. build |
2484 | rootfs). QEMU boot arguments can be set in BSP's configuration file and | 2484 | rootfs). QEMU boot arguments can be set in BSP's configuration file and |
2485 | the ``qemuboot`` class will save them to ``qemuboot.conf``. | 2485 | the ``qemuboot`` class will save them to ``qemuboot.conf``. |
@@ -2527,7 +2527,7 @@ socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device | |||
2527 | virtconsole,chardev=virtcon" runqemu will replace "@PORT@" with the port | 2527 | virtconsole,chardev=virtcon" runqemu will replace "@PORT@" with the port |
2528 | number which is used. | 2528 | number which is used. |
2529 | 2529 | ||
2530 | To use ``runqemu``, set ```IMAGE_CLASSES`` <#var-IMAGE_CLASSES>`__ as | 2530 | To use ``runqemu``, set :term:`IMAGE_CLASSES` as |
2531 | follows and run ``runqemu``: | 2531 | follows and run ``runqemu``: |
2532 | 2532 | ||
2533 | .. note:: | 2533 | .. note:: |
@@ -2545,7 +2545,7 @@ Default Linker Hash Style Changed | |||
2545 | 2545 | ||
2546 | The default linker hash style for ``gcc-cross`` is now "sysv" in order | 2546 | The default linker hash style for ``gcc-cross`` is now "sysv" in order |
2547 | to catch recipes that are building software without using the | 2547 | to catch recipes that are building software without using the |
2548 | OpenEmbedded ```LDFLAGS`` <#var-LDFLAGS>`__. This change could result in | 2548 | OpenEmbedded :term:`LDFLAGS`. This change could result in |
2549 | seeing some "No GNU_HASH in the elf binary" QA issues when building such | 2549 | seeing some "No GNU_HASH in the elf binary" QA issues when building such |
2550 | recipes. You need to fix these recipes so that they use the expected | 2550 | recipes. You need to fix these recipes so that they use the expected |
2551 | ``LDFLAGS``. Depending on how the software is built, the build system | 2551 | ``LDFLAGS``. Depending on how the software is built, the build system |
@@ -2559,7 +2559,7 @@ to the recipe: TARGET_CC_ARCH += "${LDFLAGS}" | |||
2559 | -------------------------------------------------------------- | 2559 | -------------------------------------------------------------- |
2560 | 2560 | ||
2561 | The ``KERNEL_IMAGE_BASE_NAME`` variable no longer uses the | 2561 | The ``KERNEL_IMAGE_BASE_NAME`` variable no longer uses the |
2562 | ```KERNEL_IMAGETYPE`` <#var-KERNEL_IMAGETYPE>`__ variable to create the | 2562 | :term:`KERNEL_IMAGETYPE` variable to create the |
2563 | image's base name. Because the OpenEmbedded build system can now build | 2563 | image's base name. Because the OpenEmbedded build system can now build |
2564 | multiple kernel image types, this part of the kernel image base name as | 2564 | multiple kernel image types, this part of the kernel image base name as |
2565 | been removed leaving only the following: KERNEL_IMAGE_BASE_NAME ?= | 2565 | been removed leaving only the following: KERNEL_IMAGE_BASE_NAME ?= |
@@ -2577,11 +2577,11 @@ The following changes took place for BitBake: | |||
2577 | - The "goggle" UI and standalone image-writer tool have been removed as | 2577 | - The "goggle" UI and standalone image-writer tool have been removed as |
2578 | they both require GTK+ 2.0 and were not being maintained. | 2578 | they both require GTK+ 2.0 and were not being maintained. |
2579 | 2579 | ||
2580 | - The Perforce fetcher now supports ```SRCREV`` <#var-SRCREV>`__ for | 2580 | - The Perforce fetcher now supports :term:`SRCREV` for |
2581 | specifying the source revision to use, be it | 2581 | specifying the source revision to use, be it |
2582 | ``${``\ ```AUTOREV`` <#var-AUTOREV>`__\ ``}``, changelist number, | 2582 | ``${``\ :term:`AUTOREV`\ ``}``, changelist number, |
2583 | p4date, or label, in preference to separate | 2583 | p4date, or label, in preference to separate |
2584 | ```SRC_URI`` <#var-SRC_URI>`__ parameters to specify these. This | 2584 | :term:`SRC_URI` parameters to specify these. This |
2585 | change is more in-line with how the other fetchers work for source | 2585 | change is more in-line with how the other fetchers work for source |
2586 | control systems. Recipes that fetch from Perforce will need to be | 2586 | control systems. Recipes that fetch from Perforce will need to be |
2587 | updated to use ``SRCREV`` in place of specifying the source revision | 2587 | updated to use ``SRCREV`` in place of specifying the source revision |
@@ -2687,8 +2687,8 @@ The following classes have been removed: | |||
2687 | 2687 | ||
2688 | - ``distutils3-native-base``: No longer needed. | 2688 | - ``distutils3-native-base``: No longer needed. |
2689 | 2689 | ||
2690 | - ``sdl``: Only set ```DEPENDS`` <#var-DEPENDS>`__ and | 2690 | - ``sdl``: Only set :term:`DEPENDS` and |
2691 | ```SECTION`` <#var-SECTION>`__, which are better set within the | 2691 | :term:`SECTION`, which are better set within the |
2692 | recipe instead. | 2692 | recipe instead. |
2693 | 2693 | ||
2694 | - ``sip``: Mostly unused. | 2694 | - ``sip``: Mostly unused. |
@@ -2723,9 +2723,9 @@ The following miscellaneous changes have occurred: | |||
2723 | respective recipes. | 2723 | respective recipes. |
2724 | 2724 | ||
2725 | - Both ``devtool add`` and ``recipetool create`` now use a fixed | 2725 | - Both ``devtool add`` and ``recipetool create`` now use a fixed |
2726 | ```SRCREV`` <#var-SRCREV>`__ by default when fetching from a Git | 2726 | :term:`SRCREV` by default when fetching from a Git |
2727 | repository. You can override this in either case to use | 2727 | repository. You can override this in either case to use |
2728 | ``${``\ ```AUTOREV`` <#var-AUTOREV>`__\ ``}`` instead by using the | 2728 | ``${``\ :term:`AUTOREV`\ ``}`` instead by using the |
2729 | ``-a`` or ``DASHDASHautorev`` command-line option | 2729 | ``-a`` or ``DASHDASHautorev`` command-line option |
2730 | 2730 | ||
2731 | - ``distcc``: GTK+ UI is now disabled by default. | 2731 | - ``distcc``: GTK+ UI is now disabled by default. |
@@ -2776,14 +2776,14 @@ Consider the following: | |||
2776 | - *Specify Pre-Installation and Post-Installation Native Tool | 2776 | - *Specify Pre-Installation and Post-Installation Native Tool |
2777 | Dependencies:* You must specifically specify any special native tool | 2777 | Dependencies:* You must specifically specify any special native tool |
2778 | dependencies of ``pkg_preinst`` and ``pkg_postinst`` scripts by using | 2778 | dependencies of ``pkg_preinst`` and ``pkg_postinst`` scripts by using |
2779 | the ```PACKAGE_WRITE_DEPS`` <#var-PACKAGE_WRITE_DEPS>`__ variable. | 2779 | the :term:`PACKAGE_WRITE_DEPS` variable. |
2780 | Specifying these dependencies ensures that these tools are available | 2780 | Specifying these dependencies ensures that these tools are available |
2781 | if these scripts need to be run on the build host during the | 2781 | if these scripts need to be run on the build host during the |
2782 | ```do_rootfs`` <#ref-tasks-rootfs>`__ task. | 2782 | :ref:`ref-tasks-rootfs` task. |
2783 | 2783 | ||
2784 | As an example, see the ``dbus`` recipe. You will see that this recipe | 2784 | As an example, see the ``dbus`` recipe. You will see that this recipe |
2785 | has a ``pkg_postinst`` that calls ``systemctl`` if "systemd" is in | 2785 | has a ``pkg_postinst`` that calls ``systemctl`` if "systemd" is in |
2786 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__. In the example, | 2786 | :term:`DISTRO_FEATURES`. In the example, |
2787 | ``systemd-systemctl-native`` is added to ``PACKAGE_WRITE_DEPS``, | 2787 | ``systemd-systemctl-native`` is added to ``PACKAGE_WRITE_DEPS``, |
2788 | which is also conditional on "systemd" being in ``DISTRO_FEATURES``. | 2788 | which is also conditional on "systemd" being in ``DISTRO_FEATURES``. |
2789 | 2789 | ||
@@ -2797,7 +2797,7 @@ Consider the following: | |||
2797 | functions being called through ``SSTATEPOSTINSTFUNCS`` are doing | 2797 | functions being called through ``SSTATEPOSTINSTFUNCS`` are doing |
2798 | relocation, then you will need to change these to use a | 2798 | relocation, then you will need to change these to use a |
2799 | post-installation script that is installed by a function added to | 2799 | post-installation script that is installed by a function added to |
2800 | ```SYSROOT_PREPROCESS_FUNCS`` <#var-SYSROOT_PREPROCESS_FUNCS>`__. | 2800 | :term:`SYSROOT_PREPROCESS_FUNCS`. |
2801 | 2801 | ||
2802 | For an example, see the ``pixbufcache`` class in ``meta/classes/`` in | 2802 | For an example, see the ``pixbufcache`` class in ``meta/classes/`` in |
2803 | the Yocto Project `Source | 2803 | the Yocto Project `Source |
@@ -2821,7 +2821,7 @@ Consider the following: | |||
2821 | the shared sysroot is now gone, the scripts | 2821 | the shared sysroot is now gone, the scripts |
2822 | ``oe-find-native-sysroot`` and ``oe-run-native`` have been changed | 2822 | ``oe-find-native-sysroot`` and ``oe-run-native`` have been changed |
2823 | such that you need to specify which recipe's | 2823 | such that you need to specify which recipe's |
2824 | ```STAGING_DIR_NATIVE`` <#var-STAGING_DIR_NATIVE>`__ is used. | 2824 | :term:`STAGING_DIR_NATIVE` is used. |
2825 | 2825 | ||
2826 | .. note:: | 2826 | .. note:: |
2827 | 2827 | ||
@@ -2839,8 +2839,8 @@ Within the environment used to run build tasks, the environment variable | |||
2839 | ``PATH`` is now sanitized such that the normal native binary paths | 2839 | ``PATH`` is now sanitized such that the normal native binary paths |
2840 | (``/bin``, ``/sbin``, ``/usr/bin`` and so forth) are removed and a | 2840 | (``/bin``, ``/sbin``, ``/usr/bin`` and so forth) are removed and a |
2841 | directory containing symbolic links linking only to the binaries from | 2841 | directory containing symbolic links linking only to the binaries from |
2842 | the host mentioned in the ```HOSTTOOLS`` <#var-HOSTTOOLS>`__ and | 2842 | the host mentioned in the :term:`HOSTTOOLS` and |
2843 | ```HOSTTOOLS_NONFATAL`` <#var-HOSTTOOLS_NONFATAL>`__ variables is added | 2843 | :term:`HOSTTOOLS_NONFATAL` variables is added |
2844 | to ``PATH``. | 2844 | to ``PATH``. |
2845 | 2845 | ||
2846 | Consequently, any native binaries provided by the host that you need to | 2846 | Consequently, any native binaries provided by the host that you need to |
@@ -2848,7 +2848,7 @@ call needs to be in one of these two variables at the configuration | |||
2848 | level. | 2848 | level. |
2849 | 2849 | ||
2850 | Alternatively, you can add a native recipe (i.e. ``-native``) that | 2850 | Alternatively, you can add a native recipe (i.e. ``-native``) that |
2851 | provides the binary to the recipe's ```DEPENDS`` <#var-DEPENDS>`__ | 2851 | provides the binary to the recipe's :term:`DEPENDS` |
2852 | value. | 2852 | value. |
2853 | 2853 | ||
2854 | .. note:: | 2854 | .. note:: |
@@ -2881,7 +2881,7 @@ The following changes to scripts took place: | |||
2881 | - *``cleanup-workdir``:* The ``cleanup-workdir`` script has been | 2881 | - *``cleanup-workdir``:* The ``cleanup-workdir`` script has been |
2882 | removed because the script was found to be deleting files it should | 2882 | removed because the script was found to be deleting files it should |
2883 | not have, which lead to broken build trees. Rather than trying to | 2883 | not have, which lead to broken build trees. Rather than trying to |
2884 | delete portions of ```TMPDIR`` <#var-TMPDIR>`__ and getting it wrong, | 2884 | delete portions of :term:`TMPDIR` and getting it wrong, |
2885 | it is recommended that you delete ``TMPDIR`` and have it restored | 2885 | it is recommended that you delete ``TMPDIR`` and have it restored |
2886 | from shared state (sstate) on subsequent builds. | 2886 | from shared state (sstate) on subsequent builds. |
2887 | 2887 | ||
@@ -2927,8 +2927,8 @@ The following changes took place for BitBake: | |||
2927 | between recipes, which could be misleading. | 2927 | between recipes, which could be misleading. |
2928 | 2928 | ||
2929 | - *Mirror Variable Splitting Changes:* Mirror variables including | 2929 | - *Mirror Variable Splitting Changes:* Mirror variables including |
2930 | ```MIRRORS`` <#var-MIRRORS>`__, ```PREMIRRORS`` <#var-PREMIRRORS>`__, | 2930 | :term:`MIRRORS`, :term:`PREMIRRORS`, |
2931 | and ```SSTATE_MIRRORS`` <#var-SSTATE_MIRRORS>`__ can now separate | 2931 | and :term:`SSTATE_MIRRORS` can now separate |
2932 | values entirely with spaces. Consequently, you no longer need "\\n". | 2932 | values entirely with spaces. Consequently, you no longer need "\\n". |
2933 | BitBake looks for pairs of values, which simplifies usage. There | 2933 | BitBake looks for pairs of values, which simplifies usage. There |
2934 | should be no change required to existing mirror variable values | 2934 | should be no change required to existing mirror variable values |
@@ -2940,7 +2940,7 @@ The following changes took place for BitBake: | |||
2940 | when the "protocol" parameter is set to "svn+ssh". You can only use | 2940 | when the "protocol" parameter is set to "svn+ssh". You can only use |
2941 | the new parameter to specify the ``ssh`` program used by SVN. The SVN | 2941 | the new parameter to specify the ``ssh`` program used by SVN. The SVN |
2942 | fetcher passes the new parameter through the ``SVN_SSH`` environment | 2942 | fetcher passes the new parameter through the ``SVN_SSH`` environment |
2943 | variable during the ```do_fetch`` <#ref-tasks-fetch>`__ task. | 2943 | variable during the :ref:`ref-tasks-fetch` task. |
2944 | 2944 | ||
2945 | See the "`Subversion (SVN) Fetcher | 2945 | See the "`Subversion (SVN) Fetcher |
2946 | (svn://) <&YOCTO_DOCS_BB_URL;#svn-fetcher>`__" section in the BitBake | 2946 | (svn://) <&YOCTO_DOCS_BB_URL;#svn-fetcher>`__" section in the BitBake |
@@ -2974,8 +2974,8 @@ GPLv2 Versions of GPLv3 Recipes Moved | |||
2974 | Older GPLv2 versions of GPLv3 recipes have moved to a separate | 2974 | Older GPLv2 versions of GPLv3 recipes have moved to a separate |
2975 | ``meta-gplv2`` layer. | 2975 | ``meta-gplv2`` layer. |
2976 | 2976 | ||
2977 | If you use ```INCOMPATIBLE_LICENSE`` <#var-INCOMPATIBLE_LICENSE>`__ to | 2977 | If you use :term:`INCOMPATIBLE_LICENSE` to |
2978 | exclude GPLv3 or set ```PREFERRED_VERSION`` <#var-PREFERRED_VERSION>`__ | 2978 | exclude GPLv3 or set :term:`PREFERRED_VERSION` |
2979 | to substitute a GPLv2 version of a GPLv3 recipe, then you must add the | 2979 | to substitute a GPLv2 version of a GPLv3 recipe, then you must add the |
2980 | ``meta-gplv2`` layer to your configuration. | 2980 | ``meta-gplv2`` layer to your configuration. |
2981 | 2981 | ||
@@ -3052,7 +3052,7 @@ The following package management changes took place: | |||
3052 | This change was made because too many places in DNF/RPM4 stack | 3052 | This change was made because too many places in DNF/RPM4 stack |
3053 | already make that assumption. Only the filenames and the architecture | 3053 | already make that assumption. Only the filenames and the architecture |
3054 | tag has changed. Nothing else has changed in OE-core system, | 3054 | tag has changed. Nothing else has changed in OE-core system, |
3055 | particularly in the ```allarch.bbclass`` <#ref-classes-allarch>`__ | 3055 | particularly in the :ref:`allarch.bbclass <ref-classes-allarch>` |
3056 | class. | 3056 | class. |
3057 | 3057 | ||
3058 | - Signing of remote package feeds using ``PACKAGE_FEED_SIGN`` is not | 3058 | - Signing of remote package feeds using ``PACKAGE_FEED_SIGN`` is not |
@@ -3100,7 +3100,7 @@ The following recipes have been removed: | |||
3100 | - *``tremor:``* Moved to ``meta-multimedia``. Fixed-integer Vorbis | 3100 | - *``tremor:``* Moved to ``meta-multimedia``. Fixed-integer Vorbis |
3101 | decoding is not needed by current hardware. Thus, GStreamer's ivorbis | 3101 | decoding is not needed by current hardware. Thus, GStreamer's ivorbis |
3102 | plugin has been disabled by default eliminating the need for the | 3102 | plugin has been disabled by default eliminating the need for the |
3103 | ``tremor`` recipe in `OE-Core <#oe-core>`__. | 3103 | ``tremor`` recipe in :term:`OpenEmbedded-Core (OE-Core)`. |
3104 | 3104 | ||
3105 | - *``gummiboot:``* Replaced by ``systemd-boot``. | 3105 | - *``gummiboot:``* Replaced by ``systemd-boot``. |
3106 | 3106 | ||
@@ -3151,7 +3151,7 @@ The following QA checks have changed: | |||
3151 | warning, you need to address missing runtime dependencies. | 3151 | warning, you need to address missing runtime dependencies. |
3152 | 3152 | ||
3153 | For additional information, see the | 3153 | For additional information, see the |
3154 | ```insane`` <#ref-classes-insane>`__ class and the "`Errors and | 3154 | :ref:`insane <ref-classes-insane>` class and the "`Errors and |
3155 | Warnings <#qa-errors-and-warnings>`__" section. | 3155 | Warnings <#qa-errors-and-warnings>`__" section. |
3156 | 3156 | ||
3157 | .. _migration-2.3-miscellaneous-changes: | 3157 | .. _migration-2.3-miscellaneous-changes: |
@@ -3162,7 +3162,7 @@ Miscellaneous Changes | |||
3162 | The following miscellaneous changes have occurred: | 3162 | The following miscellaneous changes have occurred: |
3163 | 3163 | ||
3164 | - In this release, a number of recipes have been changed to ignore the | 3164 | - In this release, a number of recipes have been changed to ignore the |
3165 | ``largefile`` ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ item, | 3165 | ``largefile`` :term:`DISTRO_FEATURES` item, |
3166 | enabling large file support unconditionally. This feature has always | 3166 | enabling large file support unconditionally. This feature has always |
3167 | been enabled by default. Disabling the feature has not been widely | 3167 | been enabled by default. Disabling the feature has not been widely |
3168 | tested. | 3168 | tested. |
@@ -3174,8 +3174,8 @@ The following miscellaneous changes have occurred: | |||
3174 | largefile | 3174 | largefile |
3175 | feature, which would make it unconditionally enabled everywhere. | 3175 | feature, which would make it unconditionally enabled everywhere. |
3176 | 3176 | ||
3177 | - If the ```DISTRO_VERSION`` <#var-DISTRO_VERSION>`__ value contains | 3177 | - If the :term:`DISTRO_VERSION` value contains |
3178 | the value of the ```DATE`` <#var-DATE>`__ variable, which is the | 3178 | the value of the :term:`DATE` variable, which is the |
3179 | default between Poky releases, the ``DATE`` value is explicitly | 3179 | default between Poky releases, the ``DATE`` value is explicitly |
3180 | excluded from ``/etc/issue`` and ``/etc/issue.net``, which is | 3180 | excluded from ``/etc/issue`` and ``/etc/issue.net``, which is |
3181 | displayed at the login prompt, in order to avoid conflicts with | 3181 | displayed at the login prompt, in order to avoid conflicts with |
@@ -3186,7 +3186,7 @@ The following miscellaneous changes have occurred: | |||
3186 | If you need the build date recorded in ``/etc/issue*`` or anywhere | 3186 | If you need the build date recorded in ``/etc/issue*`` or anywhere |
3187 | else in your image, a better method is to define a post-processing | 3187 | else in your image, a better method is to define a post-processing |
3188 | function to do it and have the function called from | 3188 | function to do it and have the function called from |
3189 | ```ROOTFS_POSTPROCESS_COMMAND`` <#var-ROOTFS_POSTPROCESS_COMMAND>`__. | 3189 | :term:`ROOTFS_POSTPROCESS_COMMAND`. |
3190 | Doing so ensures the value is always up-to-date with the created | 3190 | Doing so ensures the value is always up-to-date with the created |
3191 | image. | 3191 | image. |
3192 | 3192 | ||
@@ -3195,7 +3195,7 @@ The following miscellaneous changes have occurred: | |||
3195 | RSA keys only, and with recent versions of OpenSSH, which deprecates | 3195 | RSA keys only, and with recent versions of OpenSSH, which deprecates |
3196 | DSA host keys. | 3196 | DSA host keys. |
3197 | 3197 | ||
3198 | - The ```buildhistory`` <#ref-classes-buildhistory>`__ class now | 3198 | - The :ref:`buildhistory <ref-classes-buildhistory>` class now |
3199 | correctly uses tabs as separators between all columns in | 3199 | correctly uses tabs as separators between all columns in |
3200 | ``installed-package-sizes.txt`` in order to aid import into other | 3200 | ``installed-package-sizes.txt`` in order to aid import into other |
3201 | tools. | 3201 | tools. |
@@ -3206,7 +3206,7 @@ The following miscellaneous changes have occurred: | |||
3206 | DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " ldconfig" | 3206 | DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " ldconfig" |
3207 | 3207 | ||
3208 | - The default value of | 3208 | - The default value of |
3209 | ```COPYLEFT_LICENSE_INCLUDE`` <#var-COPYLEFT_LICENSE_INCLUDE>`__ now | 3209 | :term:`COPYLEFT_LICENSE_INCLUDE` now |
3210 | includes all versions of AGPL licenses in addition to GPL and LGPL. | 3210 | includes all versions of AGPL licenses in addition to GPL and LGPL. |
3211 | 3211 | ||
3212 | .. note:: | 3212 | .. note:: |
@@ -3227,14 +3227,14 @@ The following miscellaneous changes have occurred: | |||
3227 | 3227 | ||
3228 | If you need to preserve these ``.la`` files (e.g. in a custom | 3228 | If you need to preserve these ``.la`` files (e.g. in a custom |
3229 | distribution), you must change | 3229 | distribution), you must change |
3230 | ```INHERIT_DISTRO`` <#var-INHERIT_DISTRO>`__ such that | 3230 | :term:`INHERIT_DISTRO` such that |
3231 | "remove-libtool" is not included in the value. | 3231 | "remove-libtool" is not included in the value. |
3232 | 3232 | ||
3233 | - Extensible SDKs built for GCC 5+ now refuse to install on a | 3233 | - Extensible SDKs built for GCC 5+ now refuse to install on a |
3234 | distribution where the host GCC version is 4.8 or 4.9. This change | 3234 | distribution where the host GCC version is 4.8 or 4.9. This change |
3235 | resulted from the fact that the installation is known to fail due to | 3235 | resulted from the fact that the installation is known to fail due to |
3236 | the way the ``uninative`` shared state (sstate) package is built. See | 3236 | the way the ``uninative`` shared state (sstate) package is built. See |
3237 | the ```uninative`` <#ref-classes-uninative>`__ class for additional | 3237 | the :ref:`uninative <ref-classes-uninative>` class for additional |
3238 | information. | 3238 | information. |
3239 | 3239 | ||
3240 | - All native and nativesdk recipes now use a separate | 3240 | - All native and nativesdk recipes now use a separate |
@@ -3242,18 +3242,18 @@ The following miscellaneous changes have occurred: | |||
3242 | recipes for the target, in order to avoid unnecessary rebuilds. | 3242 | recipes for the target, in order to avoid unnecessary rebuilds. |
3243 | 3243 | ||
3244 | The ``DISTRO_FEATURES`` for ``native`` recipes is | 3244 | The ``DISTRO_FEATURES`` for ``native`` recipes is |
3245 | ```DISTRO_FEATURES_NATIVE`` <#var-DISTRO_FEATURES_NATIVE>`__ added to | 3245 | :term:`DISTRO_FEATURES_NATIVE` added to |
3246 | an intersection of ``DISTRO_FEATURES`` and | 3246 | an intersection of ``DISTRO_FEATURES`` and |
3247 | ```DISTRO_FEATURES_FILTER_NATIVE`` <#var-DISTRO_FEATURES_FILTER_NATIVE>`__. | 3247 | :term:`DISTRO_FEATURES_FILTER_NATIVE`. |
3248 | 3248 | ||
3249 | For nativesdk recipes, the corresponding variables are | 3249 | For nativesdk recipes, the corresponding variables are |
3250 | ```DISTRO_FEATURES_NATIVESDK`` <#var-DISTRO_FEATURES_NATIVESDK>`__ | 3250 | :term:`DISTRO_FEATURES_NATIVESDK` |
3251 | and | 3251 | and |
3252 | ```DISTRO_FEATURES_FILTER_NATIVESDK`` <#var-DISTRO_FEATURES_FILTER_NATIVESDK>`__. | 3252 | :term:`DISTRO_FEATURES_FILTER_NATIVESDK`. |
3253 | 3253 | ||
3254 | - The ``FILESDIR`` variable, which was previously deprecated and rarely | 3254 | - The ``FILESDIR`` variable, which was previously deprecated and rarely |
3255 | used, has now been removed. You should change any recipes that set | 3255 | used, has now been removed. You should change any recipes that set |
3256 | ``FILESDIR`` to set ```FILESPATH`` <#var-FILESPATH>`__ instead. | 3256 | ``FILESDIR`` to set :term:`FILESPATH` instead. |
3257 | 3257 | ||
3258 | - The ``MULTIMACH_HOST_SYS`` variable has been removed as it is no | 3258 | - The ``MULTIMACH_HOST_SYS`` variable has been removed as it is no |
3259 | longer needed with recipe-specific sysroots. | 3259 | longer needed with recipe-specific sysroots. |
@@ -3272,7 +3272,7 @@ Memory Resident Mode | |||
3272 | A persistent mode is now available in BitBake's default operation, | 3272 | A persistent mode is now available in BitBake's default operation, |
3273 | replacing its previous "memory resident mode" (i.e. | 3273 | replacing its previous "memory resident mode" (i.e. |
3274 | ``oe-init-build-env-memres``). Now you only need to set | 3274 | ``oe-init-build-env-memres``). Now you only need to set |
3275 | ```BB_SERVER_TIMEOUT`` <#var-BB_SERVER_TIMEOUT>`__ to a timeout (in | 3275 | :term:`BB_SERVER_TIMEOUT` to a timeout (in |
3276 | seconds) and BitBake's server stays resident for that amount of time | 3276 | seconds) and BitBake's server stays resident for that amount of time |
3277 | between invocations. The ``oe-init-build-env-memres`` script has been | 3277 | between invocations. The ``oe-init-build-env-memres`` script has been |
3278 | removed since a separate environment setup script is no longer needed. | 3278 | removed since a separate environment setup script is no longer needed. |
@@ -3306,11 +3306,11 @@ occurred: | |||
3306 | 3306 | ||
3307 | - The ``su`` program is now packaged in a separate "util-linux-su" | 3307 | - The ``su`` program is now packaged in a separate "util-linux-su" |
3308 | package, which is only built when "pam" is listed in the | 3308 | package, which is only built when "pam" is listed in the |
3309 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ variable. | 3309 | :term:`DISTRO_FEATURES` variable. |
3310 | ``util-linux`` should not be installed unless it is needed because | 3310 | ``util-linux`` should not be installed unless it is needed because |
3311 | ``su`` is normally provided through the shadow file format. The | 3311 | ``su`` is normally provided through the shadow file format. The |
3312 | main ``util-linux`` package has runtime dependencies (i.e. | 3312 | main ``util-linux`` package has runtime dependencies (i.e. |
3313 | ```RDEPENDS`` <#var-RDEPENDS>`__) on the ``util-linux-su`` package | 3313 | :term:`RDEPENDS`) on the ``util-linux-su`` package |
3314 | when "pam" is in ``DISTRO_FEATURES``. | 3314 | when "pam" is in ``DISTRO_FEATURES``. |
3315 | 3315 | ||
3316 | - The ``switch_root`` program is now packaged in a separate | 3316 | - The ``switch_root`` program is now packaged in a separate |
@@ -3318,7 +3318,7 @@ occurred: | |||
3318 | do not need the whole ``util-linux`` package or the busybox | 3318 | do not need the whole ``util-linux`` package or the busybox |
3319 | binary, which are both much larger than ``switch_root``. The main | 3319 | binary, which are both much larger than ``switch_root``. The main |
3320 | ``util-linux`` package has a recommended runtime dependency (i.e. | 3320 | ``util-linux`` package has a recommended runtime dependency (i.e. |
3321 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__) on the | 3321 | :term:`RRECOMMENDS`) on the |
3322 | ``util-linux-switch-root`` package. | 3322 | ``util-linux-switch-root`` package. |
3323 | 3323 | ||
3324 | - The ``ionice`` program is now packaged in a separate | 3324 | - The ``ionice`` program is now packaged in a separate |
@@ -3338,7 +3338,7 @@ occurred: | |||
3338 | runtime dependency (i.e. ``RRECOMMENDS``) on the ``shared-mime-info`` | 3338 | runtime dependency (i.e. ``RRECOMMENDS``) on the ``shared-mime-info`` |
3339 | package, since large portions of GIO are not useful without the MIME | 3339 | package, since large portions of GIO are not useful without the MIME |
3340 | database. You can remove the dependency by using the | 3340 | database. You can remove the dependency by using the |
3341 | ```BAD_RECOMMENDATIONS`` <#var-BAD_RECOMMENDATIONS>`__ variable if | 3341 | :term:`BAD_RECOMMENDATIONS` variable if |
3342 | ``shared-mime-info`` is too large and is not required. | 3342 | ``shared-mime-info`` is too large and is not required. |
3343 | 3343 | ||
3344 | - *Go Standard Runtime:* The Go standard runtime has been split out | 3344 | - *Go Standard Runtime:* The Go standard runtime has been split out |
@@ -3456,10 +3456,10 @@ Kernel Device Tree Move | |||
3456 | 3456 | ||
3457 | Kernel Device Tree support is now easier to enable in a kernel recipe. | 3457 | Kernel Device Tree support is now easier to enable in a kernel recipe. |
3458 | The Device Tree code has moved to a | 3458 | The Device Tree code has moved to a |
3459 | ```kernel-devicetree`` <#ref-classes-kernel-devicetree>`__ class. | 3459 | :ref:`kernel-devicetree <ref-classes-kernel-devicetree>` class. |
3460 | Functionality is automatically enabled for any recipe that inherits the | 3460 | Functionality is automatically enabled for any recipe that inherits the |
3461 | ```kernel`` <#ref-classes-kernel>`__ class and sets the | 3461 | :ref:`kernel <ref-classes-kernel>` class and sets the |
3462 | ```KERNEL_DEVICETREE`` <#var-KERNEL_DEVICETREE>`__ variable. The | 3462 | :term:`KERNEL_DEVICETREE` variable. The |
3463 | previous mechanism for doing this, | 3463 | previous mechanism for doing this, |
3464 | ``meta/recipes-kernel/linux/linux-dtb.inc``, is still available to avoid | 3464 | ``meta/recipes-kernel/linux/linux-dtb.inc``, is still available to avoid |
3465 | breakage, but triggers a deprecation warning. Future releases of the | 3465 | breakage, but triggers a deprecation warning. Future releases of the |
@@ -3478,7 +3478,7 @@ The following package QA changes took place: | |||
3478 | - The "unsafe-references-in-scripts" QA check has been removed. | 3478 | - The "unsafe-references-in-scripts" QA check has been removed. |
3479 | 3479 | ||
3480 | - If you refer to ``${COREBASE}/LICENSE`` within | 3480 | - If you refer to ``${COREBASE}/LICENSE`` within |
3481 | ```LIC_FILES_CHKSUM`` <#var-LIC_FILES_CHKSUM>`__ you receive a | 3481 | :term:`LIC_FILES_CHKSUM` you receive a |
3482 | warning because this file is a description of the license for | 3482 | warning because this file is a description of the license for |
3483 | OE-Core. Use ``${COMMON_LICENSE_DIR}/MIT`` if your recipe is | 3483 | OE-Core. Use ``${COMMON_LICENSE_DIR}/MIT`` if your recipe is |
3484 | MIT-licensed and you cannot use the preferred method of referring to | 3484 | MIT-licensed and you cannot use the preferred method of referring to |
@@ -3529,10 +3529,10 @@ The following are additional changes: | |||
3529 | from ``meta-poky`` to OE-Core (i.e. from | 3529 | from ``meta-poky`` to OE-Core (i.e. from |
3530 | ``meta-poky/conf/distro/include`` to ``meta/conf/distro/include``). | 3530 | ``meta-poky/conf/distro/include`` to ``meta/conf/distro/include``). |
3531 | 3531 | ||
3532 | - The ```buildhistory`` <#ref-classes-buildhistory>`__ class now makes | 3532 | - The :ref:`buildhistory <ref-classes-buildhistory>` class now makes |
3533 | a single commit per build rather than one commit per subdirectory in | 3533 | a single commit per build rather than one commit per subdirectory in |
3534 | the repository. This behavior assumes the commits are enabled with | 3534 | the repository. This behavior assumes the commits are enabled with |
3535 | ```BUILDHISTORY_COMMIT`` <#var-BUILDHISTORY_COMMIT>`__ = "1", which | 3535 | :term:`BUILDHISTORY_COMMIT` = "1", which |
3536 | is typical. Previously, the ``buildhistory`` class made one commit | 3536 | is typical. Previously, the ``buildhistory`` class made one commit |
3537 | per subdirectory in the repository in order to make it easier to see | 3537 | per subdirectory in the repository in order to make it easier to see |
3538 | the changes for a particular subdirectory. To view a particular | 3538 | the changes for a particular subdirectory. To view a particular |
@@ -3540,7 +3540,7 @@ The following are additional changes: | |||
3540 | ``git show`` or ``git diff`` commands. | 3540 | ``git show`` or ``git diff`` commands. |
3541 | 3541 | ||
3542 | - The ``x86-base.inc`` file, which is included by all x86-based machine | 3542 | - The ``x86-base.inc`` file, which is included by all x86-based machine |
3543 | configurations, now sets ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ | 3543 | configurations, now sets :term:`IMAGE_FSTYPES` |
3544 | using ``?=`` to "live" rather than appending with ``+=``. This change | 3544 | using ``?=`` to "live" rather than appending with ``+=``. This change |
3545 | makes the default easier to override. | 3545 | makes the default easier to override. |
3546 | 3546 | ||
@@ -3550,7 +3550,7 @@ The following are additional changes: | |||
3550 | Manual. | 3550 | Manual. |
3551 | 3551 | ||
3552 | - By default, the ``security_flags.inc`` file sets a | 3552 | - By default, the ``security_flags.inc`` file sets a |
3553 | ```GCCPIE`` <#var-GCCPIE>`__ variable with an option to enable | 3553 | :term:`GCCPIE` variable with an option to enable |
3554 | Position Independent Executables (PIE) within ``gcc``. Enabling PIE | 3554 | Position Independent Executables (PIE) within ``gcc``. Enabling PIE |
3555 | in the GNU C Compiler (GCC), makes Return Oriented Programming (ROP) | 3555 | in the GNU C Compiler (GCC), makes Return Oriented Programming (ROP) |
3556 | attacks much more difficult to execute. | 3556 | attacks much more difficult to execute. |
@@ -3570,12 +3570,12 @@ The following are additional changes: | |||
3570 | you need to update them. | 3570 | you need to update them. |
3571 | 3571 | ||
3572 | - OpenSSL 1.1 has been introduced. However, the default is still 1.0.x | 3572 | - OpenSSL 1.1 has been introduced. However, the default is still 1.0.x |
3573 | through the ```PREFERRED_VERSION`` <#var-PREFERRED_VERSION>`__ | 3573 | through the :term:`PREFERRED_VERSION` |
3574 | variable. This preference is set is due to the remaining | 3574 | variable. This preference is set is due to the remaining |
3575 | compatibility issues with other software. The | 3575 | compatibility issues with other software. The |
3576 | ```PROVIDES`` <#var-PROVIDES>`__ variable in the openssl 1.0 recipe | 3576 | :term:`PROVIDES` variable in the openssl 1.0 recipe |
3577 | now includes "openssl10" as a marker that can be used in | 3577 | now includes "openssl10" as a marker that can be used in |
3578 | ```DEPENDS`` <#var-DEPENDS>`__ within recipes that build software | 3578 | :term:`DEPENDS` within recipes that build software |
3579 | that still depend on OpenSSL 1.0. | 3579 | that still depend on OpenSSL 1.0. |
3580 | 3580 | ||
3581 | - To ensure consistent behavior, BitBake's "-r" and "-R" options (i.e. | 3581 | - To ensure consistent behavior, BitBake's "-r" and "-R" options (i.e. |
@@ -3747,7 +3747,7 @@ One particular change to note is that the Python recipes no longer have | |||
3747 | build-time provides for their packages. This assumes ``python-foo`` is | 3747 | build-time provides for their packages. This assumes ``python-foo`` is |
3748 | one of the packages provided by the Python recipe. You can no longer run | 3748 | one of the packages provided by the Python recipe. You can no longer run |
3749 | ``bitbake python-foo`` or have a | 3749 | ``bitbake python-foo`` or have a |
3750 | ```DEPENDS`` <&YOCTO_DOCS_REF_URL;#var-DEPENDS>`__ on ``python-foo``, | 3750 | :term:`DEPENDS` on ``python-foo``, |
3751 | but doing either of the following causes the package to work as | 3751 | but doing either of the following causes the package to work as |
3752 | expected: IMAGE_INSTALL_append = " python-foo" or RDEPENDS_${PN} = | 3752 | expected: IMAGE_INSTALL_append = " python-foo" or RDEPENDS_${PN} = |
3753 | "python-foo" The earlier build-time provides behavior was a quirk of the | 3753 | "python-foo" The earlier build-time provides behavior was a quirk of the |
@@ -3787,7 +3787,7 @@ The following are additional changes: | |||
3787 | ``sysklogd`` recipe no longer uses ``update-alternatives`` because it | 3787 | ``sysklogd`` recipe no longer uses ``update-alternatives`` because it |
3788 | is incompatible with other implementations. | 3788 | is incompatible with other implementations. |
3789 | 3789 | ||
3790 | - By default, the ```cmake`` <#ref-classes-cmake>`__ class uses | 3790 | - By default, the :ref:`cmake <ref-classes-cmake>` class uses |
3791 | ``ninja`` instead of ``make`` for building. This improves build | 3791 | ``ninja`` instead of ``make`` for building. This improves build |
3792 | performance. If a recipe is broken with ``ninja``, then the recipe | 3792 | performance. If a recipe is broken with ``ninja``, then the recipe |
3793 | can set ``OECMAKE_GENERATOR = "Unix Makefiles"`` to change back to | 3793 | can set ``OECMAKE_GENERATOR = "Unix Makefiles"`` to change back to |
@@ -3878,7 +3878,7 @@ release, see ` <https://gcc.gnu.org/gcc-8/changes.html>`__. | |||
3878 | 3878 | ||
3879 | If you still need to compile with version 7.x, GCC 7.3 is also provided. | 3879 | If you still need to compile with version 7.x, GCC 7.3 is also provided. |
3880 | You can select this version by setting the and can be selected by | 3880 | You can select this version by setting the and can be selected by |
3881 | setting the ```GCCVERSION`` <#var-GCCVERSION>`__ variable to "7.%" in | 3881 | setting the :term:`GCCVERSION` variable to "7.%" in |
3882 | your configuration. | 3882 | your configuration. |
3883 | 3883 | ||
3884 | .. _migration-2.6-removed-recipes: | 3884 | .. _migration-2.6-removed-recipes: |
@@ -3972,12 +3972,12 @@ For names of recipes removed because of this repository change, see the | |||
3972 | --------------------------------------------------------------------------------------------------- | 3972 | --------------------------------------------------------------------------------------------------- |
3973 | 3973 | ||
3974 | Previously, it was possible for Python recipes that inherited the | 3974 | Previously, it was possible for Python recipes that inherited the |
3975 | ```distutils`` <#ref-classes-distutils>`__ and | 3975 | :ref:`distutils <ref-classes-distutils>` and |
3976 | ```distutils3`` <#ref-classes-distutils3>`__ classes to fetch code | 3976 | ```distutils3`` <#ref-classes-distutils3>`__ classes to fetch code |
3977 | during the ```do_configure`` <#ref-tasks-configure>`__ task to satisfy | 3977 | during the :ref:`ref-tasks-configure` task to satisfy |
3978 | dependencies mentioned in ``setup.py`` if those dependencies were not | 3978 | dependencies mentioned in ``setup.py`` if those dependencies were not |
3979 | provided in the sysroot (i.e. recipes providing the dependencies were | 3979 | provided in the sysroot (i.e. recipes providing the dependencies were |
3980 | missing from ```DEPENDS`` <#var-DEPENDS>`__). | 3980 | missing from :term:`DEPENDS`). |
3981 | 3981 | ||
3982 | .. note:: | 3982 | .. note:: |
3983 | 3983 | ||
@@ -4018,9 +4018,9 @@ Image/Kernel Artifact Naming Changes | |||
4018 | 4018 | ||
4019 | The following changes have been made: | 4019 | The following changes have been made: |
4020 | 4020 | ||
4021 | - Name variables (e.g. ```IMAGE_NAME`` <#var-IMAGE_NAME>`__) use a new | 4021 | - Name variables (e.g. :term:`IMAGE_NAME`) use a new |
4022 | ``IMAGE_VERSION_SUFFIX`` variable instead of | 4022 | ``IMAGE_VERSION_SUFFIX`` variable instead of |
4023 | ```DATETIME`` <#var-DATETIME>`__. Using ``IMAGE_VERSION_SUFFIX`` | 4023 | :term:`DATETIME`. Using ``IMAGE_VERSION_SUFFIX`` |
4024 | allows easier and more direct changes. | 4024 | allows easier and more direct changes. |
4025 | 4025 | ||
4026 | The ``IMAGE_VERSION_SUFFIX`` variable is set in the ``bitbake.conf`` | 4026 | The ``IMAGE_VERSION_SUFFIX`` variable is set in the ``bitbake.conf`` |
@@ -4029,40 +4029,40 @@ The following changes have been made: | |||
4029 | - Several variables have changed names for consistency: Old Variable | 4029 | - Several variables have changed names for consistency: Old Variable |
4030 | Name New Variable Name | 4030 | Name New Variable Name |
4031 | ======================================================== | 4031 | ======================================================== |
4032 | KERNEL_IMAGE_BASE_NAME `KERNEL_IMAGE_NAME <#var-KERNEL_IMAGE_NAME>`__ | 4032 | KERNEL_IMAGE_BASE_NAME :term:`KERNEL_IMAGE_NAME` |
4033 | KERNEL_IMAGE_SYMLINK_NAME | 4033 | KERNEL_IMAGE_SYMLINK_NAME |
4034 | `KERNEL_IMAGE_LINK_NAME <#var-KERNEL_IMAGE_LINK_NAME>`__ | 4034 | :term:`KERNEL_IMAGE_LINK_NAME` |
4035 | MODULE_TARBALL_BASE_NAME | 4035 | MODULE_TARBALL_BASE_NAME |
4036 | `MODULE_TARBALL_NAME <#var-MODULE_TARBALL_NAME>`__ | 4036 | :term:`MODULE_TARBALL_NAME` |
4037 | MODULE_TARBALL_SYMLINK_NAME | 4037 | MODULE_TARBALL_SYMLINK_NAME |
4038 | `MODULE_TARBALL_LINK_NAME <#var-MODULE_TARBALL_LINK_NAME>`__ | 4038 | :term:`MODULE_TARBALL_LINK_NAME` |
4039 | INITRAMFS_BASE_NAME `INITRAMFS_NAME <#var-INITRAMFS_NAME>`__ | 4039 | INITRAMFS_BASE_NAME :term:`INITRAMFS_NAME` |
4040 | 4040 | ||
4041 | - The ``MODULE_IMAGE_BASE_NAME`` variable has been removed. The module | 4041 | - The ``MODULE_IMAGE_BASE_NAME`` variable has been removed. The module |
4042 | tarball name is now controlled directly with the | 4042 | tarball name is now controlled directly with the |
4043 | ```MODULE_TARBALL_NAME`` <#var-MODULE_TARBALL_NAME>`__ variable. | 4043 | :term:`MODULE_TARBALL_NAME` variable. |
4044 | 4044 | ||
4045 | - The ```KERNEL_DTB_NAME`` <#var-KERNEL_DTB_NAME>`__ and | 4045 | - The :term:`KERNEL_DTB_NAME` and |
4046 | ```KERNEL_DTB_LINK_NAME`` <#var-KERNEL_DTB_LINK_NAME>`__ variables | 4046 | :term:`KERNEL_DTB_LINK_NAME` variables |
4047 | have been introduced to control kernel Device Tree Binary (DTB) | 4047 | have been introduced to control kernel Device Tree Binary (DTB) |
4048 | artifact names instead of mangling ``KERNEL_IMAGE_*`` variables. | 4048 | artifact names instead of mangling ``KERNEL_IMAGE_*`` variables. |
4049 | 4049 | ||
4050 | - The ```KERNEL_FIT_NAME`` <#var-KERNEL_FIT_NAME>`__ and | 4050 | - The :term:`KERNEL_FIT_NAME` and |
4051 | ```KERNEL_FIT_LINK_NAME`` <#var-KERNEL_FIT_LINK_NAME>`__ variables | 4051 | :term:`KERNEL_FIT_LINK_NAME` variables |
4052 | have been introduced to specify the name of flattened image tree | 4052 | have been introduced to specify the name of flattened image tree |
4053 | (FIT) kernel images similar to other deployed artifacts. | 4053 | (FIT) kernel images similar to other deployed artifacts. |
4054 | 4054 | ||
4055 | - The ```MODULE_TARBALL_NAME`` <#var-MODULE_TARBALL_NAME>`__ and | 4055 | - The :term:`MODULE_TARBALL_NAME` and |
4056 | ```MODULE_TARBALL_LINK_NAME`` <#var-MODULE_TARBALL_LINK_NAME>`__ | 4056 | :term:`MODULE_TARBALL_LINK_NAME` |
4057 | variable values no longer include the "module-" prefix or ".tgz" | 4057 | variable values no longer include the "module-" prefix or ".tgz" |
4058 | suffix. These parts are now hardcoded so that the values are | 4058 | suffix. These parts are now hardcoded so that the values are |
4059 | consistent with other artifact naming variables. | 4059 | consistent with other artifact naming variables. |
4060 | 4060 | ||
4061 | - Added the ```INITRAMFS_LINK_NAME`` <#var-INITRAMFS_LINK_NAME>`__ | 4061 | - Added the :term:`INITRAMFS_LINK_NAME` |
4062 | variable so that the symlink can be controlled similarly to other | 4062 | variable so that the symlink can be controlled similarly to other |
4063 | artifact types. | 4063 | artifact types. |
4064 | 4064 | ||
4065 | - ```INITRAMFS_NAME`` <#var-INITRAMFS_NAME>`__ now uses | 4065 | - :term:`INITRAMFS_NAME` now uses |
4066 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" instead | 4066 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" instead |
4067 | of "${PV}-${PR}-${MACHINE}-${DATETIME}", which makes it consistent | 4067 | of "${PV}-${PR}-${MACHINE}-${DATETIME}", which makes it consistent |
4068 | with other variables. | 4068 | with other variables. |
@@ -4072,9 +4072,9 @@ The following changes have been made: | |||
4072 | ``SERIAL_CONSOLE`` Deprecated | 4072 | ``SERIAL_CONSOLE`` Deprecated |
4073 | ----------------------------- | 4073 | ----------------------------- |
4074 | 4074 | ||
4075 | The ```SERIAL_CONSOLE`` <#var-SERIAL_CONSOLE>`__ variable has been | 4075 | The :term:`SERIAL_CONSOLE` variable has been |
4076 | functionally replaced by the | 4076 | functionally replaced by the |
4077 | ```SERIAL_CONSOLES`` <#var-SERIAL_CONSOLES>`__ variable for some time. | 4077 | :term:`SERIAL_CONSOLES` variable for some time. |
4078 | With the Yocto Project 2.6 release, ``SERIAL_CONSOLE`` has been | 4078 | With the Yocto Project 2.6 release, ``SERIAL_CONSOLE`` has been |
4079 | officially deprecated. | 4079 | officially deprecated. |
4080 | 4080 | ||
@@ -4122,7 +4122,7 @@ The following changes have occurred: | |||
4122 | - *The ``forcevariable`` Override Now Has a Higher Priority Than | 4122 | - *The ``forcevariable`` Override Now Has a Higher Priority Than |
4123 | ``libc`` Overrides:* The ``forcevariable`` override is documented to | 4123 | ``libc`` Overrides:* The ``forcevariable`` override is documented to |
4124 | be the highest priority override. However, due to a long-standing | 4124 | be the highest priority override. However, due to a long-standing |
4125 | quirk of how ```OVERRIDES`` <#var-OVERRIDES>`__ is set, the ``libc`` | 4125 | quirk of how :term:`OVERRIDES` is set, the ``libc`` |
4126 | overrides (e.g. ``libc-glibc``, ``libc-musl``, and so forth) | 4126 | overrides (e.g. ``libc-glibc``, ``libc-musl``, and so forth) |
4127 | erroneously had a higher priority. This issue is now corrected. | 4127 | erroneously had a higher priority. This issue is now corrected. |
4128 | 4128 | ||
@@ -4177,14 +4177,14 @@ This section provides information about automatic testing changes: | |||
4177 | ``TEST_IMAGE`` variable to "1" to enable automatic testing for | 4177 | ``TEST_IMAGE`` variable to "1" to enable automatic testing for |
4178 | successfully built images. The ``TEST_IMAGE`` variable no longer | 4178 | successfully built images. The ``TEST_IMAGE`` variable no longer |
4179 | exists and has been replaced by the | 4179 | exists and has been replaced by the |
4180 | ```TESTIMAGE_AUTO`` <#var-TESTIMAGE_AUTO>`__ variable. | 4180 | :term:`TESTIMAGE_AUTO` variable. |
4181 | 4181 | ||
4182 | - *Inheriting the ``testimage`` and ``testsdk`` Classes:* Best | 4182 | - *Inheriting the ``testimage`` and ``testsdk`` Classes:* Best |
4183 | practices now dictate that you use the | 4183 | practices now dictate that you use the |
4184 | ```IMAGE_CLASSES`` <#var-IMAGE_CLASSES>`__ variable rather than the | 4184 | :term:`IMAGE_CLASSES` variable rather than the |
4185 | ```INHERIT`` <#var-INHERIT>`__ variable when you inherit the | 4185 | :term:`INHERIT` variable when you inherit the |
4186 | ```testimage`` <#ref-classes-testimage*>`__ and | 4186 | ```testimage`` <#ref-classes-testimage*>`__ and |
4187 | ```testsdk`` <#ref-classes-testsdk>`__ classes used for automatic | 4187 | :ref:`testsdk <ref-classes-testsdk>` classes used for automatic |
4188 | testing. | 4188 | testing. |
4189 | 4189 | ||
4190 | .. _migration-2.6-openssl-changes: | 4190 | .. _migration-2.6-openssl-changes: |
@@ -4207,7 +4207,7 @@ BitBake Changes | |||
4207 | --------------- | 4207 | --------------- |
4208 | 4208 | ||
4209 | The server logfile ``bitbake-cookerdaemon.log`` is now always placed in | 4209 | The server logfile ``bitbake-cookerdaemon.log`` is now always placed in |
4210 | the `Build Directory <#build-directory>`__ instead of the current | 4210 | the :term:`Build Directory` instead of the current |
4211 | directory. | 4211 | directory. |
4212 | 4212 | ||
4213 | .. _migration-2.6-security-changes: | 4213 | .. _migration-2.6-security-changes: |
@@ -4229,7 +4229,7 @@ want to explicitly defer a postinstall to first boot on the target | |||
4229 | rather than at rootfs creation time, use ``pkg_postinst_ontarget()`` or | 4229 | rather than at rootfs creation time, use ``pkg_postinst_ontarget()`` or |
4230 | call ``postinst_intercept delay_to_first_boot`` from ``pkg_postinst()``. | 4230 | call ``postinst_intercept delay_to_first_boot`` from ``pkg_postinst()``. |
4231 | Any failure of a ``pkg_postinst()`` script (including exit 1) triggers | 4231 | Any failure of a ``pkg_postinst()`` script (including exit 1) triggers |
4232 | an error during the ```do_rootfs`` <#ref-tasks-rootfs>`__ task. | 4232 | an error during the :ref:`ref-tasks-rootfs` task. |
4233 | 4233 | ||
4234 | For more information on post-installation behavior, see the | 4234 | For more information on post-installation behavior, see the |
4235 | "`Post-Installation | 4235 | "`Post-Installation |
@@ -4245,14 +4245,14 @@ The ``python3`` recipe now enables profile-guided optimization. Using | |||
4245 | this optimization requires a little extra build time in exchange for | 4245 | this optimization requires a little extra build time in exchange for |
4246 | improved performance on the target at runtime. Additionally, the | 4246 | improved performance on the target at runtime. Additionally, the |
4247 | optimization is only enabled if the current | 4247 | optimization is only enabled if the current |
4248 | ```MACHINE`` <#var-MACHINE>`__ has support for user-mode emulation in | 4248 | :term:`MACHINE` has support for user-mode emulation in |
4249 | QEMU (i.e. "qemu-usermode" is in | 4249 | QEMU (i.e. "qemu-usermode" is in |
4250 | ```MACHINE_FEATURES`` <#var-MACHINE_FEATURES>`__, which it is by | 4250 | :term:`MACHINE_FEATURES`, which it is by |
4251 | default). | 4251 | default). |
4252 | 4252 | ||
4253 | If you wish to disable Python profile-guided optimization regardless of | 4253 | If you wish to disable Python profile-guided optimization regardless of |
4254 | the value of ``MACHINE_FEATURES``, then ensure that | 4254 | the value of ``MACHINE_FEATURES``, then ensure that |
4255 | ```PACKAGECONFIG`` <#var-PACKAGECONFIG>`__ for the ``python3`` recipe | 4255 | :term:`PACKAGECONFIG` for the ``python3`` recipe |
4256 | does not contain "pgo". You could accomplish the latter using the | 4256 | does not contain "pgo". You could accomplish the latter using the |
4257 | following at the configuration level: PACKAGECONFIG_remove_pn-python3 = | 4257 | following at the configuration level: PACKAGECONFIG_remove_pn-python3 = |
4258 | "pgo" Alternatively, you can set ``PACKAGECONFIG`` using an append file | 4258 | "pgo" Alternatively, you can set ``PACKAGECONFIG`` using an append file |
@@ -4276,13 +4276,13 @@ The following miscellaneous changes occurred: | |||
4276 | 4276 | ||
4277 | - The ``NOISO`` and ``NOHDD`` variables are no longer used. You now | 4277 | - The ``NOISO`` and ``NOHDD`` variables are no longer used. You now |
4278 | control building ``*.iso`` and ``*.hddimg`` image types directly by | 4278 | control building ``*.iso`` and ``*.hddimg`` image types directly by |
4279 | using the ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ variable. | 4279 | using the :term:`IMAGE_FSTYPES` variable. |
4280 | 4280 | ||
4281 | - The ``scripts/contrib/mkefidisk.sh`` has been removed in favor of | 4281 | - The ``scripts/contrib/mkefidisk.sh`` has been removed in favor of |
4282 | Wic. | 4282 | Wic. |
4283 | 4283 | ||
4284 | - ``kernel-modules`` has been removed from | 4284 | - ``kernel-modules`` has been removed from |
4285 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__ for ``qemumips`` and | 4285 | :term:`RRECOMMENDS` for ``qemumips`` and |
4286 | ``qemumips64`` machines. Removal also impacts the ``x86-base.inc`` | 4286 | ``qemumips64`` machines. Removal also impacts the ``x86-base.inc`` |
4287 | file. | 4287 | file. |
4288 | 4288 | ||
@@ -4302,7 +4302,7 @@ The following miscellaneous changes occurred: | |||
4302 | the ``WHITELIST_GPL-3.0`` variable instead. | 4302 | the ``WHITELIST_GPL-3.0`` variable instead. |
4303 | 4303 | ||
4304 | - ``${ASNEEDED}`` is now included in the | 4304 | - ``${ASNEEDED}`` is now included in the |
4305 | ```TARGET_LDFLAGS`` <#var-TARGET_LDFLAGS>`__ variable directly. The | 4305 | :term:`TARGET_LDFLAGS` variable directly. The |
4306 | remaining definitions from ``meta/conf/distro/include/as-needed.inc`` | 4306 | remaining definitions from ``meta/conf/distro/include/as-needed.inc`` |
4307 | have been moved to corresponding recipes. | 4307 | have been moved to corresponding recipes. |
4308 | 4308 | ||
@@ -4332,7 +4332,7 @@ The following changes have been made to BitBake: | |||
4332 | indentation. If found, BitBake produces a warning. | 4332 | indentation. If found, BitBake produces a warning. |
4333 | 4333 | ||
4334 | - Bitbake now checks | 4334 | - Bitbake now checks |
4335 | ```BBFILE_COLLECTIONS`` <#var-BBFILE_COLLECTIONS>`__ for duplicate | 4335 | :term:`BBFILE_COLLECTIONS` for duplicate |
4336 | entries and triggers an error if any are found. | 4336 | entries and triggers an error if any are found. |
4337 | 4337 | ||
4338 | .. _migration-2.7-eclipse-support-dropped: | 4338 | .. _migration-2.7-eclipse-support-dropped: |
@@ -4386,7 +4386,7 @@ License Value Corrections | |||
4386 | ------------------------- | 4386 | ------------------------- |
4387 | 4387 | ||
4388 | The following corrections have been made to the | 4388 | The following corrections have been made to the |
4389 | ```LICENSE`` <#var-LICENSE>`__ values set by recipes: *socat*: Corrected | 4389 | :term:`LICENSE` values set by recipes: *socat*: Corrected |
4390 | ``LICENSE`` to be "GPLv2" rather than "GPLv2+". *libgfortran*: Set | 4390 | ``LICENSE`` to be "GPLv2" rather than "GPLv2+". *libgfortran*: Set |
4391 | license to "GPL-3.0-with-GCC-exception". *elfutils*: Removed | 4391 | license to "GPL-3.0-with-GCC-exception". *elfutils*: Removed |
4392 | "Elfutils-Exception" and set to "GPLv2" for shared libraries | 4392 | "Elfutils-Exception" and set to "GPLv2" for shared libraries |
@@ -4404,11 +4404,11 @@ This section provides information about packaging changes. | |||
4404 | - Debug split: The default debug split has been changed to create | 4404 | - Debug split: The default debug split has been changed to create |
4405 | separate source packages (i.e. package_name\ ``-dbg`` and | 4405 | separate source packages (i.e. package_name\ ``-dbg`` and |
4406 | package_name\ ``-src``). If you are currently using ``dbg-pkgs`` in | 4406 | package_name\ ``-src``). If you are currently using ``dbg-pkgs`` in |
4407 | ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__ to bring in debug | 4407 | :term:`IMAGE_FEATURES` to bring in debug |
4408 | symbols and you still need the sources, you must now also add | 4408 | symbols and you still need the sources, you must now also add |
4409 | ``src-pkgs`` to ``IMAGE_FEATURES``. Source packages remain in the | 4409 | ``src-pkgs`` to ``IMAGE_FEATURES``. Source packages remain in the |
4410 | target portion of the SDK by default, unless you have set your own | 4410 | target portion of the SDK by default, unless you have set your own |
4411 | value for ```SDKIMAGE_FEATURES`` <#var-SDKIMAGE_FEATURES>`__ that | 4411 | value for :term:`SDKIMAGE_FEATURES` that |
4412 | does not include ``src-pkgs``. | 4412 | does not include ``src-pkgs``. |
4413 | 4413 | ||
4414 | - Mount all using ``util-linux``: ``/etc/default/mountall`` has moved | 4414 | - Mount all using ``util-linux``: ``/etc/default/mountall`` has moved |
@@ -4417,10 +4417,10 @@ This section provides information about packaging changes. | |||
4417 | - Splitting binaries using ``util-linux``: ``util-linux`` now splits | 4417 | - Splitting binaries using ``util-linux``: ``util-linux`` now splits |
4418 | each binary into its own package for fine-grained control. The main | 4418 | each binary into its own package for fine-grained control. The main |
4419 | ``util-linux`` package pulls in the individual binary packages using | 4419 | ``util-linux`` package pulls in the individual binary packages using |
4420 | the ```RRECOMMENDS`` <#var-RRECOMMENDS>`__ and | 4420 | the :term:`RRECOMMENDS` and |
4421 | ```RDEPENDS`` <#var-RDEPENDS>`__ variables. As a result, existing | 4421 | :term:`RDEPENDS` variables. As a result, existing |
4422 | images should not see any changes assuming | 4422 | images should not see any changes assuming |
4423 | ```NO_RECOMMENDATIONS`` <#var-NO_RECOMMENDATIONS>`__ is not set. | 4423 | :term:`NO_RECOMMENDATIONS` is not set. |
4424 | 4424 | ||
4425 | - ``netbase/base-files``: ``/etc/hosts`` has moved from ``netbase`` to | 4425 | - ``netbase/base-files``: ``/etc/hosts`` has moved from ``netbase`` to |
4426 | ``base-files``. | 4426 | ``base-files``. |
@@ -4480,13 +4480,13 @@ The following miscellaneous changes occurred: | |||
4480 | - ``arm-tunes``: Removed the "-march" option if mcpu is already added. | 4480 | - ``arm-tunes``: Removed the "-march" option if mcpu is already added. |
4481 | 4481 | ||
4482 | - ``update-alternatives``: Convert file renames to | 4482 | - ``update-alternatives``: Convert file renames to |
4483 | ```PACKAGE_PREPROCESS_FUNCS`` <#var-PACKAGE_PREPROCESS_FUNCS>`__ | 4483 | :term:`PACKAGE_PREPROCESS_FUNCS` |
4484 | 4484 | ||
4485 | - ``base/pixbufcache``: Obsolete ``sstatecompletions`` code has been | 4485 | - ``base/pixbufcache``: Obsolete ``sstatecompletions`` code has been |
4486 | removed. | 4486 | removed. |
4487 | 4487 | ||
4488 | - ```native`` <#ref-classes-native>`__ class: | 4488 | - :ref:`native <ref-classes-native>` class: |
4489 | ```RDEPENDS`` <#var-RDEPENDS>`__ handling has been enabled. | 4489 | :term:`RDEPENDS` handling has been enabled. |
4490 | 4490 | ||
4491 | - ``inetutils``: This recipe has rsh disabled. | 4491 | - ``inetutils``: This recipe has rsh disabled. |
4492 | 4492 | ||
@@ -4707,7 +4707,7 @@ Sanity Checks | |||
4707 | 4707 | ||
4708 | The following sanity check changes occurred. | 4708 | The following sanity check changes occurred. |
4709 | 4709 | ||
4710 | - ```SRC_URI`` <#var-SRC_URI>`__ is now checked for usage of two | 4710 | - :term:`SRC_URI` is now checked for usage of two |
4711 | problematic items: | 4711 | problematic items: |
4712 | 4712 | ||
4713 | - "${PN}" prefix/suffix use - Warnings always appear if ${PN} is | 4713 | - "${PN}" prefix/suffix use - Warnings always appear if ${PN} is |
@@ -4722,10 +4722,10 @@ The following sanity check changes occurred. | |||
4722 | 4722 | ||
4723 | Either one of these items now trigger a warning by default. If you | 4723 | Either one of these items now trigger a warning by default. If you |
4724 | wish to disable this check, remove ``src-uri-bad`` from | 4724 | wish to disable this check, remove ``src-uri-bad`` from |
4725 | ```WARN_QA`` <#var-WARN_QA>`__. | 4725 | :term:`WARN_QA`. |
4726 | 4726 | ||
4727 | - The ``file-rdeps`` runtime dependency check no longer expands | 4727 | - The ``file-rdeps`` runtime dependency check no longer expands |
4728 | ```RDEPENDS`` <#var-RDEPENDS>`__ recursively as there is no mechanism | 4728 | :term:`RDEPENDS` recursively as there is no mechanism |
4729 | to ensure they can be fully computed, and thus races sometimes result | 4729 | to ensure they can be fully computed, and thus races sometimes result |
4730 | in errors either showing up or not. Thus, you might now see errors | 4730 | in errors either showing up or not. Thus, you might now see errors |
4731 | for missing runtime dependencies that were previously satisfied | 4731 | for missing runtime dependencies that were previously satisfied |
@@ -4736,7 +4736,7 @@ The following sanity check changes occurred. | |||
4736 | 4736 | ||
4737 | - Setting ``DEPENDS_${PN}`` anywhere (i.e. typically in a recipe) now | 4737 | - Setting ``DEPENDS_${PN}`` anywhere (i.e. typically in a recipe) now |
4738 | triggers an error. The error is triggered because | 4738 | triggers an error. The error is triggered because |
4739 | ```DEPENDS`` <#var-DEPENDS>`__ is not a package-specific variable | 4739 | :term:`DEPENDS` is not a package-specific variable |
4740 | unlike RDEPENDS. You should set ``DEPENDS`` instead. | 4740 | unlike RDEPENDS. You should set ``DEPENDS`` instead. |
4741 | 4741 | ||
4742 | - systemd currently does not work well with the musl C library because | 4742 | - systemd currently does not work well with the musl C library because |
@@ -4757,14 +4757,14 @@ The following miscellaneous changes have occurred. | |||
4757 | 4757 | ||
4758 | - The ``meta/recipes-kernel/linux/linux-dtb.inc`` file has been | 4758 | - The ``meta/recipes-kernel/linux/linux-dtb.inc`` file has been |
4759 | removed. This file was previously deprecated in favor of setting | 4759 | removed. This file was previously deprecated in favor of setting |
4760 | ```KERNEL_DEVICETREE`` <#var-KERNEL_DEVICETREE>`__ in any kernel | 4760 | :term:`KERNEL_DEVICETREE` in any kernel |
4761 | recipe and only produced a warning. Remove any ``include`` or | 4761 | recipe and only produced a warning. Remove any ``include`` or |
4762 | ``require`` statements pointing to this file. | 4762 | ``require`` statements pointing to this file. |
4763 | 4763 | ||
4764 | - ```TARGET_CFLAGS`` <#var-TARGET_CFLAGS>`__, | 4764 | - :term:`TARGET_CFLAGS`, |
4765 | ```TARGET_CPPFLAGS`` <#var-TARGET_CPPFLAGS>`__, | 4765 | :term:`TARGET_CPPFLAGS`, |
4766 | ```TARGET_CXXFLAGS`` <#var-TARGET_CXXFLAGS>`__, and | 4766 | :term:`TARGET_CXXFLAGS`, and |
4767 | ```TARGET_LDFLAGS`` <#var-TARGET_LDFLAGS>`__ are no longer exported | 4767 | :term:`TARGET_LDFLAGS` are no longer exported |
4768 | to the external environment. This change did not require any changes | 4768 | to the external environment. This change did not require any changes |
4769 | to core recipes, which is a good indicator that no changes will be | 4769 | to core recipes, which is a good indicator that no changes will be |
4770 | required. However, if for some reason the software being built by one | 4770 | required. However, if for some reason the software being built by one |
@@ -4774,14 +4774,14 @@ The following miscellaneous changes have occurred. | |||
4774 | exporting is not necessary. | 4774 | exporting is not necessary. |
4775 | 4775 | ||
4776 | - You must change the host distro identifier used in | 4776 | - You must change the host distro identifier used in |
4777 | ```NATIVELSBSTRING`` <#var-NATIVELSBSTRING>`__ to use all lowercase | 4777 | :term:`NATIVELSBSTRING` to use all lowercase |
4778 | characters even if it does not contain a version number. This change | 4778 | characters even if it does not contain a version number. This change |
4779 | is necessary only if you are not using ``uninative`` and | 4779 | is necessary only if you are not using ``uninative`` and |
4780 | ```SANITY_TESTED_DISTROS`` <#var-SANITY_TESTED_DISTROS>`__. | 4780 | :term:`SANITY_TESTED_DISTROS`. |
4781 | 4781 | ||
4782 | - In the ``base-files`` recipe, writing the hostname into | 4782 | - In the ``base-files`` recipe, writing the hostname into |
4783 | ``/etc/hosts`` and ``/etc/hostname`` is now done within the main | 4783 | ``/etc/hosts`` and ``/etc/hostname`` is now done within the main |
4784 | ```do_install`` <#ref-tasks-install>`__ function rather than in the | 4784 | :ref:`ref-tasks-install` function rather than in the |
4785 | ``do_install_basefilesissue`` function. The reason for the change is | 4785 | ``do_install_basefilesissue`` function. The reason for the change is |
4786 | because ``do_install_basefilesissue`` is more easily overridden | 4786 | because ``do_install_basefilesissue`` is more easily overridden |
4787 | without having to duplicate the hostname functionality. If you have | 4787 | without having to duplicate the hostname functionality. If you have |
@@ -4882,7 +4882,7 @@ significant increase in the number of components that will be built just | |||
4882 | when building a simple image such as core-image-minimal. If you do not | 4882 | when building a simple image such as core-image-minimal. If you do not |
4883 | need runtime tests enabled for core components, then it is recommended | 4883 | need runtime tests enabled for core components, then it is recommended |
4884 | that you remove "ptest" from | 4884 | that you remove "ptest" from |
4885 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ to save a significant | 4885 | :term:`DISTRO_FEATURES` to save a significant |
4886 | amount of build time e.g. by adding the following in your configuration: | 4886 | amount of build time e.g. by adding the following in your configuration: |
4887 | DISTRO_FEATURES_remove = "ptest" | 4887 | DISTRO_FEATURES_remove = "ptest" |
4888 | 4888 | ||
@@ -4966,7 +4966,7 @@ SRC_URI checksum behaviour | |||
4966 | -------------------------- | 4966 | -------------------------- |
4967 | 4967 | ||
4968 | Previously, recipes by tradition included both SHA256 and MD5 checksums | 4968 | Previously, recipes by tradition included both SHA256 and MD5 checksums |
4969 | for remotely fetched files in ```SRC_URI`` <#var-SRC_URI>`__, even | 4969 | for remotely fetched files in :term:`SRC_URI`, even |
4970 | though only one is actually mandated. However, the MD5 checksum does not | 4970 | though only one is actually mandated. However, the MD5 checksum does not |
4971 | add much given its inherent weakness; thus when a checksum fails only | 4971 | add much given its inherent weakness; thus when a checksum fails only |
4972 | the SHA256 sum will now be printed. The md5sum will still be verified if | 4972 | the SHA256 sum will now be printed. The md5sum will still be verified if |
@@ -4984,7 +4984,7 @@ fetches the shrinkwrap file and the dependencies. This removes the | |||
4984 | slightly awkward ``NPM_LOCKDOWN`` and ``NPM_SHRINKWRAP`` variables which | 4984 | slightly awkward ``NPM_LOCKDOWN`` and ``NPM_SHRINKWRAP`` variables which |
4985 | pointed to local files; the lockdown file is no longer needed at all. | 4985 | pointed to local files; the lockdown file is no longer needed at all. |
4986 | Additionally, the package name in ``npm://`` entries in | 4986 | Additionally, the package name in ``npm://`` entries in |
4987 | ```SRC_URI`` <#var-SRC_URI>`__ is now specified using a ``package`` | 4987 | :term:`SRC_URI` is now specified using a ``package`` |
4988 | parameter instead of the earlier ``name`` which overlapped with the | 4988 | parameter instead of the earlier ``name`` which overlapped with the |
4989 | generic ``name`` parameter. All recipes using the npm fetcher will need | 4989 | generic ``name`` parameter. All recipes using the npm fetcher will need |
4990 | to be changed as a result. | 4990 | to be changed as a result. |
@@ -5019,9 +5019,9 @@ Packaging changes | |||
5019 | 5019 | ||
5020 | - The ``ldconfig`` binary built as part of glibc has now been moved to | 5020 | - The ``ldconfig`` binary built as part of glibc has now been moved to |
5021 | its own ``ldconfig`` package (note no ``glibc-`` prefix). This | 5021 | its own ``ldconfig`` package (note no ``glibc-`` prefix). This |
5022 | package is in the ```RRECOMMENDS`` <#var-RRECOMMENDS>`__ of the main | 5022 | package is in the :term:`RRECOMMENDS` of the main |
5023 | ``glibc`` package if ``ldconfig`` is present in | 5023 | ``glibc`` package if ``ldconfig`` is present in |
5024 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__. | 5024 | :term:`DISTRO_FEATURES`. |
5025 | 5025 | ||
5026 | - ``libevent`` now splits each shared library into its own package (as | 5026 | - ``libevent`` now splits each shared library into its own package (as |
5027 | Debian does). Since these are shared libraries and will be pulled in | 5027 | Debian does). Since these are shared libraries and will be pulled in |
@@ -5058,7 +5058,7 @@ circumstances: | |||
5058 | 5058 | ||
5059 | ``conf/machine/include/x86-base.inc`` (inherited by most x86 machine | 5059 | ``conf/machine/include/x86-base.inc`` (inherited by most x86 machine |
5060 | configurations) now specifies ``wic`` instead of ``live`` by default in | 5060 | configurations) now specifies ``wic`` instead of ``live`` by default in |
5061 | ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__. The ``live`` image type will | 5061 | :term:`IMAGE_FSTYPES`. The ``live`` image type will |
5062 | likely be removed in a future release so it is recommended that you use | 5062 | likely be removed in a future release so it is recommended that you use |
5063 | ``wic`` instead. | 5063 | ``wic`` instead. |
5064 | 5064 | ||
diff --git a/documentation/ref-manual/ref-classes.rst b/documentation/ref-manual/ref-classes.rst index fdfd110ae7..1685483363 100644 --- a/documentation/ref-manual/ref-classes.rst +++ b/documentation/ref-manual/ref-classes.rst | |||
@@ -11,14 +11,14 @@ inherits a class it is enough to enable its features. There are cases, | |||
11 | however, where in the recipe you might need to set variables or override | 11 | however, where in the recipe you might need to set variables or override |
12 | some default behavior. | 12 | some default behavior. |
13 | 13 | ||
14 | Any `Metadata <#metadata>`__ usually found in a recipe can also be | 14 | Any :term:`Metadata` usually found in a recipe can also be |
15 | placed in a class file. Class files are identified by the extension | 15 | placed in a class file. Class files are identified by the extension |
16 | ``.bbclass`` and are usually placed in a ``classes/`` directory beneath | 16 | ``.bbclass`` and are usually placed in a ``classes/`` directory beneath |
17 | the ``meta*/`` directory found in the `Source | 17 | the ``meta*/`` directory found in the `Source |
18 | Directory <#source-directory>`__. Class files can also be pointed to by | 18 | Directory <#source-directory>`__. Class files can also be pointed to by |
19 | ```BUILDDIR`` <#var-BUILDDIR>`__ (e.g. ``build/``) in the same way as | 19 | :term:`BUILDDIR` (e.g. ``build/``) in the same way as |
20 | ``.conf`` files in the ``conf`` directory. Class files are searched for | 20 | ``.conf`` files in the ``conf`` directory. Class files are searched for |
21 | in ```BBPATH`` <#var-BBPATH>`__ using the same method by which ``.conf`` | 21 | in :term:`BBPATH` using the same method by which ``.conf`` |
22 | files are searched. | 22 | files are searched. |
23 | 23 | ||
24 | This chapter discusses only the most useful and important classes. Other | 24 | This chapter discusses only the most useful and important classes. Other |
@@ -41,8 +41,8 @@ splitting out of debug symbols during packaging). | |||
41 | 41 | ||
42 | Unlike some distro recipes (e.g. Debian), OpenEmbedded recipes that | 42 | Unlike some distro recipes (e.g. Debian), OpenEmbedded recipes that |
43 | produce packages that depend on tunings through use of the | 43 | produce packages that depend on tunings through use of the |
44 | ```RDEPENDS`` <#var-RDEPENDS>`__ and | 44 | :term:`RDEPENDS` and |
45 | ```TUNE_PKGARCH`` <#var-TUNE_PKGARCH>`__ variables, should never be | 45 | :term:`TUNE_PKGARCH` variables, should never be |
46 | configured for all architectures using ``allarch``. This is the case | 46 | configured for all architectures using ``allarch``. This is the case |
47 | even if the recipes do not produce architecture-specific output. | 47 | even if the recipes do not produce architecture-specific output. |
48 | 48 | ||
@@ -52,8 +52,8 @@ splitting out of debug symbols during packaging). | |||
52 | Additionally, unnecessary rebuilds occur every time an image for a | 52 | Additionally, unnecessary rebuilds occur every time an image for a |
53 | different ``MACHINE`` is built even when the recipe never changes. | 53 | different ``MACHINE`` is built even when the recipe never changes. |
54 | 54 | ||
55 | By default, all recipes inherit the ```base`` <#ref-classes-base>`__ and | 55 | By default, all recipes inherit the :ref:`base <ref-classes-base>` and |
56 | ```package`` <#ref-classes-package>`__ classes, which enable | 56 | :ref:`package <ref-classes-package>` classes, which enable |
57 | functionality needed for recipes that produce executable output. If your | 57 | functionality needed for recipes that produce executable output. If your |
58 | recipe, for example, only produces packages that contain configuration | 58 | recipe, for example, only produces packages that contain configuration |
59 | files, media files, or scripts (e.g. Python and Perl), then it should | 59 | files, media files, or scripts (e.g. Python and Perl), then it should |
@@ -71,7 +71,7 @@ For more details on the source archiver, see the "`Maintaining Open | |||
71 | Source License Compliance During Your Product's | 71 | Source License Compliance During Your Product's |
72 | Lifecycle <&YOCTO_DOCS_DEV_URL;#maintaining-open-source-license-compliance-during-your-products-lifecycle>`__" | 72 | Lifecycle <&YOCTO_DOCS_DEV_URL;#maintaining-open-source-license-compliance-during-your-products-lifecycle>`__" |
73 | section in the Yocto Project Development Tasks Manual. You can also see | 73 | section in the Yocto Project Development Tasks Manual. You can also see |
74 | the ```ARCHIVER_MODE`` <#var-ARCHIVER_MODE>`__ variable for information | 74 | the :term:`ARCHIVER_MODE` variable for information |
75 | about the variable flags (varflags) that help control archive creation. | 75 | about the variable flags (varflags) that help control archive creation. |
76 | 76 | ||
77 | .. _ref-classes-autotools: | 77 | .. _ref-classes-autotools: |
@@ -96,8 +96,8 @@ By default, the ``autotools*`` classes use out-of-tree builds (i.e. | |||
96 | If the software being built by a recipe does not support using | 96 | If the software being built by a recipe does not support using |
97 | out-of-tree builds, you should have the recipe inherit the | 97 | out-of-tree builds, you should have the recipe inherit the |
98 | ``autotools-brokensep`` class. The ``autotools-brokensep`` class behaves | 98 | ``autotools-brokensep`` class. The ``autotools-brokensep`` class behaves |
99 | the same as the ``autotools`` class but builds with ```B`` <#var-B>`__ | 99 | the same as the ``autotools`` class but builds with :term:`B` |
100 | == ```S`` <#var-S>`__. This method is useful when out-of-tree build | 100 | == :term:`S`. This method is useful when out-of-tree build |
101 | support is either not present or is broken. | 101 | support is either not present or is broken. |
102 | 102 | ||
103 | .. note:: | 103 | .. note:: |
@@ -108,19 +108,19 @@ support is either not present or is broken. | |||
108 | It's useful to have some idea of how the tasks defined by the | 108 | It's useful to have some idea of how the tasks defined by the |
109 | ``autotools*`` classes work and what they do behind the scenes. | 109 | ``autotools*`` classes work and what they do behind the scenes. |
110 | 110 | ||
111 | - ```do_configure`` <#ref-tasks-configure>`__ - Regenerates the | 111 | - :ref:`ref-tasks-configure` - Regenerates the |
112 | configure script (using ``autoreconf``) and then launches it with a | 112 | configure script (using ``autoreconf``) and then launches it with a |
113 | standard set of arguments used during cross-compilation. You can pass | 113 | standard set of arguments used during cross-compilation. You can pass |
114 | additional parameters to ``configure`` through the ``EXTRA_OECONF`` | 114 | additional parameters to ``configure`` through the ``EXTRA_OECONF`` |
115 | or ```PACKAGECONFIG_CONFARGS`` <#var-PACKAGECONFIG_CONFARGS>`__ | 115 | or :term:`PACKAGECONFIG_CONFARGS` |
116 | variables. | 116 | variables. |
117 | 117 | ||
118 | - ```do_compile`` <#ref-tasks-compile>`__ - Runs ``make`` with | 118 | - :ref:`ref-tasks-compile` - Runs ``make`` with |
119 | arguments that specify the compiler and linker. You can pass | 119 | arguments that specify the compiler and linker. You can pass |
120 | additional arguments through the ``EXTRA_OEMAKE`` variable. | 120 | additional arguments through the ``EXTRA_OEMAKE`` variable. |
121 | 121 | ||
122 | - ```do_install`` <#ref-tasks-install>`__ - Runs ``make install`` and | 122 | - :ref:`ref-tasks-install` - Runs ``make install`` and |
123 | passes in ``${``\ ```D`` <#var-D>`__\ ``}`` as ``DESTDIR``. | 123 | passes in ``${``\ :term:`D`\ ``}`` as ``DESTDIR``. |
124 | 124 | ||
125 | .. _ref-classes-base: | 125 | .. _ref-classes-base: |
126 | 126 | ||
@@ -133,12 +133,12 @@ tasks such as fetching, unpacking, configuring (empty by default), | |||
133 | compiling (runs any ``Makefile`` present), installing (empty by default) | 133 | compiling (runs any ``Makefile`` present), installing (empty by default) |
134 | and packaging (empty by default). These classes are often overridden or | 134 | and packaging (empty by default). These classes are often overridden or |
135 | extended by other classes such as the | 135 | extended by other classes such as the |
136 | ```autotools`` <#ref-classes-autotools>`__ class or the | 136 | :ref:`autotools <ref-classes-autotools>` class or the |
137 | ```package`` <#ref-classes-package>`__ class. | 137 | :ref:`package <ref-classes-package>` class. |
138 | 138 | ||
139 | The class also contains some commonly used functions such as | 139 | The class also contains some commonly used functions such as |
140 | ``oe_runmake``, which runs ``make`` with the arguments specified in | 140 | ``oe_runmake``, which runs ``make`` with the arguments specified in |
141 | ```EXTRA_OEMAKE`` <#var-EXTRA_OEMAKE>`__ variable as well as the | 141 | :term:`EXTRA_OEMAKE` variable as well as the |
142 | arguments passed directly to ``oe_runmake``. | 142 | arguments passed directly to ``oe_runmake``. |
143 | 143 | ||
144 | .. _ref-classes-bash-completion: | 144 | .. _ref-classes-bash-completion: |
@@ -201,7 +201,7 @@ the ``sysroots/`` directory. Inheriting this class results in all paths | |||
201 | in these scripts being changed to point into the ``sysroots/`` directory | 201 | in these scripts being changed to point into the ``sysroots/`` directory |
202 | so that all builds that use the script use the correct directories for | 202 | so that all builds that use the script use the correct directories for |
203 | the cross compiling layout. See the | 203 | the cross compiling layout. See the |
204 | ```BINCONFIG_GLOB`` <#var-BINCONFIG_GLOB>`__ variable for more | 204 | :term:`BINCONFIG_GLOB` variable for more |
205 | information. | 205 | information. |
206 | 206 | ||
207 | .. _ref-classes-binconfig-disabled: | 207 | .. _ref-classes-binconfig-disabled: |
@@ -209,11 +209,11 @@ information. | |||
209 | ``binconfig-disabled.bbclass`` | 209 | ``binconfig-disabled.bbclass`` |
210 | ============================== | 210 | ============================== |
211 | 211 | ||
212 | An alternative version of the ```binconfig`` <#ref-classes-binconfig>`__ | 212 | An alternative version of the :ref:`binconfig <ref-classes-binconfig>` |
213 | class, which disables binary configuration scripts by making them return | 213 | class, which disables binary configuration scripts by making them return |
214 | an error in favor of using ``pkg-config`` to query the information. The | 214 | an error in favor of using ``pkg-config`` to query the information. The |
215 | scripts to be disabled should be specified using the | 215 | scripts to be disabled should be specified using the |
216 | ```BINCONFIG`` <#var-BINCONFIG>`__ variable within the recipe inheriting | 216 | :term:`BINCONFIG` variable within the recipe inheriting |
217 | the class. | 217 | the class. |
218 | 218 | ||
219 | .. _ref-classes-blacklist: | 219 | .. _ref-classes-blacklist: |
@@ -223,8 +223,8 @@ the class. | |||
223 | 223 | ||
224 | The ``blacklist`` class prevents the OpenEmbedded build system from | 224 | The ``blacklist`` class prevents the OpenEmbedded build system from |
225 | building specific recipes (blacklists them). To use this class, inherit | 225 | building specific recipes (blacklists them). To use this class, inherit |
226 | the class globally and set ```PNBLACKLIST`` <#var-PNBLACKLIST>`__ for | 226 | the class globally and set :term:`PNBLACKLIST` for |
227 | each recipe you wish to blacklist. Specify the ```PN`` <#var-PN>`__ | 227 | each recipe you wish to blacklist. Specify the :term:`PN` |
228 | value as a variable flag (varflag) and provide a reason, which is | 228 | value as a variable flag (varflag) and provide a reason, which is |
229 | reported, if the package is requested to be built as the value. For | 229 | reported, if the package is requested to be built as the value. For |
230 | example, if you want to blacklist a recipe called "exoticware", you add | 230 | example, if you want to blacklist a recipe called "exoticware", you add |
@@ -253,14 +253,14 @@ The ``buildstats`` class records performance statistics about each task | |||
253 | executed during the build (e.g. elapsed time, CPU usage, and I/O usage). | 253 | executed during the build (e.g. elapsed time, CPU usage, and I/O usage). |
254 | 254 | ||
255 | When you use this class, the output goes into the | 255 | When you use this class, the output goes into the |
256 | ```BUILDSTATS_BASE`` <#var-BUILDSTATS_BASE>`__ directory, which defaults | 256 | :term:`BUILDSTATS_BASE` directory, which defaults |
257 | to ``${TMPDIR}/buildstats/``. You can analyze the elapsed time using | 257 | to ``${TMPDIR}/buildstats/``. You can analyze the elapsed time using |
258 | ``scripts/pybootchartgui/pybootchartgui.py``, which produces a cascading | 258 | ``scripts/pybootchartgui/pybootchartgui.py``, which produces a cascading |
259 | chart of the entire build process and can be useful for highlighting | 259 | chart of the entire build process and can be useful for highlighting |
260 | bottlenecks. | 260 | bottlenecks. |
261 | 261 | ||
262 | Collecting build statistics is enabled by default through the | 262 | Collecting build statistics is enabled by default through the |
263 | ```USER_CLASSES`` <#var-USER_CLASSES>`__ variable from your | 263 | :term:`USER_CLASSES` variable from your |
264 | ``local.conf`` file. Consequently, you do not have to do anything to | 264 | ``local.conf`` file. Consequently, you do not have to do anything to |
265 | enable the class. However, if you want to disable the class, simply | 265 | enable the class. However, if you want to disable the class, simply |
266 | remove "buildstats" from the ``USER_CLASSES`` list. | 266 | remove "buildstats" from the ``USER_CLASSES`` list. |
@@ -272,7 +272,7 @@ remove "buildstats" from the ``USER_CLASSES`` list. | |||
272 | 272 | ||
273 | When inherited globally, prints statistics at the end of the build on | 273 | When inherited globally, prints statistics at the end of the build on |
274 | sstate re-use. In order to function, this class requires the | 274 | sstate re-use. In order to function, this class requires the |
275 | ```buildstats`` <#ref-classes-buildstats>`__ class be enabled. | 275 | :ref:`buildstats <ref-classes-buildstats>` class be enabled. |
276 | 276 | ||
277 | .. _ref-classes-ccache: | 277 | .. _ref-classes-ccache: |
278 | 278 | ||
@@ -318,7 +318,7 @@ and other common items used by Clutter and related recipes. | |||
318 | 318 | ||
319 | The ``cmake`` class allows for recipes that need to build software using | 319 | The ``cmake`` class allows for recipes that need to build software using |
320 | the `CMake <https://cmake.org/overview/>`__ build system. You can use | 320 | the `CMake <https://cmake.org/overview/>`__ build system. You can use |
321 | the ```EXTRA_OECMAKE`` <#var-EXTRA_OECMAKE>`__ variable to specify | 321 | the :term:`EXTRA_OECMAKE` variable to specify |
322 | additional configuration options to be passed using the ``cmake`` | 322 | additional configuration options to be passed using the ``cmake`` |
323 | command line. | 323 | command line. |
324 | 324 | ||
@@ -326,7 +326,7 @@ On the occasion that you would be installing custom CMake toolchain | |||
326 | files supplied by the application being built, you should install them | 326 | files supplied by the application being built, you should install them |
327 | to the preferred CMake Module directory: ``${D}${datadir}/cmake/`` | 327 | to the preferred CMake Module directory: ``${D}${datadir}/cmake/`` |
328 | Modules during | 328 | Modules during |
329 | ```do_install`` <&YOCTO_DOCS_REF_URL;#ref-tasks-install>`__. | 329 | :ref:`ref-tasks-install`. |
330 | 330 | ||
331 | .. _ref-classes-cml1: | 331 | .. _ref-classes-cml1: |
332 | 332 | ||
@@ -344,7 +344,7 @@ build configuration system. | |||
344 | Enables compression for man pages and info pages. This class is intended | 344 | Enables compression for man pages and info pages. This class is intended |
345 | to be inherited globally. The default compression mechanism is gz (gzip) | 345 | to be inherited globally. The default compression mechanism is gz (gzip) |
346 | but you can select an alternative mechanism by setting the | 346 | but you can select an alternative mechanism by setting the |
347 | ```DOC_COMPRESS`` <#var-DOC_COMPRESS>`__ variable. | 347 | :term:`DOC_COMPRESS` variable. |
348 | 348 | ||
349 | .. _ref-classes-copyleft_compliance: | 349 | .. _ref-classes-copyleft_compliance: |
350 | 350 | ||
@@ -354,15 +354,15 @@ but you can select an alternative mechanism by setting the | |||
354 | The ``copyleft_compliance`` class preserves source code for the purposes | 354 | The ``copyleft_compliance`` class preserves source code for the purposes |
355 | of license compliance. This class is an alternative to the ``archiver`` | 355 | of license compliance. This class is an alternative to the ``archiver`` |
356 | class and is still used by some users even though it has been deprecated | 356 | class and is still used by some users even though it has been deprecated |
357 | in favor of the ```archiver`` <#ref-classes-archiver>`__ class. | 357 | in favor of the :ref:`archiver <ref-classes-archiver>` class. |
358 | 358 | ||
359 | .. _ref-classes-copyleft_filter: | 359 | .. _ref-classes-copyleft_filter: |
360 | 360 | ||
361 | ``copyleft_filter.bbclass`` | 361 | ``copyleft_filter.bbclass`` |
362 | =========================== | 362 | =========================== |
363 | 363 | ||
364 | A class used by the ```archiver`` <#ref-classes-archiver>`__ and | 364 | A class used by the :ref:`archiver <ref-classes-archiver>` and |
365 | ```copyleft_compliance`` <#ref-classes-copyleft_compliance>`__ classes | 365 | :ref:`copyleft_compliance <ref-classes-copyleft_compliance>` classes |
366 | for filtering licenses. The ``copyleft_filter`` class is an internal | 366 | for filtering licenses. The ``copyleft_filter`` class is an internal |
367 | class and is not intended to be used directly. | 367 | class and is not intended to be used directly. |
368 | 368 | ||
@@ -373,7 +373,7 @@ class and is not intended to be used directly. | |||
373 | 373 | ||
374 | The ``core-image`` class provides common definitions for the | 374 | The ``core-image`` class provides common definitions for the |
375 | ``core-image-*`` image recipes, such as support for additional | 375 | ``core-image-*`` image recipes, such as support for additional |
376 | ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__. | 376 | :term:`IMAGE_FEATURES`. |
377 | 377 | ||
378 | .. _ref-classes-cpan: | 378 | .. _ref-classes-cpan: |
379 | 379 | ||
@@ -439,7 +439,7 @@ Debian naming policy (i.e. ``glibc`` becomes ``libc6`` and | |||
439 | name and version as part of the package name. | 439 | name and version as part of the package name. |
440 | 440 | ||
441 | If a recipe creates packages for multiple libraries (shared object files | 441 | If a recipe creates packages for multiple libraries (shared object files |
442 | of ``.so`` type), use the ```LEAD_SONAME`` <#var-LEAD_SONAME>`__ | 442 | of ``.so`` type), use the :term:`LEAD_SONAME` |
443 | variable in the recipe to specify the library on which to apply the | 443 | variable in the recipe to specify the library on which to apply the |
444 | naming scheme. | 444 | naming scheme. |
445 | 445 | ||
@@ -449,14 +449,14 @@ naming scheme. | |||
449 | ================== | 449 | ================== |
450 | 450 | ||
451 | The ``deploy`` class handles deploying files to the | 451 | The ``deploy`` class handles deploying files to the |
452 | ```DEPLOY_DIR_IMAGE`` <#var-DEPLOY_DIR_IMAGE>`__ directory. The main | 452 | :term:`DEPLOY_DIR_IMAGE` directory. The main |
453 | function of this class is to allow the deploy step to be accelerated by | 453 | function of this class is to allow the deploy step to be accelerated by |
454 | shared state. Recipes that inherit this class should define their own | 454 | shared state. Recipes that inherit this class should define their own |
455 | ```do_deploy`` <#ref-tasks-deploy>`__ function to copy the files to be | 455 | :ref:`ref-tasks-deploy` function to copy the files to be |
456 | deployed to ```DEPLOYDIR`` <#var-DEPLOYDIR>`__, and use ``addtask`` to | 456 | deployed to :term:`DEPLOYDIR`, and use ``addtask`` to |
457 | add the task at the appropriate place, which is usually after | 457 | add the task at the appropriate place, which is usually after |
458 | ```do_compile`` <#ref-tasks-compile>`__ or | 458 | :ref:`ref-tasks-compile` or |
459 | ```do_install`` <#ref-tasks-install>`__. The class then takes care of | 459 | :ref:`ref-tasks-install`. The class then takes care of |
460 | staging the files from ``DEPLOYDIR`` to ``DEPLOY_DIR_IMAGE``. | 460 | staging the files from ``DEPLOYDIR`` to ``DEPLOY_DIR_IMAGE``. |
461 | 461 | ||
462 | .. _ref-classes-devshell: | 462 | .. _ref-classes-devshell: |
@@ -476,13 +476,13 @@ information about using ``devshell``. | |||
476 | ======================= | 476 | ======================= |
477 | 477 | ||
478 | The ``devupstream`` class uses | 478 | The ``devupstream`` class uses |
479 | ```BBCLASSEXTEND`` <#var-BBCLASSEXTEND>`__ to add a variant of the | 479 | :term:`BBCLASSEXTEND` to add a variant of the |
480 | recipe that fetches from an alternative URI (e.g. Git) instead of a | 480 | recipe that fetches from an alternative URI (e.g. Git) instead of a |
481 | tarball. Following is an example: BBCLASSEXTEND = "devupstream:target" | 481 | tarball. Following is an example: BBCLASSEXTEND = "devupstream:target" |
482 | SRC_URI_class-devupstream = "git://git.example.com/example" | 482 | SRC_URI_class-devupstream = "git://git.example.com/example" |
483 | SRCREV_class-devupstream = "abcd1234" Adding the above statements to | 483 | SRCREV_class-devupstream = "abcd1234" Adding the above statements to |
484 | your recipe creates a variant that has | 484 | your recipe creates a variant that has |
485 | ```DEFAULT_PREFERENCE`` <#var-DEFAULT_PREFERENCE>`__ set to "-1". | 485 | :term:`DEFAULT_PREFERENCE` set to "-1". |
486 | Consequently, you need to select the variant of the recipe to use it. | 486 | Consequently, you need to select the variant of the recipe to use it. |
487 | Any development-specific adjustments can be done by using the | 487 | Any development-specific adjustments can be done by using the |
488 | ``class-devupstream`` override. Here is an example: | 488 | ``class-devupstream`` override. Here is an example: |
@@ -506,11 +506,11 @@ due to BitBake's automatic fetch dependencies (e.g. | |||
506 | 506 | ||
507 | The ``distro_features_check`` class allows individual recipes to check | 507 | The ``distro_features_check`` class allows individual recipes to check |
508 | for required and conflicting | 508 | for required and conflicting |
509 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__. | 509 | :term:`DISTRO_FEATURES`. |
510 | 510 | ||
511 | This class provides support for the | 511 | This class provides support for the |
512 | ```REQUIRED_DISTRO_FEATURES`` <#var-REQUIRED_DISTRO_FEATURES>`__ and | 512 | :term:`REQUIRED_DISTRO_FEATURES` and |
513 | ```CONFLICT_DISTRO_FEATURES`` <#var-CONFLICT_DISTRO_FEATURES>`__ | 513 | :term:`CONFLICT_DISTRO_FEATURES` |
514 | variables. If any conditions specified in the recipe using the above | 514 | variables. If any conditions specified in the recipe using the above |
515 | variables are not met, the recipe will be skipped. | 515 | variables are not met, the recipe will be skipped. |
516 | 516 | ||
@@ -532,7 +532,7 @@ used. | |||
532 | ``distutils`` class in their recipes. | 532 | ``distutils`` class in their recipes. |
533 | 533 | ||
534 | - Extensions that use build systems based on ``setuptools`` require the | 534 | - Extensions that use build systems based on ``setuptools`` require the |
535 | ```setuptools`` <#ref-classes-setuptools>`__ class in their recipes. | 535 | :ref:`setuptools <ref-classes-setuptools>` class in their recipes. |
536 | 536 | ||
537 | The ``distutils-common-base`` class is required by some of the | 537 | The ``distutils-common-base`` class is required by some of the |
538 | ``distutils*`` classes to provide common Python2 support. | 538 | ``distutils*`` classes to provide common Python2 support. |
@@ -574,22 +574,22 @@ that is external to the OpenEmbedded build system. Building software | |||
574 | from an external source tree means that the build system's normal fetch, | 574 | from an external source tree means that the build system's normal fetch, |
575 | unpack, and patch process is not used. | 575 | unpack, and patch process is not used. |
576 | 576 | ||
577 | By default, the OpenEmbedded build system uses the ```S`` <#var-S>`__ | 577 | By default, the OpenEmbedded build system uses the :term:`S` |
578 | and ```B`` <#var-B>`__ variables to locate unpacked recipe source code | 578 | and :term:`B` variables to locate unpacked recipe source code |
579 | and to build it, respectively. When your recipe inherits the | 579 | and to build it, respectively. When your recipe inherits the |
580 | ``externalsrc`` class, you use the | 580 | ``externalsrc`` class, you use the |
581 | ```EXTERNALSRC`` <#var-EXTERNALSRC>`__ and | 581 | :term:`EXTERNALSRC` and |
582 | ```EXTERNALSRC_BUILD`` <#var-EXTERNALSRC_BUILD>`__ variables to | 582 | :term:`EXTERNALSRC_BUILD` variables to |
583 | ultimately define ``S`` and ``B``. | 583 | ultimately define ``S`` and ``B``. |
584 | 584 | ||
585 | By default, this class expects the source code to support recipe builds | 585 | By default, this class expects the source code to support recipe builds |
586 | that use the ```B`` <#var-B>`__ variable to point to the directory in | 586 | that use the :term:`B` variable to point to the directory in |
587 | which the OpenEmbedded build system places the generated objects built | 587 | which the OpenEmbedded build system places the generated objects built |
588 | from the recipes. By default, the ``B`` directory is set to the | 588 | from the recipes. By default, the ``B`` directory is set to the |
589 | following, which is separate from the source directory (``S``): | 589 | following, which is separate from the source directory (``S``): |
590 | ${WORKDIR}/${BPN}/{PV}/ See these variables for more information: | 590 | ${WORKDIR}/${BPN}/{PV}/ See these variables for more information: |
591 | ```WORKDIR`` <#var-WORKDIR>`__, ```BPN`` <#var-BPN>`__, and | 591 | :term:`WORKDIR`, :term:`BPN`, and |
592 | ```PV`` <#var-PV>`__, | 592 | :term:`PV`, |
593 | 593 | ||
594 | For more information on the ``externalsrc`` class, see the comments in | 594 | For more information on the ``externalsrc`` class, see the comments in |
595 | ``meta/classes/externalsrc.bbclass`` in the `Source | 595 | ``meta/classes/externalsrc.bbclass`` in the `Source |
@@ -607,7 +607,7 @@ The ``extrausers`` class allows additional user and group configuration | |||
607 | to be applied at the image level. Inheriting this class either globally | 607 | to be applied at the image level. Inheriting this class either globally |
608 | or from an image recipe allows additional user and group operations to | 608 | or from an image recipe allows additional user and group operations to |
609 | be performed using the | 609 | be performed using the |
610 | ```EXTRA_USERS_PARAMS`` <#var-EXTRA_USERS_PARAMS>`__ variable. | 610 | :term:`EXTRA_USERS_PARAMS` variable. |
611 | 611 | ||
612 | .. note:: | 612 | .. note:: |
613 | 613 | ||
@@ -642,7 +642,7 @@ architecture-specific, ``fc-cache`` runs using QEMU if the postinst | |||
642 | scriptlets need to be run on the build host during image creation. | 642 | scriptlets need to be run on the build host during image creation. |
643 | 643 | ||
644 | If the fonts being installed are in packages other than the main | 644 | If the fonts being installed are in packages other than the main |
645 | package, set ```FONT_PACKAGES`` <#var-FONT_PACKAGES>`__ to specify the | 645 | package, set :term:`FONT_PACKAGES` to specify the |
646 | packages containing the fonts. | 646 | packages containing the fonts. |
647 | 647 | ||
648 | .. _ref-classes-fs-uuid: | 648 | .. _ref-classes-fs-uuid: |
@@ -651,7 +651,7 @@ packages containing the fonts. | |||
651 | =================== | 651 | =================== |
652 | 652 | ||
653 | The ``fs-uuid`` class extracts UUID from | 653 | The ``fs-uuid`` class extracts UUID from |
654 | ``${``\ ```ROOTFS`` <#var-ROOTFS>`__\ ``}``, which must have been built | 654 | ``${``\ :term:`ROOTFS`\ ``}``, which must have been built |
655 | by the time that this function gets called. The ``fs-uuid`` class only | 655 | by the time that this function gets called. The ``fs-uuid`` class only |
656 | works on ``ext`` file systems and depends on ``tune2fs``. | 656 | works on ``ext`` file systems and depends on ``tune2fs``. |
657 | 657 | ||
@@ -662,7 +662,7 @@ works on ``ext`` file systems and depends on ``tune2fs``. | |||
662 | 662 | ||
663 | The ``gconf`` class provides common functionality for recipes that need | 663 | The ``gconf`` class provides common functionality for recipes that need |
664 | to install GConf schemas. The schemas will be put into a separate | 664 | to install GConf schemas. The schemas will be put into a separate |
665 | package (``${``\ ```PN`` <#var-PN>`__\ ``}-gconf``) that is created | 665 | package (``${``\ :term:`PN`\ ``}-gconf``) that is created |
666 | automatically when this class is inherited. This package uses the | 666 | automatically when this class is inherited. This package uses the |
667 | appropriate post-install and post-remove (postinst/postrm) scriptlets to | 667 | appropriate post-install and post-remove (postinst/postrm) scriptlets to |
668 | register and unregister the schemas in the target image. | 668 | register and unregister the schemas in the target image. |
@@ -684,8 +684,8 @@ class. | |||
684 | 684 | ||
685 | The ``gnomebase`` class is the base class for recipes that build | 685 | The ``gnomebase`` class is the base class for recipes that build |
686 | software from the GNOME stack. This class sets | 686 | software from the GNOME stack. This class sets |
687 | ```SRC_URI`` <#var-SRC_URI>`__ to download the source from the GNOME | 687 | :term:`SRC_URI` to download the source from the GNOME |
688 | mirrors as well as extending ```FILES`` <#var-FILES>`__ with the typical | 688 | mirrors as well as extending :term:`FILES` with the typical |
689 | GNOME installation paths. | 689 | GNOME installation paths. |
690 | 690 | ||
691 | .. _ref-classes-gobject-introspection: | 691 | .. _ref-classes-gobject-introspection: |
@@ -696,9 +696,9 @@ GNOME installation paths. | |||
696 | Provides support for recipes building software that supports GObject | 696 | Provides support for recipes building software that supports GObject |
697 | introspection. This functionality is only enabled if the | 697 | introspection. This functionality is only enabled if the |
698 | "gobject-introspection-data" feature is in | 698 | "gobject-introspection-data" feature is in |
699 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ as well as | 699 | :term:`DISTRO_FEATURES` as well as |
700 | "qemu-usermode" being in | 700 | "qemu-usermode" being in |
701 | ```MACHINE_FEATURES`` <#var-MACHINE_FEATURES>`__. | 701 | :term:`MACHINE_FEATURES`. |
702 | 702 | ||
703 | .. note:: | 703 | .. note:: |
704 | 704 | ||
@@ -719,26 +719,26 @@ building bootable images. | |||
719 | 719 | ||
720 | This class supports several variables: | 720 | This class supports several variables: |
721 | 721 | ||
722 | - ```INITRD`` <#var-INITRD>`__: Indicates list of filesystem images to | 722 | - :term:`INITRD`: Indicates list of filesystem images to |
723 | concatenate and use as an initial RAM disk (initrd) (optional). | 723 | concatenate and use as an initial RAM disk (initrd) (optional). |
724 | 724 | ||
725 | - ```ROOTFS`` <#var-ROOTFS>`__: Indicates a filesystem image to include | 725 | - :term:`ROOTFS`: Indicates a filesystem image to include |
726 | as the root filesystem (optional). | 726 | as the root filesystem (optional). |
727 | 727 | ||
728 | - ```GRUB_GFXSERIAL`` <#var-GRUB_GFXSERIAL>`__: Set this to "1" to have | 728 | - :term:`GRUB_GFXSERIAL`: Set this to "1" to have |
729 | graphics and serial in the boot menu. | 729 | graphics and serial in the boot menu. |
730 | 730 | ||
731 | - ```LABELS`` <#var-LABELS>`__: A list of targets for the automatic | 731 | - :term:`LABELS`: A list of targets for the automatic |
732 | configuration. | 732 | configuration. |
733 | 733 | ||
734 | - ```APPEND`` <#var-APPEND>`__: An override list of append strings for | 734 | - :term:`APPEND`: An override list of append strings for |
735 | each ``LABEL``. | 735 | each ``LABEL``. |
736 | 736 | ||
737 | - ```GRUB_OPTS`` <#var-GRUB_OPTS>`__: Additional options to add to the | 737 | - :term:`GRUB_OPTS`: Additional options to add to the |
738 | configuration (optional). Options are delimited using semi-colon | 738 | configuration (optional). Options are delimited using semi-colon |
739 | characters (``;``). | 739 | characters (``;``). |
740 | 740 | ||
741 | - ```GRUB_TIMEOUT`` <#var-GRUB_TIMEOUT>`__: Timeout before executing | 741 | - :term:`GRUB_TIMEOUT`: Timeout before executing |
742 | the default ``LABEL`` (optional). | 742 | the default ``LABEL`` (optional). |
743 | 743 | ||
744 | .. _ref-classes-gsettings: | 744 | .. _ref-classes-gsettings: |
@@ -788,7 +788,7 @@ need to be run on the build host during image creation. | |||
788 | 788 | ||
789 | If the input method modules being installed are in packages other than | 789 | If the input method modules being installed are in packages other than |
790 | the main package, set | 790 | the main package, set |
791 | ```GTKIMMODULES_PACKAGES`` <#var-GTKIMMODULES_PACKAGES>`__ to specify | 791 | :term:`GTKIMMODULES_PACKAGES` to specify |
792 | the packages containing the modules. | 792 | the packages containing the modules. |
793 | 793 | ||
794 | .. _ref-classes-gzipnative: | 794 | .. _ref-classes-gzipnative: |
@@ -826,9 +826,9 @@ The class handles all three different compile stages (i.e native | |||
826 | ``tar.gz`` file to be used by the remote machines. The class also | 826 | ``tar.gz`` file to be used by the remote machines. The class also |
827 | supports SDK generation. | 827 | supports SDK generation. |
828 | 828 | ||
829 | If ```ICECC_PATH`` <#var-ICECC_PATH>`__ is not set in your | 829 | If :term:`ICECC_PATH` is not set in your |
830 | ``local.conf`` file, then the class tries to locate the ``icecc`` binary | 830 | ``local.conf`` file, then the class tries to locate the ``icecc`` binary |
831 | using ``which``. If ```ICECC_ENV_EXEC`` <#var-ICECC_ENV_EXEC>`__ is set | 831 | using ``which``. If :term:`ICECC_ENV_EXEC` is set |
832 | in your ``local.conf`` file, the variable should point to the | 832 | in your ``local.conf`` file, the variable should point to the |
833 | ``icecc-create-env`` script provided by the user. If you do not point to | 833 | ``icecc-create-env`` script provided by the user. If you do not point to |
834 | a user-provided script, the build system uses the default script | 834 | a user-provided script, the build system uses the default script |
@@ -843,15 +843,15 @@ provided by the recipe ``icecc-create-env-native.bb``. | |||
843 | If you do not want the Icecream distributed compile support to apply to | 843 | If you do not want the Icecream distributed compile support to apply to |
844 | specific recipes or classes, you can effectively "blacklist" them by | 844 | specific recipes or classes, you can effectively "blacklist" them by |
845 | listing the recipes and classes using the | 845 | listing the recipes and classes using the |
846 | ```ICECC_USER_PACKAGE_BL`` <#var-ICECC_USER_PACKAGE_BL>`__ and | 846 | :term:`ICECC_USER_PACKAGE_BL` and |
847 | ```ICECC_USER_CLASS_BL`` <#var-ICECC_USER_CLASS_BL>`__, variables, | 847 | :term:`ICECC_USER_CLASS_BL`, variables, |
848 | respectively, in your ``local.conf`` file. Doing so causes the | 848 | respectively, in your ``local.conf`` file. Doing so causes the |
849 | OpenEmbedded build system to handle these compilations locally. | 849 | OpenEmbedded build system to handle these compilations locally. |
850 | 850 | ||
851 | Additionally, you can list recipes using the | 851 | Additionally, you can list recipes using the |
852 | ```ICECC_USER_PACKAGE_WL`` <#var-ICECC_USER_PACKAGE_WL>`__ variable in | 852 | :term:`ICECC_USER_PACKAGE_WL` variable in |
853 | your ``local.conf`` file to force ``icecc`` to be enabled for recipes | 853 | your ``local.conf`` file to force ``icecc`` to be enabled for recipes |
854 | using an empty ```PARALLEL_MAKE`` <#var-PARALLEL_MAKE>`__ variable. | 854 | using an empty :term:`PARALLEL_MAKE` variable. |
855 | 855 | ||
856 | Inheriting the ``icecc`` class changes all sstate signatures. | 856 | Inheriting the ``icecc`` class changes all sstate signatures. |
857 | Consequently, if a development team has a dedicated build system that | 857 | Consequently, if a development team has a dedicated build system that |
@@ -862,7 +862,7 @@ system need to either inherit the ``icecc`` class or nobody should. | |||
862 | At the distribution level, you can inherit the ``icecc`` class to be | 862 | At the distribution level, you can inherit the ``icecc`` class to be |
863 | sure that all builders start with the same sstate signatures. After | 863 | sure that all builders start with the same sstate signatures. After |
864 | inheriting the class, you can then disable the feature by setting the | 864 | inheriting the class, you can then disable the feature by setting the |
865 | ```ICECC_DISABLED`` <#var-ICECC_DISABLED>`__ variable to "1" as follows: | 865 | :term:`ICECC_DISABLED` variable to "1" as follows: |
866 | INHERIT_DISTRO_append = " icecc" ICECC_DISABLED ??= "1" This practice | 866 | INHERIT_DISTRO_append = " icecc" ICECC_DISABLED ??= "1" This practice |
867 | makes sure everyone is using the same signatures but also requires | 867 | makes sure everyone is using the same signatures but also requires |
868 | individuals that do want to use Icecream to enable the feature | 868 | individuals that do want to use Icecream to enable the feature |
@@ -906,11 +906,11 @@ filesystem on ``/etc/build``. | |||
906 | 906 | ||
907 | The ``image_types`` class defines all of the standard image output types | 907 | The ``image_types`` class defines all of the standard image output types |
908 | that you can enable through the | 908 | that you can enable through the |
909 | ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ variable. You can use this | 909 | :term:`IMAGE_FSTYPES` variable. You can use this |
910 | class as a reference on how to add support for custom image output | 910 | class as a reference on how to add support for custom image output |
911 | types. | 911 | types. |
912 | 912 | ||
913 | By default, the ```image`` <#ref-classes-image>`__ class automatically | 913 | By default, the :ref:`image <ref-classes-image>` class automatically |
914 | enables the ``image_types`` class. The ``image`` class uses the | 914 | enables the ``image_types`` class. The ``image`` class uses the |
915 | ``IMGCLASSES`` variable as follows: IMGCLASSES = | 915 | ``IMGCLASSES`` variable as follows: IMGCLASSES = |
916 | "rootfs_${IMAGE_PKGTYPE} image_types ${IMAGE_CLASSES}" IMGCLASSES += | 916 | "rootfs_${IMAGE_PKGTYPE} image_types ${IMAGE_CLASSES}" IMGCLASSES += |
@@ -940,11 +940,11 @@ images. | |||
940 | 940 | ||
941 | This class controls building "live" (i.e. HDDIMG and ISO) images. Live | 941 | This class controls building "live" (i.e. HDDIMG and ISO) images. Live |
942 | images contain syslinux for legacy booting, as well as the bootloader | 942 | images contain syslinux for legacy booting, as well as the bootloader |
943 | specified by ```EFI_PROVIDER`` <#var-EFI_PROVIDER>`__ if | 943 | specified by :term:`EFI_PROVIDER` if |
944 | ```MACHINE_FEATURES`` <#var-MACHINE_FEATURES>`__ contains "efi". | 944 | :term:`MACHINE_FEATURES` contains "efi". |
945 | 945 | ||
946 | Normally, you do not use this class directly. Instead, you add "live" to | 946 | Normally, you do not use this class directly. Instead, you add "live" to |
947 | ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__. | 947 | :term:`IMAGE_FSTYPES`. |
948 | 948 | ||
949 | .. _ref-classes-image-mklibs: | 949 | .. _ref-classes-image-mklibs: |
950 | 950 | ||
@@ -952,11 +952,11 @@ Normally, you do not use this class directly. Instead, you add "live" to | |||
952 | ======================== | 952 | ======================== |
953 | 953 | ||
954 | The ``image-mklibs`` class enables the use of the ``mklibs`` utility | 954 | The ``image-mklibs`` class enables the use of the ``mklibs`` utility |
955 | during the ```do_rootfs`` <#ref-tasks-rootfs>`__ task, which optimizes | 955 | during the :ref:`ref-tasks-rootfs` task, which optimizes |
956 | the size of libraries contained in the image. | 956 | the size of libraries contained in the image. |
957 | 957 | ||
958 | By default, the class is enabled in the ``local.conf.template`` using | 958 | By default, the class is enabled in the ``local.conf.template`` using |
959 | the ```USER_CLASSES`` <#var-USER_CLASSES>`__ variable as follows: | 959 | the :term:`USER_CLASSES` variable as follows: |
960 | USER_CLASSES ?= "buildstats image-mklibs image-prelink" | 960 | USER_CLASSES ?= "buildstats image-mklibs image-prelink" |
961 | 961 | ||
962 | .. _ref-classes-image-prelink: | 962 | .. _ref-classes-image-prelink: |
@@ -965,12 +965,12 @@ USER_CLASSES ?= "buildstats image-mklibs image-prelink" | |||
965 | ========================= | 965 | ========================= |
966 | 966 | ||
967 | The ``image-prelink`` class enables the use of the ``prelink`` utility | 967 | The ``image-prelink`` class enables the use of the ``prelink`` utility |
968 | during the ```do_rootfs`` <#ref-tasks-rootfs>`__ task, which optimizes | 968 | during the :ref:`ref-tasks-rootfs` task, which optimizes |
969 | the dynamic linking of shared libraries to reduce executable startup | 969 | the dynamic linking of shared libraries to reduce executable startup |
970 | time. | 970 | time. |
971 | 971 | ||
972 | By default, the class is enabled in the ``local.conf.template`` using | 972 | By default, the class is enabled in the ``local.conf.template`` using |
973 | the ```USER_CLASSES`` <#var-USER_CLASSES>`__ variable as follows: | 973 | the :term:`USER_CLASSES` variable as follows: |
974 | USER_CLASSES ?= "buildstats image-mklibs image-prelink" | 974 | USER_CLASSES ?= "buildstats image-mklibs image-prelink" |
975 | 975 | ||
976 | .. _ref-classes-insane: | 976 | .. _ref-classes-insane: |
@@ -992,11 +992,11 @@ condition. See the "`QA Error and Warning Messages <#ref-qa-checks>`__" | |||
992 | Chapter for a list of all the warning and error messages you might | 992 | Chapter for a list of all the warning and error messages you might |
993 | encounter using a default configuration. | 993 | encounter using a default configuration. |
994 | 994 | ||
995 | Use the ```WARN_QA`` <#var-WARN_QA>`__ and | 995 | Use the :term:`WARN_QA` and |
996 | ```ERROR_QA`` <#var-ERROR_QA>`__ variables to control the behavior of | 996 | :term:`ERROR_QA` variables to control the behavior of |
997 | these checks at the global level (i.e. in your custom distro | 997 | these checks at the global level (i.e. in your custom distro |
998 | configuration). However, to skip one or more checks in recipes, you | 998 | configuration). However, to skip one or more checks in recipes, you |
999 | should use ```INSANE_SKIP`` <#var-INSANE_SKIP>`__. For example, to skip | 999 | should use :term:`INSANE_SKIP`. For example, to skip |
1000 | the check for symbolic link ``.so`` files in the main package of a | 1000 | the check for symbolic link ``.so`` files in the main package of a |
1001 | recipe, add the following to the recipe. You need to realize that the | 1001 | recipe, add the following to the recipe. You need to realize that the |
1002 | package name override, in this example ``${PN}``, must be used: | 1002 | package name override, in this example ``${PN}``, must be used: |
@@ -1026,17 +1026,17 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1026 | positives and thus is not normally enabled. | 1026 | positives and thus is not normally enabled. |
1027 | 1027 | ||
1028 | - *``build-deps:``* Determines if a build-time dependency that is | 1028 | - *``build-deps:``* Determines if a build-time dependency that is |
1029 | specified through ```DEPENDS`` <#var-DEPENDS>`__, explicit | 1029 | specified through :term:`DEPENDS`, explicit |
1030 | ```RDEPENDS`` <#var-RDEPENDS>`__, or task-level dependencies exists | 1030 | :term:`RDEPENDS`, or task-level dependencies exists |
1031 | to match any runtime dependency. This determination is particularly | 1031 | to match any runtime dependency. This determination is particularly |
1032 | useful to discover where runtime dependencies are detected and added | 1032 | useful to discover where runtime dependencies are detected and added |
1033 | during packaging. If no explicit dependency has been specified within | 1033 | during packaging. If no explicit dependency has been specified within |
1034 | the metadata, at the packaging stage it is too late to ensure that | 1034 | the metadata, at the packaging stage it is too late to ensure that |
1035 | the dependency is built, and thus you can end up with an error when | 1035 | the dependency is built, and thus you can end up with an error when |
1036 | the package is installed into the image during the | 1036 | the package is installed into the image during the |
1037 | ```do_rootfs`` <#ref-tasks-rootfs>`__ task because the auto-detected | 1037 | :ref:`ref-tasks-rootfs` task because the auto-detected |
1038 | dependency was not satisfied. An example of this would be where the | 1038 | dependency was not satisfied. An example of this would be where the |
1039 | ```update-rc.d`` <#ref-classes-update-rc.d>`__ class automatically | 1039 | :ref:`update-rc.d <ref-classes-update-rc.d>` class automatically |
1040 | adds a dependency on the ``initscripts-functions`` package to | 1040 | adds a dependency on the ``initscripts-functions`` package to |
1041 | packages that install an initscript that refers to | 1041 | packages that install an initscript that refers to |
1042 | ``/etc/init.d/functions``. The recipe should really have an explicit | 1042 | ``/etc/init.d/functions``. The recipe should really have an explicit |
@@ -1046,7 +1046,7 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1046 | ``initscripts-functions`` package is made available. | 1046 | ``initscripts-functions`` package is made available. |
1047 | 1047 | ||
1048 | - *``compile-host-path:``* Checks the | 1048 | - *``compile-host-path:``* Checks the |
1049 | ```do_compile`` <#ref-tasks-compile>`__ log for indications that | 1049 | :ref:`ref-tasks-compile` log for indications that |
1050 | paths to locations on the build host were used. Using such paths | 1050 | paths to locations on the build host were used. Using such paths |
1051 | might result in host contamination of the build output. | 1051 | might result in host contamination of the build output. |
1052 | 1052 | ||
@@ -1060,12 +1060,12 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1060 | 1060 | ||
1061 | - *``dep-cmp:``* Checks for invalid version comparison statements in | 1061 | - *``dep-cmp:``* Checks for invalid version comparison statements in |
1062 | runtime dependency relationships between packages (i.e. in | 1062 | runtime dependency relationships between packages (i.e. in |
1063 | ```RDEPENDS`` <#var-RDEPENDS>`__, | 1063 | :term:`RDEPENDS`, |
1064 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__, | 1064 | :term:`RRECOMMENDS`, |
1065 | ```RSUGGESTS`` <#var-RSUGGESTS>`__, | 1065 | :term:`RSUGGESTS`, |
1066 | ```RPROVIDES`` <#var-RPROVIDES>`__, | 1066 | :term:`RPROVIDES`, |
1067 | ```RREPLACES`` <#var-RREPLACES>`__, and | 1067 | :term:`RREPLACES`, and |
1068 | ```RCONFLICTS`` <#var-RCONFLICTS>`__ variable values). Any invalid | 1068 | :term:`RCONFLICTS` variable values). Any invalid |
1069 | comparisons might trigger failures or undesirable behavior when | 1069 | comparisons might trigger failures or undesirable behavior when |
1070 | passed to the package manager. | 1070 | passed to the package manager. |
1071 | 1071 | ||
@@ -1094,10 +1094,10 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1094 | However, the lack of that functionality in the other two package | 1094 | However, the lack of that functionality in the other two package |
1095 | managers does not mean the dependencies do not still need resolving. | 1095 | managers does not mean the dependencies do not still need resolving. |
1096 | This QA check attempts to ensure that explicitly declared | 1096 | This QA check attempts to ensure that explicitly declared |
1097 | ```RDEPENDS`` <#var-RDEPENDS>`__ exist to handle any file-level | 1097 | :term:`RDEPENDS` exist to handle any file-level |
1098 | dependency detected in packaged files. | 1098 | dependency detected in packaged files. |
1099 | 1099 | ||
1100 | - *``files-invalid:``* Checks for ```FILES`` <#var-FILES>`__ variable | 1100 | - *``files-invalid:``* Checks for :term:`FILES` variable |
1101 | values that contain "//", which is invalid. | 1101 | values that contain "//", which is invalid. |
1102 | 1102 | ||
1103 | - *``host-user-contaminated:``* Checks that no package produced by the | 1103 | - *``host-user-contaminated:``* Checks that no package produced by the |
@@ -1106,33 +1106,33 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1106 | that the files are being installed with an incorrect UID/GID, since | 1106 | that the files are being installed with an incorrect UID/GID, since |
1107 | target IDs are independent from host IDs. For additional information, | 1107 | target IDs are independent from host IDs. For additional information, |
1108 | see the section describing the | 1108 | see the section describing the |
1109 | ```do_install`` <#ref-tasks-install>`__ task. | 1109 | :ref:`ref-tasks-install` task. |
1110 | 1110 | ||
1111 | - *``incompatible-license:``* Report when packages are excluded from | 1111 | - *``incompatible-license:``* Report when packages are excluded from |
1112 | being created due to being marked with a license that is in | 1112 | being created due to being marked with a license that is in |
1113 | ```INCOMPATIBLE_LICENSE`` <#var-INCOMPATIBLE_LICENSE>`__. | 1113 | :term:`INCOMPATIBLE_LICENSE`. |
1114 | 1114 | ||
1115 | - *``install-host-path:``* Checks the | 1115 | - *``install-host-path:``* Checks the |
1116 | ```do_install`` <#ref-tasks-install>`__ log for indications that | 1116 | :ref:`ref-tasks-install` log for indications that |
1117 | paths to locations on the build host were used. Using such paths | 1117 | paths to locations on the build host were used. Using such paths |
1118 | might result in host contamination of the build output. | 1118 | might result in host contamination of the build output. |
1119 | 1119 | ||
1120 | - *``installed-vs-shipped:``* Reports when files have been installed | 1120 | - *``installed-vs-shipped:``* Reports when files have been installed |
1121 | within ``do_install`` but have not been included in any package by | 1121 | within ``do_install`` but have not been included in any package by |
1122 | way of the ```FILES`` <#var-FILES>`__ variable. Files that do not | 1122 | way of the :term:`FILES` variable. Files that do not |
1123 | appear in any package cannot be present in an image later on in the | 1123 | appear in any package cannot be present in an image later on in the |
1124 | build process. Ideally, all installed files should be packaged or not | 1124 | build process. Ideally, all installed files should be packaged or not |
1125 | installed at all. These files can be deleted at the end of | 1125 | installed at all. These files can be deleted at the end of |
1126 | ``do_install`` if the files are not needed in any package. | 1126 | ``do_install`` if the files are not needed in any package. |
1127 | 1127 | ||
1128 | - *``invalid-chars:``* Checks that the recipe metadata variables | 1128 | - *``invalid-chars:``* Checks that the recipe metadata variables |
1129 | ```DESCRIPTION`` <#var-DESCRIPTION>`__, | 1129 | :term:`DESCRIPTION`, |
1130 | ```SUMMARY`` <#var-SUMMARY>`__, ```LICENSE`` <#var-LICENSE>`__, and | 1130 | :term:`SUMMARY`, :term:`LICENSE`, and |
1131 | ```SECTION`` <#var-SECTION>`__ do not contain non-UTF-8 characters. | 1131 | :term:`SECTION` do not contain non-UTF-8 characters. |
1132 | Some package managers do not support such characters. | 1132 | Some package managers do not support such characters. |
1133 | 1133 | ||
1134 | - *``invalid-packageconfig:``* Checks that no undefined features are | 1134 | - *``invalid-packageconfig:``* Checks that no undefined features are |
1135 | being added to ```PACKAGECONFIG`` <#var-PACKAGECONFIG>`__. For | 1135 | being added to :term:`PACKAGECONFIG`. For |
1136 | example, any name "foo" for which the following form does not exist: | 1136 | example, any name "foo" for which the following form does not exist: |
1137 | PACKAGECONFIG[foo] = "..." | 1137 | PACKAGECONFIG[foo] = "..." |
1138 | 1138 | ||
@@ -1141,7 +1141,7 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1141 | correct sysroot prefix when using the files automatically itself. | 1141 | correct sysroot prefix when using the files automatically itself. |
1142 | 1142 | ||
1143 | - *``ldflags:``* Ensures that the binaries were linked with the | 1143 | - *``ldflags:``* Ensures that the binaries were linked with the |
1144 | ```LDFLAGS`` <#var-LDFLAGS>`__ options provided by the build system. | 1144 | :term:`LDFLAGS` options provided by the build system. |
1145 | If this test fails, check that the ``LDFLAGS`` variable is being | 1145 | If this test fails, check that the ``LDFLAGS`` variable is being |
1146 | passed to the linker command. | 1146 | passed to the linker command. |
1147 | 1147 | ||
@@ -1156,7 +1156,7 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1156 | variable has been set explicitly to ``/usr/libexec``. | 1156 | variable has been set explicitly to ``/usr/libexec``. |
1157 | 1157 | ||
1158 | - *``packages-list:``* Checks for the same package being listed | 1158 | - *``packages-list:``* Checks for the same package being listed |
1159 | multiple times through the ```PACKAGES`` <#var-PACKAGES>`__ variable | 1159 | multiple times through the :term:`PACKAGES` variable |
1160 | value. Installing the package in this manner can cause errors during | 1160 | value. Installing the package in this manner can cause errors during |
1161 | packaging. | 1161 | packaging. |
1162 | 1162 | ||
@@ -1172,27 +1172,27 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1172 | - *``perms:``* Currently, this check is unused but reserved. | 1172 | - *``perms:``* Currently, this check is unused but reserved. |
1173 | 1173 | ||
1174 | - *``pkgconfig:``* Checks ``.pc`` files for any | 1174 | - *``pkgconfig:``* Checks ``.pc`` files for any |
1175 | ```TMPDIR`` <#var-TMPDIR>`__/```WORKDIR`` <#var-WORKDIR>`__ paths. | 1175 | :term:`TMPDIR`/:term:`WORKDIR` paths. |
1176 | Any ``.pc`` file containing these paths is incorrect since | 1176 | Any ``.pc`` file containing these paths is incorrect since |
1177 | ``pkg-config`` itself adds the correct sysroot prefix when the files | 1177 | ``pkg-config`` itself adds the correct sysroot prefix when the files |
1178 | are accessed. | 1178 | are accessed. |
1179 | 1179 | ||
1180 | - *``pkgname:``* Checks that all packages in | 1180 | - *``pkgname:``* Checks that all packages in |
1181 | ```PACKAGES`` <#var-PACKAGES>`__ have names that do not contain | 1181 | :term:`PACKAGES` have names that do not contain |
1182 | invalid characters (i.e. characters other than 0-9, a-z, ., +, and | 1182 | invalid characters (i.e. characters other than 0-9, a-z, ., +, and |
1183 | -). | 1183 | -). |
1184 | 1184 | ||
1185 | - *``pkgv-undefined:``* Checks to see if the ``PKGV`` variable is | 1185 | - *``pkgv-undefined:``* Checks to see if the ``PKGV`` variable is |
1186 | undefined during ```do_package`` <#ref-tasks-package>`__. | 1186 | undefined during :ref:`ref-tasks-package`. |
1187 | 1187 | ||
1188 | - *``pkgvarcheck:``* Checks through the variables | 1188 | - *``pkgvarcheck:``* Checks through the variables |
1189 | ```RDEPENDS`` <#var-RDEPENDS>`__, | 1189 | :term:`RDEPENDS`, |
1190 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__, | 1190 | :term:`RRECOMMENDS`, |
1191 | ```RSUGGESTS`` <#var-RSUGGESTS>`__, | 1191 | :term:`RSUGGESTS`, |
1192 | ```RCONFLICTS`` <#var-RCONFLICTS>`__, | 1192 | :term:`RCONFLICTS`, |
1193 | ```RPROVIDES`` <#var-RPROVIDES>`__, | 1193 | :term:`RPROVIDES`, |
1194 | ```RREPLACES`` <#var-RREPLACES>`__, ```FILES`` <#var-FILES>`__, | 1194 | :term:`RREPLACES`, :term:`FILES`, |
1195 | ```ALLOW_EMPTY`` <#var-ALLOW_EMPTY>`__, ``pkg_preinst``, | 1195 | :term:`ALLOW_EMPTY`, ``pkg_preinst``, |
1196 | ``pkg_postinst``, ``pkg_prerm`` and ``pkg_postrm``, and reports if | 1196 | ``pkg_postinst``, ``pkg_prerm`` and ``pkg_postrm``, and reports if |
1197 | there are variable sets that are not package-specific. Using these | 1197 | there are variable sets that are not package-specific. Using these |
1198 | variables without a package suffix is bad practice, and might | 1198 | variables without a package suffix is bad practice, and might |
@@ -1200,11 +1200,11 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1200 | same recipe or have other unintended consequences. | 1200 | same recipe or have other unintended consequences. |
1201 | 1201 | ||
1202 | - *``pn-overrides:``* Checks that a recipe does not have a name | 1202 | - *``pn-overrides:``* Checks that a recipe does not have a name |
1203 | (```PN`` <#var-PN>`__) value that appears in | 1203 | (:term:`PN`) value that appears in |
1204 | ```OVERRIDES`` <#var-OVERRIDES>`__. If a recipe is named such that | 1204 | :term:`OVERRIDES`. If a recipe is named such that |
1205 | its ``PN`` value matches something already in ``OVERRIDES`` (e.g. | 1205 | its ``PN`` value matches something already in ``OVERRIDES`` (e.g. |
1206 | ``PN`` happens to be the same as ```MACHINE`` <#var-MACHINE>`__ or | 1206 | ``PN`` happens to be the same as :term:`MACHINE` or |
1207 | ```DISTRO`` <#var-DISTRO>`__), it can have unexpected consequences. | 1207 | :term:`DISTRO`), it can have unexpected consequences. |
1208 | For example, assignments such as ``FILES_${PN} = "xyz"`` effectively | 1208 | For example, assignments such as ``FILES_${PN} = "xyz"`` effectively |
1209 | turn into ``FILES = "xyz"``. | 1209 | turn into ``FILES = "xyz"``. |
1210 | 1210 | ||
@@ -1220,7 +1220,7 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1220 | non-``staticdev`` packages. | 1220 | non-``staticdev`` packages. |
1221 | 1221 | ||
1222 | - *``symlink-to-sysroot:``* Checks for symlinks in packages that point | 1222 | - *``symlink-to-sysroot:``* Checks for symlinks in packages that point |
1223 | into ```TMPDIR`` <#var-TMPDIR>`__ on the host. Such symlinks will | 1223 | into :term:`TMPDIR` on the host. Such symlinks will |
1224 | work on the host, but are clearly invalid when running on the target. | 1224 | work on the host, but are clearly invalid when running on the target. |
1225 | 1225 | ||
1226 | - *``textrel:``* Checks for ELF binaries that contain relocations in | 1226 | - *``textrel:``* Checks for ELF binaries that contain relocations in |
@@ -1231,7 +1231,7 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1231 | 1231 | ||
1232 | - *``unlisted-pkg-lics:``* Checks that all declared licenses applying | 1232 | - *``unlisted-pkg-lics:``* Checks that all declared licenses applying |
1233 | for a package are also declared on the recipe level (i.e. any license | 1233 | for a package are also declared on the recipe level (i.e. any license |
1234 | in ``LICENSE_*`` should appear in ```LICENSE`` <#var-LICENSE>`__). | 1234 | in ``LICENSE_*`` should appear in :term:`LICENSE`). |
1235 | 1235 | ||
1236 | - *``useless-rpaths:``* Checks for dynamic library load paths (rpaths) | 1236 | - *``useless-rpaths:``* Checks for dynamic library load paths (rpaths) |
1237 | in the binaries that by default on a standard system are searched by | 1237 | in the binaries that by default on a standard system are searched by |
@@ -1239,10 +1239,10 @@ The following list shows the tests you can list with the ``WARN_QA`` and | |||
1239 | not cause any breakage, they do waste space and are unnecessary. | 1239 | not cause any breakage, they do waste space and are unnecessary. |
1240 | 1240 | ||
1241 | - *``var-undefined:``* Reports when variables fundamental to packaging | 1241 | - *``var-undefined:``* Reports when variables fundamental to packaging |
1242 | (i.e. ```WORKDIR`` <#var-WORKDIR>`__, | 1242 | (i.e. :term:`WORKDIR`, |
1243 | ```DEPLOY_DIR`` <#var-DEPLOY_DIR>`__, ```D`` <#var-D>`__, | 1243 | :term:`DEPLOY_DIR`, :term:`D`, |
1244 | ```PN`` <#var-PN>`__, and ```PKGD`` <#var-PKGD>`__) are undefined | 1244 | :term:`PN`, and :term:`PKGD`) are undefined |
1245 | during ```do_package`` <#ref-tasks-package>`__. | 1245 | during :ref:`ref-tasks-package`. |
1246 | 1246 | ||
1247 | - *``version-going-backwards:``* If Build History is enabled, reports | 1247 | - *``version-going-backwards:``* If Build History is enabled, reports |
1248 | when a package being written out has a lower version than the | 1248 | when a package being written out has a lower version than the |
@@ -1283,7 +1283,7 @@ themselves. | |||
1283 | The ``kernel`` class handles building Linux kernels. The class contains | 1283 | The ``kernel`` class handles building Linux kernels. The class contains |
1284 | code to build all kernel trees. All needed headers are staged into the | 1284 | code to build all kernel trees. All needed headers are staged into the |
1285 | ``STAGING_KERNEL_DIR`` directory to allow out-of-tree module builds | 1285 | ``STAGING_KERNEL_DIR`` directory to allow out-of-tree module builds |
1286 | using the ```module`` <#ref-classes-module>`__ class. | 1286 | using the :ref:`module <ref-classes-module>` class. |
1287 | 1287 | ||
1288 | This means that each built kernel module is packaged separately and | 1288 | This means that each built kernel module is packaged separately and |
1289 | inter-module dependencies are created by parsing the ``modinfo`` output. | 1289 | inter-module dependencies are created by parsing the ``modinfo`` output. |
@@ -1299,9 +1299,9 @@ Image <&YOCTO_DOCS_DEV_URL;#building-an-initramfs-image>`__" section in | |||
1299 | the Yocto Project Development Tasks Manual. | 1299 | the Yocto Project Development Tasks Manual. |
1300 | 1300 | ||
1301 | Various other classes are used by the ``kernel`` and ``module`` classes | 1301 | Various other classes are used by the ``kernel`` and ``module`` classes |
1302 | internally including the ```kernel-arch`` <#ref-classes-kernel-arch>`__, | 1302 | internally including the :ref:`kernel-arch <ref-classes-kernel-arch>`, |
1303 | ```module-base`` <#ref-classes-module-base>`__, and | 1303 | :ref:`module-base <ref-classes-module-base>`, and |
1304 | ```linux-kernel-base`` <#ref-classes-linux-kernel-base>`__ classes. | 1304 | :ref:`linux-kernel-base <ref-classes-linux-kernel-base>` classes. |
1305 | 1305 | ||
1306 | .. _ref-classes-kernel-arch: | 1306 | .. _ref-classes-kernel-arch: |
1307 | 1307 | ||
@@ -1317,7 +1317,7 @@ Linux kernel compilation (including modules). | |||
1317 | ============================= | 1317 | ============================= |
1318 | 1318 | ||
1319 | The ``kernel-devicetree`` class, which is inherited by the | 1319 | The ``kernel-devicetree`` class, which is inherited by the |
1320 | ```kernel`` <#ref-classes-kernel>`__ class, supports device tree | 1320 | :ref:`kernel <ref-classes-kernel>` class, supports device tree |
1321 | generation. | 1321 | generation. |
1322 | 1322 | ||
1323 | .. _ref-classes-kernel-fitimage: | 1323 | .. _ref-classes-kernel-fitimage: |
@@ -1422,7 +1422,7 @@ The ``kernelsrc`` class sets the Linux kernel source and version. | |||
1422 | The ``lib_package`` class supports recipes that build libraries and | 1422 | The ``lib_package`` class supports recipes that build libraries and |
1423 | produce executable binaries, where those binaries should not be | 1423 | produce executable binaries, where those binaries should not be |
1424 | installed by default along with the library. Instead, the binaries are | 1424 | installed by default along with the library. Instead, the binaries are |
1425 | added to a separate ``${``\ ```PN`` <#var-PN>`__\ ``}-bin`` package to | 1425 | added to a separate ``${``\ :term:`PN`\ ``}-bin`` package to |
1426 | make their installation optional. | 1426 | make their installation optional. |
1427 | 1427 | ||
1428 | .. _ref-classes-libc*: | 1428 | .. _ref-classes-libc*: |
@@ -1445,7 +1445,7 @@ The ``libc*`` classes support recipes that build packages with ``libc``: | |||
1445 | 1445 | ||
1446 | The ``license`` class provides license manifest creation and license | 1446 | The ``license`` class provides license manifest creation and license |
1447 | exclusion. This class is enabled by default using the default value for | 1447 | exclusion. This class is enabled by default using the default value for |
1448 | the ```INHERIT_DISTRO`` <#var-INHERIT_DISTRO>`__ variable. | 1448 | the :term:`INHERIT_DISTRO` variable. |
1449 | 1449 | ||
1450 | .. _ref-classes-linux-kernel-base: | 1450 | .. _ref-classes-linux-kernel-base: |
1451 | 1451 | ||
@@ -1495,7 +1495,7 @@ recipes. | |||
1495 | The ``metadata_scm`` class provides functionality for querying the | 1495 | The ``metadata_scm`` class provides functionality for querying the |
1496 | branch and revision of a Source Code Manager (SCM) repository. | 1496 | branch and revision of a Source Code Manager (SCM) repository. |
1497 | 1497 | ||
1498 | The ```base`` <#ref-classes-base>`__ class uses this class to print the | 1498 | The :ref:`base <ref-classes-base>` class uses this class to print the |
1499 | revisions of each layer before starting every build. The | 1499 | revisions of each layer before starting every build. The |
1500 | ``metadata_scm`` class is enabled by default because it is inherited by | 1500 | ``metadata_scm`` class is enabled by default because it is inherited by |
1501 | the ``base`` class. | 1501 | the ``base`` class. |
@@ -1524,12 +1524,12 @@ the shared database. | |||
1524 | =================== | 1524 | =================== |
1525 | 1525 | ||
1526 | The ``mirrors`` class sets up some standard | 1526 | The ``mirrors`` class sets up some standard |
1527 | ```MIRRORS`` <#var-MIRRORS>`__ entries for source code mirrors. These | 1527 | :term:`MIRRORS` entries for source code mirrors. These |
1528 | mirrors provide a fall-back path in case the upstream source specified | 1528 | mirrors provide a fall-back path in case the upstream source specified |
1529 | in ```SRC_URI`` <#var-SRC_URI>`__ within recipes is unavailable. | 1529 | in :term:`SRC_URI` within recipes is unavailable. |
1530 | 1530 | ||
1531 | This class is enabled by default since it is inherited by the | 1531 | This class is enabled by default since it is inherited by the |
1532 | ```base`` <#ref-classes-base>`__ class. | 1532 | :ref:`base <ref-classes-base>` class. |
1533 | 1533 | ||
1534 | .. _ref-classes-module: | 1534 | .. _ref-classes-module: |
1535 | 1535 | ||
@@ -1538,10 +1538,10 @@ This class is enabled by default since it is inherited by the | |||
1538 | 1538 | ||
1539 | The ``module`` class provides support for building out-of-tree Linux | 1539 | The ``module`` class provides support for building out-of-tree Linux |
1540 | kernel modules. The class inherits the | 1540 | kernel modules. The class inherits the |
1541 | ```module-base`` <#ref-classes-module-base>`__ and | 1541 | :ref:`module-base <ref-classes-module-base>` and |
1542 | ```kernel-module-split`` <#ref-classes-kernel-module-split>`__ classes, | 1542 | :ref:`kernel-module-split <ref-classes-kernel-module-split>` classes, |
1543 | and implements the ```do_compile`` <#ref-tasks-compile>`__ and | 1543 | and implements the :ref:`ref-tasks-compile` and |
1544 | ```do_install`` <#ref-tasks-install>`__ tasks. The class provides | 1544 | :ref:`ref-tasks-install` tasks. The class provides |
1545 | everything needed to build and package a kernel module. | 1545 | everything needed to build and package a kernel module. |
1546 | 1546 | ||
1547 | For general information on out-of-tree Linux kernel modules, see the | 1547 | For general information on out-of-tree Linux kernel modules, see the |
@@ -1558,7 +1558,7 @@ The ``module-base`` class provides the base functionality for building | |||
1558 | Linux kernel modules. Typically, a recipe that builds software that | 1558 | Linux kernel modules. Typically, a recipe that builds software that |
1559 | includes one or more kernel modules and has its own means of building | 1559 | includes one or more kernel modules and has its own means of building |
1560 | the module inherits this class as opposed to inheriting the | 1560 | the module inherits this class as opposed to inheriting the |
1561 | ```module`` <#ref-classes-module>`__ class. | 1561 | :ref:`module <ref-classes-module>` class. |
1562 | 1562 | ||
1563 | .. _ref-classes-multilib*: | 1563 | .. _ref-classes-multilib*: |
1564 | 1564 | ||
@@ -1604,7 +1604,7 @@ a couple different ways: | |||
1604 | caused by existing code that depends on that naming convention. | 1604 | caused by existing code that depends on that naming convention. |
1605 | 1605 | ||
1606 | - Create or modify a target recipe that contains the following: | 1606 | - Create or modify a target recipe that contains the following: |
1607 | ```BBCLASSEXTEND`` <#var-BBCLASSEXTEND>`__ = "native" Inside the | 1607 | :term:`BBCLASSEXTEND` = "native" Inside the |
1608 | recipe, use ``_class-native`` and ``_class-target`` overrides to | 1608 | recipe, use ``_class-native`` and ``_class-target`` overrides to |
1609 | specify any functionality specific to the respective native or target | 1609 | specify any functionality specific to the respective native or target |
1610 | case. | 1610 | case. |
@@ -1621,7 +1621,7 @@ target. All common parts of the recipe are automatically shared. | |||
1621 | 1621 | ||
1622 | The ``nativesdk`` class provides common functionality for recipes that | 1622 | The ``nativesdk`` class provides common functionality for recipes that |
1623 | wish to build tools to run as part of an SDK (i.e. tools that run on | 1623 | wish to build tools to run as part of an SDK (i.e. tools that run on |
1624 | ```SDKMACHINE`` <#var-SDKMACHINE>`__). | 1624 | :term:`SDKMACHINE`). |
1625 | 1625 | ||
1626 | You can create a recipe that builds tools that run on the SDK machine a | 1626 | You can create a recipe that builds tools that run on the SDK machine a |
1627 | couple different ways: | 1627 | couple different ways: |
@@ -1632,7 +1632,7 @@ couple different ways: | |||
1632 | that the ``nativesdk`` class is inherited last. | 1632 | that the ``nativesdk`` class is inherited last. |
1633 | 1633 | ||
1634 | - Create a ``nativesdk`` variant of any recipe by adding the following: | 1634 | - Create a ``nativesdk`` variant of any recipe by adding the following: |
1635 | ```BBCLASSEXTEND`` <#var-BBCLASSEXTEND>`__ = "nativesdk" Inside the | 1635 | :term:`BBCLASSEXTEND` = "nativesdk" Inside the |
1636 | recipe, use ``_class-nativesdk`` and ``_class-target`` overrides to | 1636 | recipe, use ``_class-nativesdk`` and ``_class-target`` overrides to |
1637 | specify any functionality specific to the respective SDK machine or | 1637 | specify any functionality specific to the respective SDK machine or |
1638 | target case. | 1638 | target case. |
@@ -1686,7 +1686,7 @@ section in the Yocto Project Development Tasks Manual. | |||
1686 | ================== | 1686 | ================== |
1687 | 1687 | ||
1688 | The ``oelint`` class is an obsolete lint checking tool that exists in | 1688 | The ``oelint`` class is an obsolete lint checking tool that exists in |
1689 | ``meta/classes`` in the `Source Directory <#source-directory>`__. | 1689 | ``meta/classes`` in the :term:`Source Directory`. |
1690 | 1690 | ||
1691 | A number of classes exist that could be generally useful in OE-Core but | 1691 | A number of classes exist that could be generally useful in OE-Core but |
1692 | are never actually used within OE-Core itself. The ``oelint`` class is | 1692 | are never actually used within OE-Core itself. The ``oelint`` class is |
@@ -1700,12 +1700,12 @@ layers. | |||
1700 | ======================= | 1700 | ======================= |
1701 | 1701 | ||
1702 | The ``own-mirrors`` class makes it easier to set up your own | 1702 | The ``own-mirrors`` class makes it easier to set up your own |
1703 | ```PREMIRRORS`` <#var-PREMIRRORS>`__ from which to first fetch source | 1703 | :term:`PREMIRRORS` from which to first fetch source |
1704 | before attempting to fetch it from the upstream specified in | 1704 | before attempting to fetch it from the upstream specified in |
1705 | ```SRC_URI`` <#var-SRC_URI>`__ within each recipe. | 1705 | :term:`SRC_URI` within each recipe. |
1706 | 1706 | ||
1707 | To use this class, inherit it globally and specify | 1707 | To use this class, inherit it globally and specify |
1708 | ```SOURCE_MIRROR_URL`` <#var-SOURCE_MIRROR_URL>`__. Here is an example: | 1708 | :term:`SOURCE_MIRROR_URL`. Here is an example: |
1709 | INHERIT += "own-mirrors" SOURCE_MIRROR_URL = | 1709 | INHERIT += "own-mirrors" SOURCE_MIRROR_URL = |
1710 | "http://example.com/my-source-mirror" You can specify only a single URL | 1710 | "http://example.com/my-source-mirror" You can specify only a single URL |
1711 | in ``SOURCE_MIRROR_URL``. | 1711 | in ``SOURCE_MIRROR_URL``. |
@@ -1719,10 +1719,10 @@ The ``package`` class supports generating packages from a build's | |||
1719 | output. The core generic functionality is in ``package.bbclass``. The | 1719 | output. The core generic functionality is in ``package.bbclass``. The |
1720 | code specific to particular package types resides in these | 1720 | code specific to particular package types resides in these |
1721 | package-specific classes: | 1721 | package-specific classes: |
1722 | ```package_deb`` <#ref-classes-package_deb>`__, | 1722 | :ref:`package_deb <ref-classes-package_deb>`, |
1723 | ```package_rpm`` <#ref-classes-package_rpm>`__, | 1723 | :ref:`package_rpm <ref-classes-package_rpm>`, |
1724 | ```package_ipk`` <#ref-classes-package_ipk>`__, and | 1724 | :ref:`package_ipk <ref-classes-package_ipk>`, and |
1725 | ```package_tar`` <#ref-classes-package_tar>`__. | 1725 | :ref:`package_tar <ref-classes-package_tar>`. |
1726 | 1726 | ||
1727 | .. note:: | 1727 | .. note:: |
1728 | 1728 | ||
@@ -1753,7 +1753,7 @@ takes about thirty percent less time as compared to using RPM to build | |||
1753 | the same or similar package. This comparison takes into account a | 1753 | the same or similar package. This comparison takes into account a |
1754 | complete build of the package with all dependencies previously built. | 1754 | complete build of the package with all dependencies previously built. |
1755 | The reason for this discrepancy is because the RPM package manager | 1755 | The reason for this discrepancy is because the RPM package manager |
1756 | creates and processes more `Metadata <#metadata>`__ than the IPK package | 1756 | creates and processes more :term:`Metadata` than the IPK package |
1757 | manager. Consequently, you might consider setting ``PACKAGE_CLASSES`` to | 1757 | manager. Consequently, you might consider setting ``PACKAGE_CLASSES`` to |
1758 | "package_ipk" if you are building smaller systems. | 1758 | "package_ipk" if you are building smaller systems. |
1759 | 1759 | ||
@@ -1786,10 +1786,10 @@ at these two Yocto Project mailing list links: | |||
1786 | The ``package_deb`` class provides support for creating packages that | 1786 | The ``package_deb`` class provides support for creating packages that |
1787 | use the Debian (i.e. ``.deb``) file format. The class ensures the | 1787 | use the Debian (i.e. ``.deb``) file format. The class ensures the |
1788 | packages are written out in a ``.deb`` file format to the | 1788 | packages are written out in a ``.deb`` file format to the |
1789 | ``${``\ ```DEPLOY_DIR_DEB`` <#var-DEPLOY_DIR_DEB>`__\ ``}`` directory. | 1789 | ``${``\ :term:`DEPLOY_DIR_DEB`\ ``}`` directory. |
1790 | 1790 | ||
1791 | This class inherits the ```package`` <#ref-classes-package>`__ class and | 1791 | This class inherits the :ref:`package <ref-classes-package>` class and |
1792 | is enabled through the ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__ | 1792 | is enabled through the :term:`PACKAGE_CLASSES` |
1793 | variable in the ``local.conf`` file. | 1793 | variable in the ``local.conf`` file. |
1794 | 1794 | ||
1795 | .. _ref-classes-package_ipk: | 1795 | .. _ref-classes-package_ipk: |
@@ -1800,10 +1800,10 @@ variable in the ``local.conf`` file. | |||
1800 | The ``package_ipk`` class provides support for creating packages that | 1800 | The ``package_ipk`` class provides support for creating packages that |
1801 | use the IPK (i.e. ``.ipk``) file format. The class ensures the packages | 1801 | use the IPK (i.e. ``.ipk``) file format. The class ensures the packages |
1802 | are written out in a ``.ipk`` file format to the | 1802 | are written out in a ``.ipk`` file format to the |
1803 | ``${``\ ```DEPLOY_DIR_IPK`` <#var-DEPLOY_DIR_IPK>`__\ ``}`` directory. | 1803 | ``${``\ :term:`DEPLOY_DIR_IPK`\ ``}`` directory. |
1804 | 1804 | ||
1805 | This class inherits the ```package`` <#ref-classes-package>`__ class and | 1805 | This class inherits the :ref:`package <ref-classes-package>` class and |
1806 | is enabled through the ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__ | 1806 | is enabled through the :term:`PACKAGE_CLASSES` |
1807 | variable in the ``local.conf`` file. | 1807 | variable in the ``local.conf`` file. |
1808 | 1808 | ||
1809 | .. _ref-classes-package_rpm: | 1809 | .. _ref-classes-package_rpm: |
@@ -1814,10 +1814,10 @@ variable in the ``local.conf`` file. | |||
1814 | The ``package_rpm`` class provides support for creating packages that | 1814 | The ``package_rpm`` class provides support for creating packages that |
1815 | use the RPM (i.e. ``.rpm``) file format. The class ensures the packages | 1815 | use the RPM (i.e. ``.rpm``) file format. The class ensures the packages |
1816 | are written out in a ``.rpm`` file format to the | 1816 | are written out in a ``.rpm`` file format to the |
1817 | ``${``\ ```DEPLOY_DIR_RPM`` <#var-DEPLOY_DIR_RPM>`__\ ``}`` directory. | 1817 | ``${``\ :term:`DEPLOY_DIR_RPM`\ ``}`` directory. |
1818 | 1818 | ||
1819 | This class inherits the ```package`` <#ref-classes-package>`__ class and | 1819 | This class inherits the :ref:`package <ref-classes-package>` class and |
1820 | is enabled through the ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__ | 1820 | is enabled through the :term:`PACKAGE_CLASSES` |
1821 | variable in the ``local.conf`` file. | 1821 | variable in the ``local.conf`` file. |
1822 | 1822 | ||
1823 | .. _ref-classes-package_tar: | 1823 | .. _ref-classes-package_tar: |
@@ -1827,10 +1827,10 @@ variable in the ``local.conf`` file. | |||
1827 | 1827 | ||
1828 | The ``package_tar`` class provides support for creating tarballs. The | 1828 | The ``package_tar`` class provides support for creating tarballs. The |
1829 | class ensures the packages are written out in a tarball format to the | 1829 | class ensures the packages are written out in a tarball format to the |
1830 | ``${``\ ```DEPLOY_DIR_TAR`` <#var-DEPLOY_DIR_TAR>`__\ ``}`` directory. | 1830 | ``${``\ :term:`DEPLOY_DIR_TAR`\ ``}`` directory. |
1831 | 1831 | ||
1832 | This class inherits the ```package`` <#ref-classes-package>`__ class and | 1832 | This class inherits the :ref:`package <ref-classes-package>` class and |
1833 | is enabled through the ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__ | 1833 | is enabled through the :term:`PACKAGE_CLASSES` |
1834 | variable in the ``local.conf`` file. | 1834 | variable in the ``local.conf`` file. |
1835 | 1835 | ||
1836 | .. note:: | 1836 | .. note:: |
@@ -1853,12 +1853,12 @@ variable in the ``local.conf`` file. | |||
1853 | ======================= | 1853 | ======================= |
1854 | 1854 | ||
1855 | The ``packagedata`` class provides common functionality for reading | 1855 | The ``packagedata`` class provides common functionality for reading |
1856 | ``pkgdata`` files found in ```PKGDATA_DIR`` <#var-PKGDATA_DIR>`__. These | 1856 | ``pkgdata`` files found in :term:`PKGDATA_DIR`. These |
1857 | files contain information about each output package produced by the | 1857 | files contain information about each output package produced by the |
1858 | OpenEmbedded build system. | 1858 | OpenEmbedded build system. |
1859 | 1859 | ||
1860 | This class is enabled by default because it is inherited by the | 1860 | This class is enabled by default because it is inherited by the |
1861 | ```package`` <#ref-classes-package>`__ class. | 1861 | :ref:`package <ref-classes-package>` class. |
1862 | 1862 | ||
1863 | .. _ref-classes-packagegroup: | 1863 | .. _ref-classes-packagegroup: |
1864 | 1864 | ||
@@ -1883,10 +1883,10 @@ Previously, this class was called the ``task`` class. | |||
1883 | ================= | 1883 | ================= |
1884 | 1884 | ||
1885 | The ``patch`` class provides all functionality for applying patches | 1885 | The ``patch`` class provides all functionality for applying patches |
1886 | during the ```do_patch`` <#ref-tasks-patch>`__ task. | 1886 | during the :ref:`ref-tasks-patch` task. |
1887 | 1887 | ||
1888 | This class is enabled by default because it is inherited by the | 1888 | This class is enabled by default because it is inherited by the |
1889 | ```base`` <#ref-classes-base>`__ class. | 1889 | :ref:`base <ref-classes-base>` class. |
1890 | 1890 | ||
1891 | .. _ref-classes-perlnative: | 1891 | .. _ref-classes-perlnative: |
1892 | 1892 | ||
@@ -1912,7 +1912,7 @@ host during image creation. | |||
1912 | 1912 | ||
1913 | If the pixbuf loaders being installed are in packages other than the | 1913 | If the pixbuf loaders being installed are in packages other than the |
1914 | recipe's main package, set | 1914 | recipe's main package, set |
1915 | ```PIXBUF_PACKAGES`` <#var-PIXBUF_PACKAGES>`__ to specify the packages | 1915 | :term:`PIXBUF_PACKAGES` to specify the packages |
1916 | containing the loaders. | 1916 | containing the loaders. |
1917 | 1917 | ||
1918 | .. _ref-classes-pkgconfig: | 1918 | .. _ref-classes-pkgconfig: |
@@ -1936,7 +1936,7 @@ files. | |||
1936 | 1936 | ||
1937 | The ``populate_sdk`` class provides support for SDK-only recipes. For | 1937 | The ``populate_sdk`` class provides support for SDK-only recipes. For |
1938 | information on advantages gained when building a cross-development | 1938 | information on advantages gained when building a cross-development |
1939 | toolchain using the ```do_populate_sdk`` <#ref-tasks-populate_sdk>`__ | 1939 | toolchain using the :ref:`ref-tasks-populate_sdk` |
1940 | task, see the "`Building an SDK | 1940 | task, see the "`Building an SDK |
1941 | Installer <&YOCTO_DOCS_SDK_URL;#sdk-building-an-sdk-installer>`__" | 1941 | Installer <&YOCTO_DOCS_SDK_URL;#sdk-building-an-sdk-installer>`__" |
1942 | section in the Yocto Project Application Development and the Extensible | 1942 | section in the Yocto Project Application Development and the Extensible |
@@ -1967,15 +1967,15 @@ following classes: | |||
1967 | 1967 | ||
1968 | The ``populate_sdk_base`` class inherits the appropriate | 1968 | The ``populate_sdk_base`` class inherits the appropriate |
1969 | ``populate_sdk_*`` (i.e. ``deb``, ``rpm``, and ``ipk``) based on | 1969 | ``populate_sdk_*`` (i.e. ``deb``, ``rpm``, and ``ipk``) based on |
1970 | ```IMAGE_PKGTYPE`` <#var-IMAGE_PKGTYPE>`__. | 1970 | :term:`IMAGE_PKGTYPE`. |
1971 | 1971 | ||
1972 | The base class ensures all source and destination directories are | 1972 | The base class ensures all source and destination directories are |
1973 | established and then populates the SDK. After populating the SDK, the | 1973 | established and then populates the SDK. After populating the SDK, the |
1974 | ``populate_sdk_base`` class constructs two sysroots: | 1974 | ``populate_sdk_base`` class constructs two sysroots: |
1975 | ``${``\ ```SDK_ARCH`` <#var-SDK_ARCH>`__\ ``}-nativesdk``, which | 1975 | ``${``\ :term:`SDK_ARCH`\ ``}-nativesdk``, which |
1976 | contains the cross-compiler and associated tooling, and the target, | 1976 | contains the cross-compiler and associated tooling, and the target, |
1977 | which contains a target root filesystem that is configured for the SDK | 1977 | which contains a target root filesystem that is configured for the SDK |
1978 | usage. These two images reside in ```SDK_OUTPUT`` <#var-SDK_OUTPUT>`__, | 1978 | usage. These two images reside in :term:`SDK_OUTPUT`, |
1979 | which consists of the following: | 1979 | which consists of the following: |
1980 | ${SDK_OUTPUT}/${SDK_ARCH}-nativesdk-pkgs | 1980 | ${SDK_OUTPUT}/${SDK_ARCH}-nativesdk-pkgs |
1981 | ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/target-pkgs | 1981 | ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/target-pkgs |
@@ -1993,7 +1993,7 @@ the "`Cross-Development Toolchain | |||
1993 | Generation <&YOCTO_DOCS_OM_URL;#cross-development-toolchain-generation>`__" | 1993 | Generation <&YOCTO_DOCS_OM_URL;#cross-development-toolchain-generation>`__" |
1994 | section in the Yocto Project Overview and Concepts Manual. For | 1994 | section in the Yocto Project Overview and Concepts Manual. For |
1995 | information on advantages gained when building a cross-development | 1995 | information on advantages gained when building a cross-development |
1996 | toolchain using the ```do_populate_sdk`` <#ref-tasks-populate_sdk>`__ | 1996 | toolchain using the :ref:`ref-tasks-populate_sdk` |
1997 | task, see the "`Building an SDK | 1997 | task, see the "`Building an SDK |
1998 | Installer <&YOCTO_DOCS_SDK_URL;#sdk-building-an-sdk-installer>`__" | 1998 | Installer <&YOCTO_DOCS_SDK_URL;#sdk-building-an-sdk-installer>`__" |
1999 | section in the Yocto Project Application Development and the Extensible | 1999 | section in the Yocto Project Application Development and the Extensible |
@@ -2005,7 +2005,7 @@ Software Development Kit (eSDK) manual. | |||
2005 | ==================== | 2005 | ==================== |
2006 | 2006 | ||
2007 | The ``prexport`` class provides functionality for exporting | 2007 | The ``prexport`` class provides functionality for exporting |
2008 | ```PR`` <#var-PR>`__ values. | 2008 | :term:`PR` values. |
2009 | 2009 | ||
2010 | .. note:: | 2010 | .. note:: |
2011 | 2011 | ||
@@ -2020,7 +2020,7 @@ The ``prexport`` class provides functionality for exporting | |||
2020 | ==================== | 2020 | ==================== |
2021 | 2021 | ||
2022 | The ``primport`` class provides functionality for importing | 2022 | The ``primport`` class provides functionality for importing |
2023 | ```PR`` <#var-PR>`__ values. | 2023 | :term:`PR` values. |
2024 | 2024 | ||
2025 | .. note:: | 2025 | .. note:: |
2026 | 2026 | ||
@@ -2036,13 +2036,13 @@ The ``primport`` class provides functionality for importing | |||
2036 | 2036 | ||
2037 | The ``prserv`` class provides functionality for using a `PR | 2037 | The ``prserv`` class provides functionality for using a `PR |
2038 | service <&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service>`__ in order to | 2038 | service <&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service>`__ in order to |
2039 | automatically manage the incrementing of the ```PR`` <#var-PR>`__ | 2039 | automatically manage the incrementing of the :term:`PR` |
2040 | variable for each recipe. | 2040 | variable for each recipe. |
2041 | 2041 | ||
2042 | This class is enabled by default because it is inherited by the | 2042 | This class is enabled by default because it is inherited by the |
2043 | ```package`` <#ref-classes-package>`__ class. However, the OpenEmbedded | 2043 | :ref:`package <ref-classes-package>` class. However, the OpenEmbedded |
2044 | build system will not enable the functionality of this class unless | 2044 | build system will not enable the functionality of this class unless |
2045 | ```PRSERV_HOST`` <#var-PRSERV_HOST>`__ has been set. | 2045 | :term:`PRSERV_HOST` has been set. |
2046 | 2046 | ||
2047 | .. _ref-classes-ptest: | 2047 | .. _ref-classes-ptest: |
2048 | 2048 | ||
@@ -2054,7 +2054,7 @@ runtime tests for recipes that build software that provides these tests. | |||
2054 | 2054 | ||
2055 | This class is intended to be inherited by individual recipes. However, | 2055 | This class is intended to be inherited by individual recipes. However, |
2056 | the class' functionality is largely disabled unless "ptest" appears in | 2056 | the class' functionality is largely disabled unless "ptest" appears in |
2057 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__. See the "`Testing | 2057 | :term:`DISTRO_FEATURES`. See the "`Testing |
2058 | Packages With | 2058 | Packages With |
2059 | ptest <&YOCTO_DOCS_DEV_URL;#testing-packages-with-ptest>`__" section in | 2059 | ptest <&YOCTO_DOCS_DEV_URL;#testing-packages-with-ptest>`__" section in |
2060 | the Yocto Project Development Tasks Manual for more information on | 2060 | the Yocto Project Development Tasks Manual for more information on |
@@ -2126,9 +2126,9 @@ are set or software that is present). | |||
2126 | The ``relocatable`` class enables relocation of binaries when they are | 2126 | The ``relocatable`` class enables relocation of binaries when they are |
2127 | installed into the sysroot. | 2127 | installed into the sysroot. |
2128 | 2128 | ||
2129 | This class makes use of the ```chrpath`` <#ref-classes-chrpath>`__ class | 2129 | This class makes use of the :ref:`chrpath <ref-classes-chrpath>` class |
2130 | and is used by both the ```cross`` <#ref-classes-cross>`__ and | 2130 | and is used by both the :ref:`cross <ref-classes-cross>` and |
2131 | ```native`` <#ref-classes-native>`__ classes. | 2131 | :ref:`native <ref-classes-native>` classes. |
2132 | 2132 | ||
2133 | .. _ref-classes-remove-libtool: | 2133 | .. _ref-classes-remove-libtool: |
2134 | 2134 | ||
@@ -2136,7 +2136,7 @@ and is used by both the ```cross`` <#ref-classes-cross>`__ and | |||
2136 | ========================== | 2136 | ========================== |
2137 | 2137 | ||
2138 | The ``remove-libtool`` class adds a post function to the | 2138 | The ``remove-libtool`` class adds a post function to the |
2139 | ```do_install`` <#ref-tasks-install>`__ task to remove all ``.la`` files | 2139 | :ref:`ref-tasks-install` task to remove all ``.la`` files |
2140 | installed by ``libtool``. Removing these files results in them being | 2140 | installed by ``libtool``. Removing these files results in them being |
2141 | absent from both the sysroot and target packages. | 2141 | absent from both the sysroot and target packages. |
2142 | 2142 | ||
@@ -2163,7 +2163,7 @@ The class collects debug information for recipe, recipe version, task, | |||
2163 | machine, distro, build system, target system, host distro, branch, | 2163 | machine, distro, build system, target system, host distro, branch, |
2164 | commit, and log. From the information, report files using a JSON format | 2164 | commit, and log. From the information, report files using a JSON format |
2165 | are created and stored in | 2165 | are created and stored in |
2166 | ``${``\ ```LOG_DIR`` <#var-LOG_DIR>`__\ ``}/error-report``. | 2166 | ``${``\ :term:`LOG_DIR`\ ``}/error-report``. |
2167 | 2167 | ||
2168 | .. _ref-classes-rm-work: | 2168 | .. _ref-classes-rm-work: |
2169 | 2169 | ||
@@ -2216,7 +2216,7 @@ image and consist of the following classes: | |||
2216 | 2216 | ||
2217 | The root filesystem is created from packages using one of the | 2217 | The root filesystem is created from packages using one of the |
2218 | ``rootfs*.bbclass`` files as determined by the | 2218 | ``rootfs*.bbclass`` files as determined by the |
2219 | ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__ variable. | 2219 | :term:`PACKAGE_CLASSES` variable. |
2220 | 2220 | ||
2221 | For information on how root filesystem images are created, see the | 2221 | For information on how root filesystem images are created, see the |
2222 | "`Image | 2222 | "`Image |
@@ -2242,7 +2242,7 @@ usually determines whether to include this class. | |||
2242 | 2242 | ||
2243 | The ``scons`` class supports recipes that need to build software that | 2243 | The ``scons`` class supports recipes that need to build software that |
2244 | uses the SCons build system. You can use the | 2244 | uses the SCons build system. You can use the |
2245 | ```EXTRA_OESCONS`` <#var-EXTRA_OESCONS>`__ variable to specify | 2245 | :term:`EXTRA_OESCONS` variable to specify |
2246 | additional configuration options you want to pass SCons command line. | 2246 | additional configuration options you want to pass SCons command line. |
2247 | 2247 | ||
2248 | .. _ref-classes-sdl: | 2248 | .. _ref-classes-sdl: |
@@ -2293,8 +2293,8 @@ Python bindings. | |||
2293 | 2293 | ||
2294 | The ``siteconfig`` class provides functionality for handling site | 2294 | The ``siteconfig`` class provides functionality for handling site |
2295 | configuration. The class is used by the | 2295 | configuration. The class is used by the |
2296 | ```autotools`` <#ref-classes-autotools>`__ class to accelerate the | 2296 | :ref:`autotools <ref-classes-autotools>` class to accelerate the |
2297 | ```do_configure`` <#ref-tasks-configure>`__ task. | 2297 | :ref:`ref-tasks-configure` task. |
2298 | 2298 | ||
2299 | .. _ref-classes-siteinfo: | 2299 | .. _ref-classes-siteinfo: |
2300 | 2300 | ||
@@ -2337,7 +2337,7 @@ build. | |||
2337 | 2337 | ||
2338 | The ``sstate`` class provides support for Shared State (sstate). By | 2338 | The ``sstate`` class provides support for Shared State (sstate). By |
2339 | default, the class is enabled through the | 2339 | default, the class is enabled through the |
2340 | ```INHERIT_DISTRO`` <#var-INHERIT_DISTRO>`__ variable's default value. | 2340 | :term:`INHERIT_DISTRO` variable's default value. |
2341 | 2341 | ||
2342 | For more information on sstate, see the "`Shared State | 2342 | For more information on sstate, see the "`Shared State |
2343 | Cache <&YOCTO_DOCS_OM_URL;#shared-state-cache>`__" section in the Yocto | 2343 | Cache <&YOCTO_DOCS_OM_URL;#shared-state-cache>`__" section in the Yocto |
@@ -2351,15 +2351,15 @@ Project Overview and Concepts Manual. | |||
2351 | The ``staging`` class installs files into individual recipe work | 2351 | The ``staging`` class installs files into individual recipe work |
2352 | directories for sysroots. The class contains the following key tasks: | 2352 | directories for sysroots. The class contains the following key tasks: |
2353 | 2353 | ||
2354 | - The ```do_populate_sysroot`` <#ref-tasks-populate_sysroot>`__ task, | 2354 | - The :ref:`ref-tasks-populate_sysroot` task, |
2355 | which is responsible for handing the files that end up in the recipe | 2355 | which is responsible for handing the files that end up in the recipe |
2356 | sysroots. | 2356 | sysroots. |
2357 | 2357 | ||
2358 | - The | 2358 | - The |
2359 | ```do_prepare_recipe_sysroot`` <#ref-tasks-prepare_recipe_sysroot>`__ | 2359 | :ref:`ref-tasks-prepare_recipe_sysroot` |
2360 | task (a "partner" task to the ``populate_sysroot`` task), which | 2360 | task (a "partner" task to the ``populate_sysroot`` task), which |
2361 | installs the files into the individual recipe work directories (i.e. | 2361 | installs the files into the individual recipe work directories (i.e. |
2362 | ```WORKDIR`` <#var-WORKDIR>`__). | 2362 | :term:`WORKDIR`). |
2363 | 2363 | ||
2364 | The code in the ``staging`` class is complex and basically works in two | 2364 | The code in the ``staging`` class is complex and basically works in two |
2365 | stages: | 2365 | stages: |
@@ -2367,13 +2367,13 @@ stages: | |||
2367 | - *Stage One:* The first stage addresses recipes that have files they | 2367 | - *Stage One:* The first stage addresses recipes that have files they |
2368 | want to share with other recipes that have dependencies on the | 2368 | want to share with other recipes that have dependencies on the |
2369 | originating recipe. Normally these dependencies are installed through | 2369 | originating recipe. Normally these dependencies are installed through |
2370 | the ```do_install`` <#ref-tasks-install>`__ task into | 2370 | the :ref:`ref-tasks-install` task into |
2371 | ``${``\ ```D`` <#var-D>`__\ ``}``. The ``do_populate_sysroot`` task | 2371 | ``${``\ :term:`D`\ ``}``. The ``do_populate_sysroot`` task |
2372 | copies a subset of these files into ``${SYSROOT_DESTDIR}``. This | 2372 | copies a subset of these files into ``${SYSROOT_DESTDIR}``. This |
2373 | subset of files is controlled by the | 2373 | subset of files is controlled by the |
2374 | ```SYSROOT_DIRS`` <#var-SYSROOT_DIRS>`__, | 2374 | :term:`SYSROOT_DIRS`, |
2375 | ```SYSROOT_DIRS_NATIVE`` <#var-SYSROOT_DIRS_NATIVE>`__, and | 2375 | :term:`SYSROOT_DIRS_NATIVE`, and |
2376 | ```SYSROOT_DIRS_BLACKLIST`` <#var-SYSROOT_DIRS_BLACKLIST>`__ | 2376 | :term:`SYSROOT_DIRS_BLACKLIST` |
2377 | variables. | 2377 | variables. |
2378 | 2378 | ||
2379 | .. note:: | 2379 | .. note:: |
@@ -2391,17 +2391,17 @@ stages: | |||
2391 | hardcoded locations are replaced by tokens and a list of the files | 2391 | hardcoded locations are replaced by tokens and a list of the files |
2392 | needing such replacements is created. These adjustments are referred | 2392 | needing such replacements is created. These adjustments are referred |
2393 | to as "FIXMEs". The list of files that are scanned for paths is | 2393 | to as "FIXMEs". The list of files that are scanned for paths is |
2394 | controlled by the ```SSTATE_SCAN_FILES`` <#var-SSTATE_SCAN_FILES>`__ | 2394 | controlled by the :term:`SSTATE_SCAN_FILES` |
2395 | variable. | 2395 | variable. |
2396 | 2396 | ||
2397 | - *Stage Two:* The second stage addresses recipes that want to use | 2397 | - *Stage Two:* The second stage addresses recipes that want to use |
2398 | something from another recipe and declare a dependency on that recipe | 2398 | something from another recipe and declare a dependency on that recipe |
2399 | through the ```DEPENDS`` <#var-DEPENDS>`__ variable. The recipe will | 2399 | through the :term:`DEPENDS` variable. The recipe will |
2400 | have a | 2400 | have a |
2401 | ```do_prepare_recipe_sysroot`` <#ref-tasks-prepare_recipe_sysroot>`__ | 2401 | :ref:`ref-tasks-prepare_recipe_sysroot` |
2402 | task and when this task executes, it creates the ``recipe-sysroot`` | 2402 | task and when this task executes, it creates the ``recipe-sysroot`` |
2403 | and ``recipe-sysroot-native`` in the recipe work directory (i.e. | 2403 | and ``recipe-sysroot-native`` in the recipe work directory (i.e. |
2404 | ```WORKDIR`` <#var-WORKDIR>`__). The OpenEmbedded build system | 2404 | :term:`WORKDIR`). The OpenEmbedded build system |
2405 | creates hard links to copies of the relevant files from | 2405 | creates hard links to copies of the relevant files from |
2406 | ``sysroots-components`` into the recipe work directory. | 2406 | ``sysroots-components`` into the recipe work directory. |
2407 | 2407 | ||
@@ -2437,7 +2437,7 @@ stages: | |||
2437 | is used so that builds should be identical regardless of whether | 2437 | is used so that builds should be identical regardless of whether |
2438 | sstate was used or not. For a closer look, see the | 2438 | sstate was used or not. For a closer look, see the |
2439 | ``setscene_depvalid()`` function in the | 2439 | ``setscene_depvalid()`` function in the |
2440 | ```sstate`` <#ref-classes-sstate>`__ class. | 2440 | :ref:`sstate <ref-classes-sstate>` class. |
2441 | 2441 | ||
2442 | The build system is careful to maintain manifests of the files it | 2442 | The build system is careful to maintain manifests of the files it |
2443 | installs so that any given dependency can be installed as needed. The | 2443 | installs so that any given dependency can be installed as needed. The |
@@ -2454,37 +2454,37 @@ bootable images. | |||
2454 | 2454 | ||
2455 | The class supports the following variables: | 2455 | The class supports the following variables: |
2456 | 2456 | ||
2457 | - ```INITRD`` <#var-INITRD>`__: Indicates list of filesystem images to | 2457 | - :term:`INITRD`: Indicates list of filesystem images to |
2458 | concatenate and use as an initial RAM disk (initrd). This variable is | 2458 | concatenate and use as an initial RAM disk (initrd). This variable is |
2459 | optional. | 2459 | optional. |
2460 | 2460 | ||
2461 | - ```ROOTFS`` <#var-ROOTFS>`__: Indicates a filesystem image to include | 2461 | - :term:`ROOTFS`: Indicates a filesystem image to include |
2462 | as the root filesystem. This variable is optional. | 2462 | as the root filesystem. This variable is optional. |
2463 | 2463 | ||
2464 | - ```AUTO_SYSLINUXMENU`` <#var-AUTO_SYSLINUXMENU>`__: Enables creating | 2464 | - :term:`AUTO_SYSLINUXMENU`: Enables creating |
2465 | an automatic menu when set to "1". | 2465 | an automatic menu when set to "1". |
2466 | 2466 | ||
2467 | - ```LABELS`` <#var-LABELS>`__: Lists targets for automatic | 2467 | - :term:`LABELS`: Lists targets for automatic |
2468 | configuration. | 2468 | configuration. |
2469 | 2469 | ||
2470 | - ```APPEND`` <#var-APPEND>`__: Lists append string overrides for each | 2470 | - :term:`APPEND`: Lists append string overrides for each |
2471 | label. | 2471 | label. |
2472 | 2472 | ||
2473 | - ```SYSLINUX_OPTS`` <#var-SYSLINUX_OPTS>`__: Lists additional options | 2473 | - :term:`SYSLINUX_OPTS`: Lists additional options |
2474 | to add to the syslinux file. Semicolon characters separate multiple | 2474 | to add to the syslinux file. Semicolon characters separate multiple |
2475 | options. | 2475 | options. |
2476 | 2476 | ||
2477 | - ```SYSLINUX_SPLASH`` <#var-SYSLINUX_SPLASH>`__: Lists a background | 2477 | - :term:`SYSLINUX_SPLASH`: Lists a background |
2478 | for the VGA boot menu when you are using the boot menu. | 2478 | for the VGA boot menu when you are using the boot menu. |
2479 | 2479 | ||
2480 | - ```SYSLINUX_DEFAULT_CONSOLE`` <#var-SYSLINUX_DEFAULT_CONSOLE>`__: Set | 2480 | - :term:`SYSLINUX_DEFAULT_CONSOLE`: Set |
2481 | to "console=ttyX" to change kernel boot default console. | 2481 | to "console=ttyX" to change kernel boot default console. |
2482 | 2482 | ||
2483 | - ```SYSLINUX_SERIAL`` <#var-SYSLINUX_SERIAL>`__: Sets an alternate | 2483 | - :term:`SYSLINUX_SERIAL`: Sets an alternate |
2484 | serial port. Or, turns off serial when the variable is set with an | 2484 | serial port. Or, turns off serial when the variable is set with an |
2485 | empty string. | 2485 | empty string. |
2486 | 2486 | ||
2487 | - ```SYSLINUX_SERIAL_TTY`` <#var-SYSLINUX_SERIAL_TTY>`__: Sets an | 2487 | - :term:`SYSLINUX_SERIAL_TTY`: Sets an |
2488 | alternate "console=tty..." kernel boot argument. | 2488 | alternate "console=tty..." kernel boot argument. |
2489 | 2489 | ||
2490 | .. _ref-classes-systemd: | 2490 | .. _ref-classes-systemd: |
@@ -2496,24 +2496,24 @@ The ``systemd`` class provides support for recipes that install systemd | |||
2496 | unit files. | 2496 | unit files. |
2497 | 2497 | ||
2498 | The functionality for this class is disabled unless you have "systemd" | 2498 | The functionality for this class is disabled unless you have "systemd" |
2499 | in ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__. | 2499 | in :term:`DISTRO_FEATURES`. |
2500 | 2500 | ||
2501 | Under this class, the recipe or Makefile (i.e. whatever the recipe is | 2501 | Under this class, the recipe or Makefile (i.e. whatever the recipe is |
2502 | calling during the ```do_install`` <#ref-tasks-install>`__ task) | 2502 | calling during the :ref:`ref-tasks-install` task) |
2503 | installs unit files into | 2503 | installs unit files into |
2504 | ``${``\ ```D`` <#var-D>`__\ ``}${systemd_unitdir}/system``. If the unit | 2504 | ``${``\ :term:`D`\ ``}${systemd_unitdir}/system``. If the unit |
2505 | files being installed go into packages other than the main package, you | 2505 | files being installed go into packages other than the main package, you |
2506 | need to set ```SYSTEMD_PACKAGES`` <#var-SYSTEMD_PACKAGES>`__ in your | 2506 | need to set :term:`SYSTEMD_PACKAGES` in your |
2507 | recipe to identify the packages in which the files will be installed. | 2507 | recipe to identify the packages in which the files will be installed. |
2508 | 2508 | ||
2509 | You should set ```SYSTEMD_SERVICE`` <#var-SYSTEMD_SERVICE>`__ to the | 2509 | You should set :term:`SYSTEMD_SERVICE` to the |
2510 | name of the service file. You should also use a package name override to | 2510 | name of the service file. You should also use a package name override to |
2511 | indicate the package to which the value applies. If the value applies to | 2511 | indicate the package to which the value applies. If the value applies to |
2512 | the recipe's main package, use ``${``\ ```PN`` <#var-PN>`__\ ``}``. Here | 2512 | the recipe's main package, use ``${``\ :term:`PN`\ ``}``. Here |
2513 | is an example from the connman recipe: SYSTEMD_SERVICE_${PN} = | 2513 | is an example from the connman recipe: SYSTEMD_SERVICE_${PN} = |
2514 | "connman.service" Services are set up to start on boot automatically | 2514 | "connman.service" Services are set up to start on boot automatically |
2515 | unless you have set | 2515 | unless you have set |
2516 | ```SYSTEMD_AUTO_ENABLE`` <#var-SYSTEMD_AUTO_ENABLE>`__ to "disable". | 2516 | :term:`SYSTEMD_AUTO_ENABLE` to "disable". |
2517 | 2517 | ||
2518 | For more information on ``systemd``, see the "`Selecting an | 2518 | For more information on ``systemd``, see the "`Selecting an |
2519 | Initialization | 2519 | Initialization |
@@ -2539,14 +2539,14 @@ internal class and is not intended to be used directly. | |||
2539 | systemd | 2539 | systemd |
2540 | project. | 2540 | project. |
2541 | 2541 | ||
2542 | Set the ```EFI_PROVIDER`` <#var-EFI_PROVIDER>`__ variable to | 2542 | Set the :term:`EFI_PROVIDER` variable to |
2543 | "systemd-boot" to use this class. Doing so creates a standalone EFI | 2543 | "systemd-boot" to use this class. Doing so creates a standalone EFI |
2544 | bootloader that is not dependent on systemd. | 2544 | bootloader that is not dependent on systemd. |
2545 | 2545 | ||
2546 | For information on more variables used and supported in this class, see | 2546 | For information on more variables used and supported in this class, see |
2547 | the ```SYSTEMD_BOOT_CFG`` <#var-SYSTEMD_BOOT_CFG>`__, | 2547 | the :term:`SYSTEMD_BOOT_CFG`, |
2548 | ```SYSTEMD_BOOT_ENTRIES`` <#var-SYSTEMD_BOOT_ENTRIES>`__, and | 2548 | :term:`SYSTEMD_BOOT_ENTRIES`, and |
2549 | ```SYSTEMD_BOOT_TIMEOUT`` <#var-SYSTEMD_BOOT_TIMEOUT>`__ variables. | 2549 | :term:`SYSTEMD_BOOT_TIMEOUT` variables. |
2550 | 2550 | ||
2551 | You can also see the `Systemd-boot | 2551 | You can also see the `Systemd-boot |
2552 | documentation <http://www.freedesktop.org/wiki/Software/systemd/systemd-boot/>`__ | 2552 | documentation <http://www.freedesktop.org/wiki/Software/systemd/systemd-boot/>`__ |
@@ -2558,15 +2558,15 @@ for more information. | |||
2558 | ==================== | 2558 | ==================== |
2559 | 2559 | ||
2560 | The ``terminal`` class provides support for starting a terminal session. | 2560 | The ``terminal`` class provides support for starting a terminal session. |
2561 | The ```OE_TERMINAL`` <#var-OE_TERMINAL>`__ variable controls which | 2561 | The :term:`OE_TERMINAL` variable controls which |
2562 | terminal emulator is used for the session. | 2562 | terminal emulator is used for the session. |
2563 | 2563 | ||
2564 | Other classes use the ``terminal`` class anywhere a separate terminal | 2564 | Other classes use the ``terminal`` class anywhere a separate terminal |
2565 | session needs to be started. For example, the | 2565 | session needs to be started. For example, the |
2566 | ```patch`` <#ref-classes-patch>`__ class assuming | 2566 | :ref:`patch <ref-classes-patch>` class assuming |
2567 | ```PATCHRESOLVE`` <#var-PATCHRESOLVE>`__ is set to "user", the | 2567 | :term:`PATCHRESOLVE` is set to "user", the |
2568 | ```cml1`` <#ref-classes-cml1>`__ class, and the | 2568 | ```cml1`` <#ref-classes-cml1>`__ class, and the |
2569 | ```devshell`` <#ref-classes-devshell>`__ class all use the ``terminal`` | 2569 | :ref:`devshell <ref-classes-devshell>` class all use the ``terminal`` |
2570 | class. | 2570 | class. |
2571 | 2571 | ||
2572 | .. _ref-classes-testimage*: | 2572 | .. _ref-classes-testimage*: |
@@ -2595,7 +2595,7 @@ test is written in Python and makes use of the ``unittest`` module. | |||
2595 | The ``testimage.bbclass`` runs tests on an image when called using the | 2595 | The ``testimage.bbclass`` runs tests on an image when called using the |
2596 | following: $ bitbake -c testimage image The ``testimage-auto`` class | 2596 | following: $ bitbake -c testimage image The ``testimage-auto`` class |
2597 | runs tests on an image after the image is constructed (i.e. | 2597 | runs tests on an image after the image is constructed (i.e. |
2598 | ```TESTIMAGE_AUTO`` <#var-TESTIMAGE_AUTO>`__ must be set to "1"). | 2598 | :term:`TESTIMAGE_AUTO` must be set to "1"). |
2599 | 2599 | ||
2600 | For information on how to enable, run, and create new tests, see the | 2600 | For information on how to enable, run, and create new tests, see the |
2601 | "`Performing Automated Runtime | 2601 | "`Performing Automated Runtime |
@@ -2693,8 +2693,8 @@ The ``uboot-config`` class provides support for U-Boot configuration for | |||
2693 | a machine. Specify the machine in your recipe as follows: UBOOT_CONFIG | 2693 | a machine. Specify the machine in your recipe as follows: UBOOT_CONFIG |
2694 | ??= <default> UBOOT_CONFIG[foo] = "config,images" You can also specify | 2694 | ??= <default> UBOOT_CONFIG[foo] = "config,images" You can also specify |
2695 | the machine using this method: UBOOT_MACHINE = "config" See the | 2695 | the machine using this method: UBOOT_MACHINE = "config" See the |
2696 | ```UBOOT_CONFIG`` <#var-UBOOT_CONFIG>`__ and | 2696 | :term:`UBOOT_CONFIG` and |
2697 | ```UBOOT_MACHINE`` <#var-UBOOT_MACHINE>`__ variables for additional | 2697 | :term:`UBOOT_MACHINE` variables for additional |
2698 | information. | 2698 | information. |
2699 | 2699 | ||
2700 | .. _ref-classes-uninative: | 2700 | .. _ref-classes-uninative: |
@@ -2738,13 +2738,13 @@ packages. | |||
2738 | 2738 | ||
2739 | To use this class, you need to define a number of variables: | 2739 | To use this class, you need to define a number of variables: |
2740 | 2740 | ||
2741 | - ```ALTERNATIVE`` <#var-ALTERNATIVE>`__ | 2741 | - :term:`ALTERNATIVE` |
2742 | 2742 | ||
2743 | - ```ALTERNATIVE_LINK_NAME`` <#var-ALTERNATIVE_LINK_NAME>`__ | 2743 | - :term:`ALTERNATIVE_LINK_NAME` |
2744 | 2744 | ||
2745 | - ```ALTERNATIVE_TARGET`` <#var-ALTERNATIVE_TARGET>`__ | 2745 | - :term:`ALTERNATIVE_TARGET` |
2746 | 2746 | ||
2747 | - ```ALTERNATIVE_PRIORITY`` <#var-ALTERNATIVE_PRIORITY>`__ | 2747 | - :term:`ALTERNATIVE_PRIORITY` |
2748 | 2748 | ||
2749 | These variables list alternative commands needed by a package, provide | 2749 | These variables list alternative commands needed by a package, provide |
2750 | pathnames for links, default links for targets, and so forth. For | 2750 | pathnames for links, default links for targets, and so forth. For |
@@ -2783,7 +2783,7 @@ usage by the package on the target. For example, if you have packages | |||
2783 | that contain system services that should be run under their own user or | 2783 | that contain system services that should be run under their own user or |
2784 | group, you can use these classes to enable creation of the user or | 2784 | group, you can use these classes to enable creation of the user or |
2785 | group. The ``meta-skeleton/recipes-skeleton/useradd/useradd-example.bb`` | 2785 | group. The ``meta-skeleton/recipes-skeleton/useradd/useradd-example.bb`` |
2786 | recipe in the `Source Directory <#source-directory>`__ provides a simple | 2786 | recipe in the :term:`Source Directory` provides a simple |
2787 | example that shows how to add three users and groups to two packages. | 2787 | example that shows how to add three users and groups to two packages. |
2788 | See the ``useradd-example.bb`` recipe for more information on how to use | 2788 | See the ``useradd-example.bb`` recipe for more information on how to use |
2789 | these classes. | 2789 | these classes. |
@@ -2792,10 +2792,10 @@ The ``useradd_base`` class provides basic functionality for user or | |||
2792 | groups settings. | 2792 | groups settings. |
2793 | 2793 | ||
2794 | The ``useradd*`` classes support the | 2794 | The ``useradd*`` classes support the |
2795 | ```USERADD_PACKAGES`` <#var-USERADD_PACKAGES>`__, | 2795 | :term:`USERADD_PACKAGES`, |
2796 | ```USERADD_PARAM`` <#var-USERADD_PARAM>`__, | 2796 | :term:`USERADD_PARAM`, |
2797 | ```GROUPADD_PARAM`` <#var-GROUPADD_PARAM>`__, and | 2797 | :term:`GROUPADD_PARAM`, and |
2798 | ```GROUPMEMS_PARAM`` <#var-GROUPMEMS_PARAM>`__ variables. | 2798 | :term:`GROUPMEMS_PARAM` variables. |
2799 | 2799 | ||
2800 | The ``useradd-staticids`` class supports the addition of users or groups | 2800 | The ``useradd-staticids`` class supports the addition of users or groups |
2801 | that have static user identification (``uid``) and group identification | 2801 | that have static user identification (``uid``) and group identification |
@@ -2810,15 +2810,15 @@ the final ``uid`` and ``gid`` values. However, if non-deterministic | |||
2810 | ``uid`` and ``gid`` values are a problem, you can override the default, | 2810 | ``uid`` and ``gid`` values are a problem, you can override the default, |
2811 | dynamic application of these values by setting static values. When you | 2811 | dynamic application of these values by setting static values. When you |
2812 | set static values, the OpenEmbedded build system looks in | 2812 | set static values, the OpenEmbedded build system looks in |
2813 | ```BBPATH`` <#var-BBPATH>`__ for ``files/passwd`` and ``files/group`` | 2813 | :term:`BBPATH` for ``files/passwd`` and ``files/group`` |
2814 | files for the values. | 2814 | files for the values. |
2815 | 2815 | ||
2816 | To use static ``uid`` and ``gid`` values, you need to set some | 2816 | To use static ``uid`` and ``gid`` values, you need to set some |
2817 | variables. See the ```USERADDEXTENSION`` <#var-USERADDEXTENSION>`__, | 2817 | variables. See the :term:`USERADDEXTENSION`, |
2818 | ```USERADD_UID_TABLES`` <#var-USERADD_UID_TABLES>`__, | 2818 | :term:`USERADD_UID_TABLES`, |
2819 | ```USERADD_GID_TABLES`` <#var-USERADD_GID_TABLES>`__, and | 2819 | :term:`USERADD_GID_TABLES`, and |
2820 | ```USERADD_ERROR_DYNAMIC`` <#var-USERADD_ERROR_DYNAMIC>`__ variables. | 2820 | :term:`USERADD_ERROR_DYNAMIC` variables. |
2821 | You can also see the ```useradd`` <#ref-classes-useradd>`__ class for | 2821 | You can also see the :ref:`useradd <ref-classes-useradd>` class for |
2822 | additional information. | 2822 | additional information. |
2823 | 2823 | ||
2824 | .. note:: | 2824 | .. note:: |
@@ -2844,11 +2844,11 @@ additional information. | |||
2844 | 2844 | ||
2845 | The ``utility-tasks`` class provides support for various "utility" type | 2845 | The ``utility-tasks`` class provides support for various "utility" type |
2846 | tasks that are applicable to all recipes, such as | 2846 | tasks that are applicable to all recipes, such as |
2847 | ```do_clean`` <#ref-tasks-clean>`__ and | 2847 | :ref:`ref-tasks-clean` and |
2848 | ```do_listtasks`` <#ref-tasks-listtasks>`__. | 2848 | :ref:`ref-tasks-listtasks`. |
2849 | 2849 | ||
2850 | This class is enabled by default because it is inherited by the | 2850 | This class is enabled by default because it is inherited by the |
2851 | ```base`` <#ref-classes-base>`__ class. | 2851 | :ref:`base <ref-classes-base>` class. |
2852 | 2852 | ||
2853 | .. _ref-classes-utils: | 2853 | .. _ref-classes-utils: |
2854 | 2854 | ||
@@ -2860,7 +2860,7 @@ typically used in inline Python expressions (e.g. ``${@...}``). One | |||
2860 | example use is for ``bb.utils.contains()``. | 2860 | example use is for ``bb.utils.contains()``. |
2861 | 2861 | ||
2862 | This class is enabled by default because it is inherited by the | 2862 | This class is enabled by default because it is inherited by the |
2863 | ```base`` <#ref-classes-base>`__ class. | 2863 | :ref:`base <ref-classes-base>` class. |
2864 | 2864 | ||
2865 | .. _ref-classes-vala: | 2865 | .. _ref-classes-vala: |
2866 | 2866 | ||
@@ -2877,7 +2877,7 @@ using the Vala programming language. | |||
2877 | 2877 | ||
2878 | The ``waf`` class supports recipes that need to build software that uses | 2878 | The ``waf`` class supports recipes that need to build software that uses |
2879 | the Waf build system. You can use the | 2879 | the Waf build system. You can use the |
2880 | ```EXTRA_OECONF`` <#var-EXTRA_OECONF>`__ or | 2880 | :term:`EXTRA_OECONF` or |
2881 | ```PACKAGECONFIG_CONFARGS`` <#var-PACKAGECONFIG_CONFARGS>`__ variables | 2881 | :term:`PACKAGECONFIG_CONFARGS` variables |
2882 | to specify additional configuration options to be passed on the Waf | 2882 | to specify additional configuration options to be passed on the Waf |
2883 | command line. | 2883 | command line. |
diff --git a/documentation/ref-manual/ref-devtool-reference.rst b/documentation/ref-manual/ref-devtool-reference.rst index 5bb1a64d99..b0c4bcc7a0 100644 --- a/documentation/ref-manual/ref-devtool-reference.rst +++ b/documentation/ref-manual/ref-devtool-reference.rst | |||
@@ -217,7 +217,7 @@ Git, checks out a branch for development, and applies any patches from | |||
217 | the recipe as commits on top. You can use the following command to | 217 | the recipe as commits on top. You can use the following command to |
218 | checkout the source files: $ devtool modify recipe Using the above | 218 | checkout the source files: $ devtool modify recipe Using the above |
219 | command form, ``devtool`` uses the existing recipe's | 219 | command form, ``devtool`` uses the existing recipe's |
220 | ```SRC_URI`` <#var-SRC_URI>`__ statement to locate the upstream source, | 220 | :term:`SRC_URI` statement to locate the upstream source, |
221 | extracts the source into the default sources location in the workspace. | 221 | extracts the source into the default sources location in the workspace. |
222 | The default development branch used is "devtool". | 222 | The default development branch used is "devtool". |
223 | 223 | ||
@@ -360,9 +360,9 @@ When you use the ``devtool upgrade`` command, you must supply the root | |||
360 | name of the recipe (i.e. no version, paths, or extensions), and you must | 360 | name of the recipe (i.e. no version, paths, or extensions), and you must |
361 | supply the directory to which you want the source extracted. Additional | 361 | supply the directory to which you want the source extracted. Additional |
362 | command options let you control things such as the version number to | 362 | command options let you control things such as the version number to |
363 | which you want to upgrade (i.e. the ```PV`` <#var-PV>`__), the source | 363 | which you want to upgrade (i.e. the :term:`PV`), the source |
364 | revision to which you want to upgrade (i.e. the | 364 | revision to which you want to upgrade (i.e. the |
365 | ```SRCREV`` <#var-SRCREV>`__), whether or not to apply patches, and so | 365 | :term:`SRCREV`), whether or not to apply patches, and so |
366 | forth. | 366 | forth. |
367 | 367 | ||
368 | You can read more on the ``devtool upgrade`` workflow in the "`Use | 368 | You can read more on the ``devtool upgrade`` workflow in the "`Use |
@@ -439,7 +439,7 @@ The target is the address of the target machine, which must be running | |||
439 | an SSH server (i.e. ``user@hostname[:destdir]``). | 439 | an SSH server (i.e. ``user@hostname[:destdir]``). |
440 | 440 | ||
441 | This command deploys all files installed during the | 441 | This command deploys all files installed during the |
442 | ```do_install`` <#ref-tasks-install>`__ task. Furthermore, you do not | 442 | :ref:`ref-tasks-install` task. Furthermore, you do not |
443 | need to have package management enabled within the target machine. If | 443 | need to have package management enabled within the target machine. If |
444 | you do, the package manager is bypassed. | 444 | you do, the package manager is bypassed. |
445 | 445 | ||
@@ -492,7 +492,7 @@ Creating the Workspace Layer in an Alternative Location | |||
492 | ======================================================= | 492 | ======================================================= |
493 | 493 | ||
494 | Use the ``devtool create-workspace`` command to create a new workspace | 494 | Use the ``devtool create-workspace`` command to create a new workspace |
495 | layer in your `Build Directory <#build-directory>`__. When you create a | 495 | layer in your :term:`Build Directory`. When you create a |
496 | new workspace layer, it is populated with the ``README`` file and the | 496 | new workspace layer, it is populated with the ``README`` file and the |
497 | ``conf`` directory only. | 497 | ``conf`` directory only. |
498 | 498 | ||
diff --git a/documentation/ref-manual/ref-features.rst b/documentation/ref-manual/ref-features.rst index 1aa57a27d4..0e901edaeb 100644 --- a/documentation/ref-manual/ref-features.rst +++ b/documentation/ref-manual/ref-features.rst | |||
@@ -24,7 +24,7 @@ included if the distribution itself does not support them. | |||
24 | 24 | ||
25 | One method you can use to determine which recipes are checking to see if | 25 | One method you can use to determine which recipes are checking to see if |
26 | a particular feature is contained or not is to ``grep`` through the | 26 | a particular feature is contained or not is to ``grep`` through the |
27 | `Metadata <#metadata>`__ for the feature. Here is an example that | 27 | :term:`Metadata` for the feature. Here is an example that |
28 | discovers the recipes whose build is potentially changed based on a | 28 | discovers the recipes whose build is potentially changed based on a |
29 | given feature: $ cd poky $ git grep | 29 | given feature: $ cd poky $ git grep |
30 | 'contains.*MACHINE_FEATURES.*feature' | 30 | 'contains.*MACHINE_FEATURES.*feature' |
@@ -35,12 +35,12 @@ Machine Features | |||
35 | ================ | 35 | ================ |
36 | 36 | ||
37 | The items below are features you can use with | 37 | The items below are features you can use with |
38 | ```MACHINE_FEATURES`` <#var-MACHINE_FEATURES>`__. Features do not have a | 38 | :term:`MACHINE_FEATURES`. Features do not have a |
39 | one-to-one correspondence to packages, and they can go beyond simply | 39 | one-to-one correspondence to packages, and they can go beyond simply |
40 | controlling the installation of a package or packages. Sometimes a | 40 | controlling the installation of a package or packages. Sometimes a |
41 | feature can influence how certain recipes are built. For example, a | 41 | feature can influence how certain recipes are built. For example, a |
42 | feature might determine whether a particular configure option is | 42 | feature might determine whether a particular configure option is |
43 | specified within the ```do_configure`` <#ref-tasks-configure>`__ task | 43 | specified within the :ref:`ref-tasks-configure` task |
44 | for a particular recipe. | 44 | for a particular recipe. |
45 | 45 | ||
46 | This feature list only represents features as shipped with the Yocto | 46 | This feature list only represents features as shipped with the Yocto |
@@ -92,18 +92,18 @@ Distro Features | |||
92 | =============== | 92 | =============== |
93 | 93 | ||
94 | The items below are features you can use with | 94 | The items below are features you can use with |
95 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ to enable features across | 95 | :term:`DISTRO_FEATURES` to enable features across |
96 | your distribution. Features do not have a one-to-one correspondence to | 96 | your distribution. Features do not have a one-to-one correspondence to |
97 | packages, and they can go beyond simply controlling the installation of | 97 | packages, and they can go beyond simply controlling the installation of |
98 | a package or packages. In most cases, the presence or absence of a | 98 | a package or packages. In most cases, the presence or absence of a |
99 | feature translates to the appropriate option supplied to the configure | 99 | feature translates to the appropriate option supplied to the configure |
100 | script during the ```do_configure`` <#ref-tasks-configure>`__ task for | 100 | script during the :ref:`ref-tasks-configure` task for |
101 | the recipes that optionally support the feature. | 101 | the recipes that optionally support the feature. |
102 | 102 | ||
103 | Some distro features are also machine features. These select features | 103 | Some distro features are also machine features. These select features |
104 | make sense to be controlled both at the machine and distribution | 104 | make sense to be controlled both at the machine and distribution |
105 | configuration level. See the | 105 | configuration level. See the |
106 | ```COMBINED_FEATURES`` <#var-COMBINED_FEATURES>`__ variable for more | 106 | :term:`COMBINED_FEATURES` variable for more |
107 | information. | 107 | information. |
108 | 108 | ||
109 | This list only represents features as shipped with the Yocto Project | 109 | This list only represents features as shipped with the Yocto Project |
@@ -189,8 +189,8 @@ Image Features | |||
189 | ============== | 189 | ============== |
190 | 190 | ||
191 | The contents of images generated by the OpenEmbedded build system can be | 191 | The contents of images generated by the OpenEmbedded build system can be |
192 | controlled by the ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__ and | 192 | controlled by the :term:`IMAGE_FEATURES` and |
193 | ```EXTRA_IMAGE_FEATURES`` <#var-EXTRA_IMAGE_FEATURES>`__ variables that | 193 | :term:`EXTRA_IMAGE_FEATURES` variables that |
194 | you typically configure in your image recipes. Through these variables, | 194 | you typically configure in your image recipes. Through these variables, |
195 | you can add several different predefined packages such as development | 195 | you can add several different predefined packages such as development |
196 | utilities or packages with debug information needed to investigate | 196 | utilities or packages with debug information needed to investigate |
@@ -254,7 +254,7 @@ The following image features are available for all images: | |||
254 | a given image. | 254 | a given image. |
255 | 255 | ||
256 | Some image features are available only when you inherit the | 256 | Some image features are available only when you inherit the |
257 | ```core-image`` <#ref-classes-core-image>`__ class. The current list of | 257 | :ref:`core-image <ref-classes-core-image>` class. The current list of |
258 | these valid features is as follows: | 258 | these valid features is as follows: |
259 | 259 | ||
260 | - *hwcodecs:* Installs hardware acceleration codecs. | 260 | - *hwcodecs:* Installs hardware acceleration codecs. |
@@ -299,8 +299,8 @@ Feature Backfilling | |||
299 | =================== | 299 | =================== |
300 | 300 | ||
301 | Sometimes it is necessary in the OpenEmbedded build system to extend | 301 | Sometimes it is necessary in the OpenEmbedded build system to extend |
302 | ```MACHINE_FEATURES`` <#var-MACHINE_FEATURES>`__ or | 302 | :term:`MACHINE_FEATURES` or |
303 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ to control functionality | 303 | :term:`DISTRO_FEATURES` to control functionality |
304 | that was previously enabled and not able to be disabled. For these | 304 | that was previously enabled and not able to be disabled. For these |
305 | cases, we need to add an additional feature item to appear in one of | 305 | cases, we need to add an additional feature item to appear in one of |
306 | these variables, but we do not want to force developers who have | 306 | these variables, but we do not want to force developers who have |
@@ -310,8 +310,8 @@ Thus, the OpenEmbedded build system has a mechanism to automatically | |||
310 | "backfill" these added features into existing distro or machine | 310 | "backfill" these added features into existing distro or machine |
311 | configurations. You can see the list of features for which this is done | 311 | configurations. You can see the list of features for which this is done |
312 | by finding the | 312 | by finding the |
313 | ```DISTRO_FEATURES_BACKFILL`` <#var-DISTRO_FEATURES_BACKFILL>`__ and | 313 | :term:`DISTRO_FEATURES_BACKFILL` and |
314 | ```MACHINE_FEATURES_BACKFILL`` <#var-MACHINE_FEATURES_BACKFILL>`__ | 314 | :term:`MACHINE_FEATURES_BACKFILL` |
315 | variables in the ``meta/conf/bitbake.conf`` file. | 315 | variables in the ``meta/conf/bitbake.conf`` file. |
316 | 316 | ||
317 | Because such features are backfilled by default into all configurations | 317 | Because such features are backfilled by default into all configurations |
@@ -319,9 +319,9 @@ as described in the previous paragraph, developers who wish to disable | |||
319 | the new features need to be able to selectively prevent the backfilling | 319 | the new features need to be able to selectively prevent the backfilling |
320 | from occurring. They can do this by adding the undesired feature or | 320 | from occurring. They can do this by adding the undesired feature or |
321 | features to the | 321 | features to the |
322 | ```DISTRO_FEATURES_BACKFILL_CONSIDERED`` <#var-DISTRO_FEATURES_BACKFILL_CONSIDERED>`__ | 322 | :term:`DISTRO_FEATURES_BACKFILL_CONSIDERED` |
323 | or | 323 | or |
324 | ```MACHINE_FEATURES_BACKFILL_CONSIDERED`` <#var-MACHINE_FEATURES_BACKFILL_CONSIDERED>`__ | 324 | :term:`MACHINE_FEATURES_BACKFILL_CONSIDERED` |
325 | variables for distro features and machine features respectively. | 325 | variables for distro features and machine features respectively. |
326 | 326 | ||
327 | Here are two examples to help illustrate feature backfilling: | 327 | Here are two examples to help illustrate feature backfilling: |
diff --git a/documentation/ref-manual/ref-images.rst b/documentation/ref-manual/ref-images.rst index f0f8398338..5aeaa43833 100644 --- a/documentation/ref-manual/ref-images.rst +++ b/documentation/ref-manual/ref-images.rst | |||
@@ -86,7 +86,7 @@ Following is a list of supported recipes: | |||
86 | has the Minimal RAM-based Initial Root Filesystem (initramfs) as part | 86 | has the Minimal RAM-based Initial Root Filesystem (initramfs) as part |
87 | of the kernel, which allows the system to find the first “init” | 87 | of the kernel, which allows the system to find the first “init” |
88 | program more efficiently. See the | 88 | program more efficiently. See the |
89 | ```PACKAGE_INSTALL`` <#var-PACKAGE_INSTALL>`__ variable for | 89 | :term:`PACKAGE_INSTALL` variable for |
90 | additional information helpful when working with initramfs images. | 90 | additional information helpful when working with initramfs images. |
91 | 91 | ||
92 | - ``core-image-minimal-mtdutils``: A ``core-image-minimal`` image that | 92 | - ``core-image-minimal-mtdutils``: A ``core-image-minimal`` image that |
diff --git a/documentation/ref-manual/ref-kickstart.rst b/documentation/ref-manual/ref-kickstart.rst index 599e38080c..5f8c834f33 100644 --- a/documentation/ref-manual/ref-kickstart.rst +++ b/documentation/ref-manual/ref-kickstart.rst | |||
@@ -167,7 +167,7 @@ the ``part`` and ``partition`` commands: | |||
167 | 167 | ||
168 | - *``--fsuuid``:* This option is a Wic-specific option that specifies | 168 | - *``--fsuuid``:* This option is a Wic-specific option that specifies |
169 | the filesystem UUID. You can generate or modify | 169 | the filesystem UUID. You can generate or modify |
170 | ```WKS_FILE`` <#var-WKS_FILE>`__ with this option if a preconfigured | 170 | :term:`WKS_FILE` with this option if a preconfigured |
171 | filesystem UUID is added to the kernel command line in the bootloader | 171 | filesystem UUID is added to the kernel command line in the bootloader |
172 | configuration before you run Wic. | 172 | configuration before you run Wic. |
173 | 173 | ||
diff --git a/documentation/ref-manual/ref-qa-checks.rst b/documentation/ref-manual/ref-qa-checks.rst index e83fad8e10..d60c0616f0 100644 --- a/documentation/ref-manual/ref-qa-checks.rst +++ b/documentation/ref-manual/ref-qa-checks.rst | |||
@@ -28,7 +28,7 @@ error form along with an explanation. | |||
28 | .. note:: | 28 | .. note:: |
29 | 29 | ||
30 | - At the end of each message, the name of the associated QA test (as | 30 | - At the end of each message, the name of the associated QA test (as |
31 | listed in the "```insane.bbclass`` <#ref-classes-insane>`__" | 31 | listed in the ":ref:`insane.bbclass <ref-classes-insane>`" |
32 | section) appears within square brackets. | 32 | section) appears within square brackets. |
33 | 33 | ||
34 | - As mentioned, this list of error and warning messages is for QA | 34 | - As mentioned, this list of error and warning messages is for QA |
@@ -56,10 +56,10 @@ Errors and Warnings | |||
56 | 56 | ||
57 | The specified binary produced by the recipe contains dynamic library | 57 | The specified binary produced by the recipe contains dynamic library |
58 | load paths (rpaths) that contain build system paths such as | 58 | load paths (rpaths) that contain build system paths such as |
59 | ```TMPDIR`` <#var-TMPDIR>`__, which are incorrect for the target and | 59 | :term:`TMPDIR`, which are incorrect for the target and |
60 | could potentially be a security issue. Check for bad ``-rpath`` | 60 | could potentially be a security issue. Check for bad ``-rpath`` |
61 | options being passed to the linker in your | 61 | options being passed to the linker in your |
62 | ```do_compile`` <#ref-tasks-compile>`__ log. Depending on the build | 62 | :ref:`ref-tasks-compile` log. Depending on the build |
63 | system used by the software being built, there might be a configure | 63 | system used by the software being built, there might be a configure |
64 | option to disable rpath usage completely within the build of the | 64 | option to disable rpath usage completely within the build of the |
65 | software. | 65 | software. |
@@ -82,7 +82,7 @@ Errors and Warnings | |||
82 | 82 | ||
83 | A file-level dependency has been identified from the specified | 83 | A file-level dependency has been identified from the specified |
84 | package on the specified files, but there is no explicit | 84 | package on the specified files, but there is no explicit |
85 | corresponding entry in ```RDEPENDS`` <#var-RDEPENDS>`__. If | 85 | corresponding entry in :term:`RDEPENDS`. If |
86 | particular files are required at runtime then ``RDEPENDS`` should be | 86 | particular files are required at runtime then ``RDEPENDS`` should be |
87 | declared in the recipe to ensure the packages providing them are | 87 | declared in the recipe to ensure the packages providing them are |
88 | built. | 88 | built. |
@@ -95,7 +95,7 @@ Errors and Warnings | |||
95 | there is nothing explicit within the recipe to enable the | 95 | there is nothing explicit within the recipe to enable the |
96 | OpenEmbedded build system to ensure that dependency is satisfied. | 96 | OpenEmbedded build system to ensure that dependency is satisfied. |
97 | This condition is usually triggered by an | 97 | This condition is usually triggered by an |
98 | ```RDEPENDS`` <#var-RDEPENDS>`__ value being added at the packaging | 98 | :term:`RDEPENDS` value being added at the packaging |
99 | stage rather than up front, which is usually automatic based on the | 99 | stage rather than up front, which is usually automatic based on the |
100 | contents of the package. In most cases, you should change the recipe | 100 | contents of the package. In most cases, you should change the recipe |
101 | to add an explicit ``RDEPENDS`` for the dependency. | 101 | to add an explicit ``RDEPENDS`` for the dependency. |
@@ -107,8 +107,8 @@ Errors and Warnings | |||
107 | Symlink ``.so`` files are for development only, and should therefore | 107 | Symlink ``.so`` files are for development only, and should therefore |
108 | go into the ``-dev`` package. This situation might occur if you add | 108 | go into the ``-dev`` package. This situation might occur if you add |
109 | ``*.so*`` rather than ``*.so.*`` to a non-dev package. Change | 109 | ``*.so*`` rather than ``*.so.*`` to a non-dev package. Change |
110 | ```FILES`` <#var-FILES>`__ (and possibly | 110 | :term:`FILES` (and possibly |
111 | ```PACKAGES`` <#var-PACKAGES>`__) such that the specified ``.so`` | 111 | :term:`PACKAGES`) such that the specified ``.so`` |
112 | file goes into an appropriate ``-dev`` package. | 112 | file goes into an appropriate ``-dev`` package. |
113 | 113 | ||
114 | 114 | ||
@@ -116,8 +116,8 @@ Errors and Warnings | |||
116 | - ``non -staticdev package contains static .a library: <packagename> path '<path>' [staticdev]`` | 116 | - ``non -staticdev package contains static .a library: <packagename> path '<path>' [staticdev]`` |
117 | 117 | ||
118 | Static ``.a`` library files should go into a ``-staticdev`` package. | 118 | Static ``.a`` library files should go into a ``-staticdev`` package. |
119 | Change ```FILES`` <#var-FILES>`__ (and possibly | 119 | Change :term:`FILES` (and possibly |
120 | ```PACKAGES`` <#var-PACKAGES>`__) such that the specified ``.a`` file | 120 | :term:`PACKAGES`) such that the specified ``.a`` file |
121 | goes into an appropriate ``-staticdev`` package. | 121 | goes into an appropriate ``-staticdev`` package. |
122 | 122 | ||
123 | 123 | ||
@@ -130,7 +130,7 @@ Errors and Warnings | |||
130 | "lib32". Another example is when recipes install | 130 | "lib32". Another example is when recipes install |
131 | ``/usr/lib64/foo.so`` when ``${libdir}`` is "/usr/lib". False | 131 | ``/usr/lib64/foo.so`` when ``${libdir}`` is "/usr/lib". False |
132 | positives occasionally exist. For these cases add "libdir" to | 132 | positives occasionally exist. For these cases add "libdir" to |
133 | ```INSANE_SKIP`` <#var-INSANE_SKIP>`__ for the package. | 133 | :term:`INSANE_SKIP` for the package. |
134 | 134 | ||
135 | 135 | ||
136 | 136 | ||
@@ -141,7 +141,7 @@ Errors and Warnings | |||
141 | occur if you add a path which contains a ``.debug`` directory and do | 141 | occur if you add a path which contains a ``.debug`` directory and do |
142 | not explicitly add the ``.debug`` directory to the ``-dbg`` package. | 142 | not explicitly add the ``.debug`` directory to the ``-dbg`` package. |
143 | If this is the case, add the ``.debug`` directory explicitly to | 143 | If this is the case, add the ``.debug`` directory explicitly to |
144 | ``FILES_${PN}-dbg``. See ```FILES`` <#var-FILES>`__ for additional | 144 | ``FILES_${PN}-dbg``. See :term:`FILES` for additional |
145 | information on ``FILES``. | 145 | information on ``FILES``. |
146 | 146 | ||
147 | 147 | ||
@@ -158,8 +158,8 @@ Errors and Warnings | |||
158 | the error for is firmware that is not intended to be executed within | 158 | the error for is firmware that is not intended to be executed within |
159 | the target operating system or is intended to run on a separate | 159 | the target operating system or is intended to run on a separate |
160 | processor within the device, you can add "arch" to | 160 | processor within the device, you can add "arch" to |
161 | ```INSANE_SKIP`` <#var-INSANE_SKIP>`__ for the package. Another | 161 | :term:`INSANE_SKIP` for the package. Another |
162 | option is to check the ```do_compile`` <#ref-tasks-compile>`__ log | 162 | option is to check the :ref:`ref-tasks-compile` log |
163 | and verify that the compiler options being used are correct. | 163 | and verify that the compiler options being used are correct. |
164 | 164 | ||
165 | 165 | ||
@@ -176,8 +176,8 @@ Errors and Warnings | |||
176 | the error for is firmware that is not intended to be executed within | 176 | the error for is firmware that is not intended to be executed within |
177 | the target operating system or is intended to run on a separate | 177 | the target operating system or is intended to run on a separate |
178 | processor within the device, you can add "arch" to | 178 | processor within the device, you can add "arch" to |
179 | ```INSANE_SKIP`` <#var-INSANE_SKIP>`__ for the package. Another | 179 | :term:`INSANE_SKIP` for the package. Another |
180 | option is to check the ```do_compile`` <#ref-tasks-compile>`__ log | 180 | option is to check the :ref:`ref-tasks-compile` log |
181 | and verify that the compiler options being used are correct. | 181 | and verify that the compiler options being used are correct. |
182 | 182 | ||
183 | 183 | ||
@@ -194,8 +194,8 @@ Errors and Warnings | |||
194 | the error for is firmware that is not intended to be executed within | 194 | the error for is firmware that is not intended to be executed within |
195 | the target operating system or is intended to run on a separate | 195 | the target operating system or is intended to run on a separate |
196 | processor within the device, you can add "arch" to | 196 | processor within the device, you can add "arch" to |
197 | ```INSANE_SKIP`` <#var-INSANE_SKIP>`__ for the package. Another | 197 | :term:`INSANE_SKIP` for the package. Another |
198 | option is to check the ```do_compile`` <#ref-tasks-compile>`__ log | 198 | option is to check the :ref:`ref-tasks-compile` log |
199 | and verify that the compiler options being used are correct. | 199 | and verify that the compiler options being used are correct. |
200 | 200 | ||
201 | 201 | ||
@@ -208,7 +208,7 @@ Errors and Warnings | |||
208 | 208 | ||
209 | Typically, the way to solve this performance issue is to add "-fPIC" | 209 | Typically, the way to solve this performance issue is to add "-fPIC" |
210 | or "-fpic" to the compiler command-line options. For example, given | 210 | or "-fpic" to the compiler command-line options. For example, given |
211 | software that reads ```CFLAGS`` <#var-CFLAGS>`__ when you build it, | 211 | software that reads :term:`CFLAGS` when you build it, |
212 | you could add the following to your recipe: CFLAGS_append = " -fPIC " | 212 | you could add the following to your recipe: CFLAGS_append = " -fPIC " |
213 | 213 | ||
214 | For more information on text relocations at runtime, see | 214 | For more information on text relocations at runtime, see |
@@ -219,11 +219,11 @@ Errors and Warnings | |||
219 | - ``No GNU_HASH in the elf binary: '<file>' [ldflags]`` | 219 | - ``No GNU_HASH in the elf binary: '<file>' [ldflags]`` |
220 | 220 | ||
221 | This indicates that binaries produced when building the recipe have | 221 | This indicates that binaries produced when building the recipe have |
222 | not been linked with the ```LDFLAGS`` <#var-LDFLAGS>`__ options | 222 | not been linked with the :term:`LDFLAGS` options |
223 | provided by the build system. Check to be sure that the ``LDFLAGS`` | 223 | provided by the build system. Check to be sure that the ``LDFLAGS`` |
224 | variable is being passed to the linker command. A common workaround | 224 | variable is being passed to the linker command. A common workaround |
225 | for this situation is to pass in ``LDFLAGS`` using | 225 | for this situation is to pass in ``LDFLAGS`` using |
226 | ```TARGET_CC_ARCH`` <#var-TARGET_CC_ARCH>`__ within the recipe as | 226 | :term:`TARGET_CC_ARCH` within the recipe as |
227 | follows: TARGET_CC_ARCH += "${LDFLAGS}" | 227 | follows: TARGET_CC_ARCH += "${LDFLAGS}" |
228 | 228 | ||
229 | 229 | ||
@@ -243,7 +243,7 @@ Errors and Warnings | |||
243 | - ``The /usr/share/info/dir file is not meant to be shipped in a particular package. [infodir]`` | 243 | - ``The /usr/share/info/dir file is not meant to be shipped in a particular package. [infodir]`` |
244 | 244 | ||
245 | The ``/usr/share/info/dir`` should not be packaged. Add the following | 245 | The ``/usr/share/info/dir`` should not be packaged. Add the following |
246 | line to your ```do_install`` <#ref-tasks-install>`__ task or to your | 246 | line to your :ref:`ref-tasks-install` task or to your |
247 | ``do_install_append`` within the recipe as follows: rm | 247 | ``do_install_append`` within the recipe as follows: rm |
248 | ${D}${infodir}/dir | 248 | ${D}${infodir}/dir |
249 | 249 | ||
@@ -251,7 +251,7 @@ Errors and Warnings | |||
251 | 251 | ||
252 | - ``Symlink <path> in <packagename> points to TMPDIR [symlink-to-sysroot]`` | 252 | - ``Symlink <path> in <packagename> points to TMPDIR [symlink-to-sysroot]`` |
253 | 253 | ||
254 | The specified symlink points into ```TMPDIR`` <#var-TMPDIR>`__ on the | 254 | The specified symlink points into :term:`TMPDIR` on the |
255 | host. Such symlinks will work on the host. However, they are clearly | 255 | host. Such symlinks will work on the host. However, they are clearly |
256 | invalid when running on the target. You should either correct the | 256 | invalid when running on the target. You should either correct the |
257 | symlink to use a relative path or remove the symlink. | 257 | symlink to use a relative path or remove the symlink. |
@@ -260,7 +260,7 @@ Errors and Warnings | |||
260 | 260 | ||
261 | - ``<file> failed sanity test (workdir) in path <path> [la]`` | 261 | - ``<file> failed sanity test (workdir) in path <path> [la]`` |
262 | 262 | ||
263 | The specified ``.la`` file contains ```TMPDIR`` <#var-TMPDIR>`__ | 263 | The specified ``.la`` file contains :term:`TMPDIR` |
264 | paths. Any ``.la`` file containing these paths is incorrect since | 264 | paths. Any ``.la`` file containing these paths is incorrect since |
265 | ``libtool`` adds the correct sysroot prefix when using the files | 265 | ``libtool`` adds the correct sysroot prefix when using the files |
266 | automatically itself. | 266 | automatically itself. |
@@ -270,7 +270,7 @@ Errors and Warnings | |||
270 | - ``<file> failed sanity test (tmpdir) in path <path> [pkgconfig]`` | 270 | - ``<file> failed sanity test (tmpdir) in path <path> [pkgconfig]`` |
271 | 271 | ||
272 | The specified ``.pc`` file contains | 272 | The specified ``.pc`` file contains |
273 | ```TMPDIR`` <#var-TMPDIR>`__\ ``/``\ ```WORKDIR`` <#var-WORKDIR>`__ | 273 | :term:`TMPDIR`\ ``/``\ :term:`WORKDIR` |
274 | paths. Any ``.pc`` file containing these paths is incorrect since | 274 | paths. Any ``.pc`` file containing these paths is incorrect since |
275 | ``pkg-config`` itself adds the correct sysroot prefix when the files | 275 | ``pkg-config`` itself adds the correct sysroot prefix when the files |
276 | are accessed. | 276 | are accessed. |
@@ -285,9 +285,9 @@ Errors and Warnings | |||
285 | brought in using several different methods: | 285 | brought in using several different methods: |
286 | 286 | ||
287 | - Using the ``dbg-pkgs`` | 287 | - Using the ``dbg-pkgs`` |
288 | ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__ value. | 288 | :term:`IMAGE_FEATURES` value. |
289 | 289 | ||
290 | - Using ```IMAGE_INSTALL`` <#var-IMAGE_INSTALL>`__. | 290 | - Using :term:`IMAGE_INSTALL`. |
291 | 291 | ||
292 | - As a dependency of another ``dbg`` package that was brought in | 292 | - As a dependency of another ``dbg`` package that was brought in |
293 | using one of the above methods. | 293 | using one of the above methods. |
@@ -295,7 +295,7 @@ Errors and Warnings | |||
295 | The dependency might have been automatically added because the | 295 | The dependency might have been automatically added because the |
296 | ``dbg`` package erroneously contains files that it should not contain | 296 | ``dbg`` package erroneously contains files that it should not contain |
297 | (e.g. a non-symlink ``.so`` file) or it might have been added | 297 | (e.g. a non-symlink ``.so`` file) or it might have been added |
298 | manually (e.g. by adding to ```RDEPENDS`` <#var-RDEPENDS>`__). | 298 | manually (e.g. by adding to :term:`RDEPENDS`). |
299 | 299 | ||
300 | 300 | ||
301 | 301 | ||
@@ -307,9 +307,9 @@ Errors and Warnings | |||
307 | usually brought in using several different methods: | 307 | usually brought in using several different methods: |
308 | 308 | ||
309 | - Using the ``dev-pkgs`` | 309 | - Using the ``dev-pkgs`` |
310 | ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__ value. | 310 | :term:`IMAGE_FEATURES` value. |
311 | 311 | ||
312 | - Using ```IMAGE_INSTALL`` <#var-IMAGE_INSTALL>`__. | 312 | - Using :term:`IMAGE_INSTALL`. |
313 | 313 | ||
314 | - As a dependency of another ``dev`` package that was brought in | 314 | - As a dependency of another ``dev`` package that was brought in |
315 | using one of the above methods. | 315 | using one of the above methods. |
@@ -317,19 +317,19 @@ Errors and Warnings | |||
317 | The dependency might have been automatically added (because the | 317 | The dependency might have been automatically added (because the |
318 | ``dev`` package erroneously contains files that it should not have | 318 | ``dev`` package erroneously contains files that it should not have |
319 | (e.g. a non-symlink ``.so`` file) or it might have been added | 319 | (e.g. a non-symlink ``.so`` file) or it might have been added |
320 | manually (e.g. by adding to ```RDEPENDS`` <#var-RDEPENDS>`__). | 320 | manually (e.g. by adding to :term:`RDEPENDS`). |
321 | 321 | ||
322 | 322 | ||
323 | 323 | ||
324 | - ``<var>_<packagename> is invalid: <comparison> (<value>) only comparisons <, =, >, <=, and >= are allowed [dep-cmp]`` | 324 | - ``<var>_<packagename> is invalid: <comparison> (<value>) only comparisons <, =, >, <=, and >= are allowed [dep-cmp]`` |
325 | 325 | ||
326 | If you are adding a versioned dependency relationship to one of the | 326 | If you are adding a versioned dependency relationship to one of the |
327 | dependency variables (```RDEPENDS`` <#var-RDEPENDS>`__, | 327 | dependency variables (:term:`RDEPENDS`, |
328 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__, | 328 | :term:`RRECOMMENDS`, |
329 | ```RSUGGESTS`` <#var-RSUGGESTS>`__, | 329 | :term:`RSUGGESTS`, |
330 | ```RPROVIDES`` <#var-RPROVIDES>`__, | 330 | :term:`RPROVIDES`, |
331 | ```RREPLACES`` <#var-RREPLACES>`__, or | 331 | :term:`RREPLACES`, or |
332 | ```RCONFLICTS`` <#var-RCONFLICTS>`__), you must only use the named | 332 | :term:`RCONFLICTS`), you must only use the named |
333 | comparison operators. Change the versioned dependency values you are | 333 | comparison operators. Change the versioned dependency values you are |
334 | adding to match those listed in the message. | 334 | adding to match those listed in the message. |
335 | 335 | ||
@@ -337,7 +337,7 @@ Errors and Warnings | |||
337 | 337 | ||
338 | - ``<recipename>: The compile log indicates that host include and/or library paths were used. Please check the log '<logfile>' for more information. [compile-host-path]`` | 338 | - ``<recipename>: The compile log indicates that host include and/or library paths were used. Please check the log '<logfile>' for more information. [compile-host-path]`` |
339 | 339 | ||
340 | The log for the ```do_compile`` <#ref-tasks-compile>`__ task | 340 | The log for the :ref:`ref-tasks-compile` task |
341 | indicates that paths on the host were searched for files, which is | 341 | indicates that paths on the host were searched for files, which is |
342 | not appropriate when cross-compiling. Look for "is unsafe for | 342 | not appropriate when cross-compiling. Look for "is unsafe for |
343 | cross-compilation" or "CROSS COMPILE Badness" in the specified log | 343 | cross-compilation" or "CROSS COMPILE Badness" in the specified log |
@@ -347,7 +347,7 @@ Errors and Warnings | |||
347 | 347 | ||
348 | - ``<recipename>: The install log indicates that host include and/or library paths were used. Please check the log '<logfile>' for more information. [install-host-path]`` | 348 | - ``<recipename>: The install log indicates that host include and/or library paths were used. Please check the log '<logfile>' for more information. [install-host-path]`` |
349 | 349 | ||
350 | The log for the ```do_install`` <#ref-tasks-install>`__ task | 350 | The log for the :ref:`ref-tasks-install` task |
351 | indicates that paths on the host were searched for files, which is | 351 | indicates that paths on the host were searched for files, which is |
352 | not appropriate when cross-compiling. Look for "is unsafe for | 352 | not appropriate when cross-compiling. Look for "is unsafe for |
353 | cross-compilation" or "CROSS COMPILE Badness" in the specified log | 353 | cross-compilation" or "CROSS COMPILE Badness" in the specified log |
@@ -357,7 +357,7 @@ Errors and Warnings | |||
357 | 357 | ||
358 | - ``This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. The path was '<path>'`` | 358 | - ``This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. The path was '<path>'`` |
359 | 359 | ||
360 | The log for the ```do_configure`` <#ref-tasks-configure>`__ task | 360 | The log for the :ref:`ref-tasks-configure` task |
361 | indicates that paths on the host were searched for files, which is | 361 | indicates that paths on the host were searched for files, which is |
362 | not appropriate when cross-compiling. Look for "is unsafe for | 362 | not appropriate when cross-compiling. Look for "is unsafe for |
363 | cross-compilation" or "CROSS COMPILE Badness" in the specified log | 363 | cross-compilation" or "CROSS COMPILE Badness" in the specified log |
@@ -371,7 +371,7 @@ Errors and Warnings | |||
371 | enforced by the package manager itself) is to require that package | 371 | enforced by the package manager itself) is to require that package |
372 | names are all lower case and to allow a restricted set of characters. | 372 | names are all lower case and to allow a restricted set of characters. |
373 | If your recipe name does not match this, or you add packages to | 373 | If your recipe name does not match this, or you add packages to |
374 | ```PACKAGES`` <#var-PACKAGES>`__ that do not conform to the | 374 | :term:`PACKAGES` that do not conform to the |
375 | convention, then you will receive this error. Rename your recipe. Or, | 375 | convention, then you will receive this error. Rename your recipe. Or, |
376 | if you have added a non-conforming package name to ``PACKAGES``, | 376 | if you have added a non-conforming package name to ``PACKAGES``, |
377 | change the package name appropriately. | 377 | change the package name appropriately. |
@@ -388,38 +388,38 @@ Errors and Warnings | |||
388 | upstream build documentation, the ``./configure --help`` output, and | 388 | upstream build documentation, the ``./configure --help`` output, and |
389 | the upstream change log or release notes. Once you have worked out | 389 | the upstream change log or release notes. Once you have worked out |
390 | what the appropriate change is, you can update | 390 | what the appropriate change is, you can update |
391 | ```EXTRA_OECONF`` <#var-EXTRA_OECONF>`__, | 391 | :term:`EXTRA_OECONF`, |
392 | ```PACKAGECONFIG_CONFARGS`` <#var-PACKAGECONFIG_CONFARGS>`__, or the | 392 | :term:`PACKAGECONFIG_CONFARGS`, or the |
393 | individual ```PACKAGECONFIG`` <#var-PACKAGECONFIG>`__ option values | 393 | individual :term:`PACKAGECONFIG` option values |
394 | accordingly. | 394 | accordingly. |
395 | 395 | ||
396 | 396 | ||
397 | 397 | ||
398 | - ``Recipe <recipefile> has PN of "<recipename>" which is in OVERRIDES, this can result in unexpected behavior. [pn-overrides]`` | 398 | - ``Recipe <recipefile> has PN of "<recipename>" which is in OVERRIDES, this can result in unexpected behavior. [pn-overrides]`` |
399 | 399 | ||
400 | The specified recipe has a name (```PN`` <#var-PN>`__) value that | 400 | The specified recipe has a name (:term:`PN`) value that |
401 | appears in ```OVERRIDES`` <#var-OVERRIDES>`__. If a recipe is named | 401 | appears in :term:`OVERRIDES`. If a recipe is named |
402 | such that its ``PN`` value matches something already in ``OVERRIDES`` | 402 | such that its ``PN`` value matches something already in ``OVERRIDES`` |
403 | (e.g. ``PN`` happens to be the same as ```MACHINE`` <#var-MACHINE>`__ | 403 | (e.g. ``PN`` happens to be the same as :term:`MACHINE` |
404 | or ```DISTRO`` <#var-DISTRO>`__), it can have unexpected | 404 | or :term:`DISTRO`), it can have unexpected |
405 | consequences. For example, assignments such as | 405 | consequences. For example, assignments such as |
406 | ``FILES_${PN} = "xyz"`` effectively turn into ``FILES = "xyz"``. | 406 | ``FILES_${PN} = "xyz"`` effectively turn into ``FILES = "xyz"``. |
407 | Rename your recipe (or if ``PN`` is being set explicitly, change the | 407 | Rename your recipe (or if ``PN`` is being set explicitly, change the |
408 | ``PN`` value) so that the conflict does not occur. See | 408 | ``PN`` value) so that the conflict does not occur. See |
409 | ```FILES`` <#var-FILES>`__ for additional information. | 409 | :term:`FILES` for additional information. |
410 | 410 | ||
411 | 411 | ||
412 | 412 | ||
413 | - ``<recipefile>: Variable <variable> is set as not being package specific, please fix this. [pkgvarcheck]`` | 413 | - ``<recipefile>: Variable <variable> is set as not being package specific, please fix this. [pkgvarcheck]`` |
414 | 414 | ||
415 | Certain variables (```RDEPENDS`` <#var-RDEPENDS>`__, | 415 | Certain variables (:term:`RDEPENDS`, |
416 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__, | 416 | :term:`RRECOMMENDS`, |
417 | ```RSUGGESTS`` <#var-RSUGGESTS>`__, | 417 | :term:`RSUGGESTS`, |
418 | ```RCONFLICTS`` <#var-RCONFLICTS>`__, | 418 | :term:`RCONFLICTS`, |
419 | ```RPROVIDES`` <#var-RPROVIDES>`__, | 419 | :term:`RPROVIDES`, |
420 | ```RREPLACES`` <#var-RREPLACES>`__, ```FILES`` <#var-FILES>`__, | 420 | :term:`RREPLACES`, :term:`FILES`, |
421 | ``pkg_preinst``, ``pkg_postinst``, ``pkg_prerm``, ``pkg_postrm``, and | 421 | ``pkg_preinst``, ``pkg_postinst``, ``pkg_prerm``, ``pkg_postrm``, and |
422 | ```ALLOW_EMPTY`` <#var-ALLOW_EMPTY>`__) should always be set specific | 422 | :term:`ALLOW_EMPTY`) should always be set specific |
423 | to a package (i.e. they should be set with a package name override | 423 | to a package (i.e. they should be set with a package name override |
424 | such as ``RDEPENDS_${PN} = "value"`` rather than | 424 | such as ``RDEPENDS_${PN} = "value"`` rather than |
425 | ``RDEPENDS = "value"``). If you receive this error, correct any | 425 | ``RDEPENDS = "value"``). If you receive this error, correct any |
@@ -456,7 +456,7 @@ Errors and Warnings | |||
456 | - ``<packagename> is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]`` | 456 | - ``<packagename> is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]`` |
457 | 457 | ||
458 | Package names must appear only once in the | 458 | Package names must appear only once in the |
459 | ```PACKAGES`` <#var-PACKAGES>`__ variable. You might receive this | 459 | :term:`PACKAGES` variable. You might receive this |
460 | error if you are attempting to add a package to ``PACKAGES`` that is | 460 | error if you are attempting to add a package to ``PACKAGES`` that is |
461 | already in the variable's value. | 461 | already in the variable's value. |
462 | 462 | ||
@@ -465,7 +465,7 @@ Errors and Warnings | |||
465 | - ``FILES variable for package <packagename> contains '//' which is invalid. Attempting to fix this but you should correct the metadata. [files-invalid]`` | 465 | - ``FILES variable for package <packagename> contains '//' which is invalid. Attempting to fix this but you should correct the metadata. [files-invalid]`` |
466 | 466 | ||
467 | The string "//" is invalid in a Unix path. Correct all occurrences | 467 | The string "//" is invalid in a Unix path. Correct all occurrences |
468 | where this string appears in a ```FILES`` <#var-FILES>`__ variable so | 468 | where this string appears in a :term:`FILES` variable so |
469 | that there is only a single "/". | 469 | that there is only a single "/". |
470 | 470 | ||
471 | 471 | ||
@@ -473,14 +473,14 @@ Errors and Warnings | |||
473 | - ``<recipename>: Files/directories were installed but not shipped in any package [installed-vs-shipped]`` | 473 | - ``<recipename>: Files/directories were installed but not shipped in any package [installed-vs-shipped]`` |
474 | 474 | ||
475 | Files have been installed within the | 475 | Files have been installed within the |
476 | ```do_install`` <#ref-tasks-install>`__ task but have not been | 476 | :ref:`ref-tasks-install` task but have not been |
477 | included in any package by way of the ```FILES`` <#var-FILES>`__ | 477 | included in any package by way of the :term:`FILES` |
478 | variable. Files that do not appear in any package cannot be present | 478 | variable. Files that do not appear in any package cannot be present |
479 | in an image later on in the build process. You need to do one of the | 479 | in an image later on in the build process. You need to do one of the |
480 | following: | 480 | following: |
481 | 481 | ||
482 | - Add the files to ``FILES`` for the package you want them to appear | 482 | - Add the files to ``FILES`` for the package you want them to appear |
483 | in (e.g. ``FILES_${``\ ```PN`` <#var-PN>`__\ ``}`` for the main | 483 | in (e.g. ``FILES_${``\ :term:`PN`\ ``}`` for the main |
484 | package). | 484 | package). |
485 | 485 | ||
486 | - Delete the files at the end of the ``do_install`` task if the | 486 | - Delete the files at the end of the ``do_install`` task if the |
@@ -496,15 +496,15 @@ Errors and Warnings | |||
496 | message might indicate that a private version of a library is being | 496 | message might indicate that a private version of a library is being |
497 | erroneously picked up as the provider for a common library. If that | 497 | erroneously picked up as the provider for a common library. If that |
498 | is the case, you should add the library's ``.so`` file name to | 498 | is the case, you should add the library's ``.so`` file name to |
499 | ```PRIVATE_LIBS`` <#var-PRIVATE_LIBS>`__ in the recipe that provides | 499 | :term:`PRIVATE_LIBS` in the recipe that provides |
500 | the private version of the library. | 500 | the private version of the library. |
501 | 501 | ||
502 | - ``LICENSE_<packagename> includes licenses (<licenses>) that are not listed in LICENSE [unlisted-pkg-lics]`` | 502 | - ``LICENSE_<packagename> includes licenses (<licenses>) that are not listed in LICENSE [unlisted-pkg-lics]`` |
503 | 503 | ||
504 | The ```LICENSE`` <#var-LICENSE>`__ of the recipe should be a superset | 504 | The :term:`LICENSE` of the recipe should be a superset |
505 | of all the licenses of all packages produced by this recipe. In other | 505 | of all the licenses of all packages produced by this recipe. In other |
506 | words, any license in ``LICENSE_*`` should also appear in | 506 | words, any license in ``LICENSE_*`` should also appear in |
507 | ```LICENSE`` <#var-LICENSE>`__. | 507 | :term:`LICENSE`. |
508 | 508 | ||
509 | 509 | ||
510 | 510 | ||
@@ -513,11 +513,11 @@ Configuring and Disabling QA Checks | |||
513 | 513 | ||
514 | You can configure the QA checks globally so that specific check failures | 514 | You can configure the QA checks globally so that specific check failures |
515 | either raise a warning or an error message, using the | 515 | either raise a warning or an error message, using the |
516 | ```WARN_QA`` <#var-WARN_QA>`__ and ```ERROR_QA`` <#var-ERROR_QA>`__ | 516 | :term:`WARN_QA` and :term:`ERROR_QA` |
517 | variables, respectively. You can also disable checks within a particular | 517 | variables, respectively. You can also disable checks within a particular |
518 | recipe using ```INSANE_SKIP`` <#var-INSANE_SKIP>`__. For information on | 518 | recipe using :term:`INSANE_SKIP`. For information on |
519 | how to work with the QA checks, see the | 519 | how to work with the QA checks, see the |
520 | "```insane.bbclass`` <#ref-classes-insane>`__" section. | 520 | ":ref:`insane.bbclass <ref-classes-insane>`" section. |
521 | 521 | ||
522 | .. note:: | 522 | .. note:: |
523 | 523 | ||
diff --git a/documentation/ref-manual/ref-release-process.rst b/documentation/ref-manual/ref-release-process.rst index c09fd7a075..95ec686a13 100644 --- a/documentation/ref-manual/ref-release-process.rst +++ b/documentation/ref-manual/ref-release-process.rst | |||
@@ -41,7 +41,7 @@ Major Release Codenames | |||
41 | Each major release receives a codename that identifies the release in | 41 | Each major release receives a codename that identifies the release in |
42 | the `Yocto Project Source | 42 | the `Yocto Project Source |
43 | Repositories <&YOCTO_DOCS_OM_URL;#yocto-project-repositories>`__. The | 43 | Repositories <&YOCTO_DOCS_OM_URL;#yocto-project-repositories>`__. The |
44 | concept is that branches of `Metadata <#metadata>`__ with the same | 44 | concept is that branches of :term:`Metadata` with the same |
45 | codename are likely to be compatible and thus work together. | 45 | codename are likely to be compatible and thus work together. |
46 | 46 | ||
47 | .. note:: | 47 | .. note:: |
@@ -107,12 +107,12 @@ consists of the following pieces: | |||
107 | - ``bitbake-selftest``: A standalone command that runs unit tests on | 107 | - ``bitbake-selftest``: A standalone command that runs unit tests on |
108 | key pieces of BitBake and its fetchers. | 108 | key pieces of BitBake and its fetchers. |
109 | 109 | ||
110 | - ```sanity.bbclass`` <#ref-classes-sanity>`__: This automatically | 110 | - :ref:`sanity.bbclass <ref-classes-sanity>`: This automatically |
111 | included class checks the build environment for missing tools (e.g. | 111 | included class checks the build environment for missing tools (e.g. |
112 | ``gcc``) or common misconfigurations such as | 112 | ``gcc``) or common misconfigurations such as |
113 | ```MACHINE`` <#var-MACHINE>`__ set incorrectly. | 113 | :term:`MACHINE` set incorrectly. |
114 | 114 | ||
115 | - ```insane.bbclass`` <#ref-classes-insane>`__: This class checks the | 115 | - :ref:`insane.bbclass <ref-classes-insane>`: This class checks the |
116 | generated output from builds for sanity. For example, if building for | 116 | generated output from builds for sanity. For example, if building for |
117 | an ARM target, did the build produce ARM binaries. If, for example, | 117 | an ARM target, did the build produce ARM binaries. If, for example, |
118 | the build produced PPC binaries then there is a problem. | 118 | the build produced PPC binaries then there is a problem. |
@@ -149,7 +149,7 @@ efficiently. | |||
149 | 149 | ||
150 | The Yocto Project's main Autobuilder (``autobuilder.yoctoproject.org``) | 150 | The Yocto Project's main Autobuilder (``autobuilder.yoctoproject.org``) |
151 | publicly tests each Yocto Project release's code in the | 151 | publicly tests each Yocto Project release's code in the |
152 | `OE-Core <#oe-core>`__, Poky, and BitBake repositories. The testing | 152 | :term:`OpenEmbedded-Core (OE-Core)`, Poky, and BitBake repositories. The testing |
153 | occurs for both the current state of the "master" branch and also for | 153 | occurs for both the current state of the "master" branch and also for |
154 | submitted patches. Testing for submitted patches usually occurs in the | 154 | submitted patches. Testing for submitted patches usually occurs in the |
155 | "ross/mut" branch in the ``poky-contrib`` repository (i.e. the | 155 | "ross/mut" branch in the ``poky-contrib`` repository (i.e. the |
diff --git a/documentation/ref-manual/ref-structure.rst b/documentation/ref-manual/ref-structure.rst index 5e30a08041..c63900e604 100644 --- a/documentation/ref-manual/ref-structure.rst +++ b/documentation/ref-manual/ref-structure.rst | |||
@@ -4,7 +4,7 @@ | |||
4 | Source Directory Structure | 4 | Source Directory Structure |
5 | ************************** | 5 | ************************** |
6 | 6 | ||
7 | The `Source Directory <#source-directory>`__ consists of numerous files, | 7 | The :term:`Source Directory` consists of numerous files, |
8 | directories and subdirectories; understanding their locations and | 8 | directories and subdirectories; understanding their locations and |
9 | contents is key to using the Yocto Project effectively. This chapter | 9 | contents is key to using the Yocto Project effectively. This chapter |
10 | describes the Source Directory and gives information about those files | 10 | describes the Source Directory and gives information about those files |
@@ -36,7 +36,7 @@ Directory <#source-directory>`__. | |||
36 | 36 | ||
37 | This directory includes a copy of BitBake for ease of use. The copy | 37 | This directory includes a copy of BitBake for ease of use. The copy |
38 | usually matches the current stable BitBake release from the BitBake | 38 | usually matches the current stable BitBake release from the BitBake |
39 | project. BitBake, a `Metadata <#metadata>`__ interpreter, reads the | 39 | project. BitBake, a :term:`Metadata` interpreter, reads the |
40 | Yocto Project Metadata and runs the tasks defined by that data. Failures | 40 | Yocto Project Metadata and runs the tasks defined by that data. Failures |
41 | are usually caused by errors in your Metadata and not from BitBake | 41 | are usually caused by errors in your Metadata and not from BitBake |
42 | itself; consequently, most users do not need to worry about BitBake. | 42 | itself; consequently, most users do not need to worry about BitBake. |
@@ -63,7 +63,7 @@ the OpenEmbedded build environment setup script (i.e. | |||
63 | ````` <#structure-core-script>`__). | 63 | ````` <#structure-core-script>`__). |
64 | 64 | ||
65 | It is also possible to place output and configuration files in a | 65 | It is also possible to place output and configuration files in a |
66 | directory separate from the `Source Directory <#source-directory>`__ by | 66 | directory separate from the :term:`Source Directory` by |
67 | providing a directory name when you ``source`` the setup script. For | 67 | providing a directory name when you ``source`` the setup script. For |
68 | information on separating output from your local Source Directory files | 68 | information on separating output from your local Source Directory files |
69 | (commonly described as an "out of tree" build), see the | 69 | (commonly described as an "out of tree" build), see the |
@@ -152,7 +152,7 @@ BitBake commands. The script uses other scripts within the ``scripts`` | |||
152 | directory to do the bulk of the work. | 152 | directory to do the bulk of the work. |
153 | 153 | ||
154 | When you run this script, your Yocto Project environment is set up, a | 154 | When you run this script, your Yocto Project environment is set up, a |
155 | `Build Directory <#build-directory>`__ is created, your working | 155 | :term:`Build Directory` is created, your working |
156 | directory becomes the Build Directory, and you are presented with some | 156 | directory becomes the Build Directory, and you are presented with some |
157 | simple suggestions as to what to do next, including a list of some | 157 | simple suggestions as to what to do next, including a list of some |
158 | possible targets to build. Here is an example: $ source | 158 | possible targets to build. Here is an example: $ source |
@@ -162,7 +162,7 @@ core-image-sato meta-toolchain meta-ide-support You can also run | |||
162 | generated qemu images with a command like 'runqemu qemux86-64' The | 162 | generated qemu images with a command like 'runqemu qemux86-64' The |
163 | default output of the ``oe-init-build-env`` script is from the | 163 | default output of the ``oe-init-build-env`` script is from the |
164 | ``conf-notes.txt`` file, which is found in the ``meta-poky`` directory | 164 | ``conf-notes.txt`` file, which is found in the ``meta-poky`` directory |
165 | within the `Source Directory <#source-directory>`__. If you design a | 165 | within the :term:`Source Directory`. If you design a |
166 | custom distribution, you can include your own version of this | 166 | custom distribution, you can include your own version of this |
167 | configuration file to mention the targets defined by your distribution. | 167 | configuration file to mention the targets defined by your distribution. |
168 | See the "`Creating a Custom Template Configuration | 168 | See the "`Creating a Custom Template Configuration |
@@ -213,7 +213,7 @@ Directory a specific name when you run the setup script, the name | |||
213 | defaults to ``build/``. | 213 | defaults to ``build/``. |
214 | 214 | ||
215 | For subsequent parsing and processing, the name of the Build directory | 215 | For subsequent parsing and processing, the name of the Build directory |
216 | is available via the ```TOPDIR`` <#var-TOPDIR>`__ variable. | 216 | is available via the :term:`TOPDIR` variable. |
217 | 217 | ||
218 | .. _structure-build-buildhistory: | 218 | .. _structure-build-buildhistory: |
219 | 219 | ||
@@ -243,7 +243,7 @@ relatively rare. | |||
243 | 243 | ||
244 | At a minimum, you would normally edit this file to select the target | 244 | At a minimum, you would normally edit this file to select the target |
245 | ``MACHINE``, which package types you wish to use | 245 | ``MACHINE``, which package types you wish to use |
246 | (```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__), and the location from | 246 | (:term:`PACKAGE_CLASSES`), and the location from |
247 | which you want to access downloaded files (``DL_DIR``). | 247 | which you want to access downloaded files (``DL_DIR``). |
248 | 248 | ||
249 | If ``local.conf`` is not present when you start the build, the | 249 | If ``local.conf`` is not present when you start the build, the |
@@ -261,7 +261,7 @@ build environment from any layer by setting the variable in the | |||
261 | top-level build environment setup script as follows: | 261 | top-level build environment setup script as follows: |
262 | TEMPLATECONF=your_layer/conf Once the build process gets the sample | 262 | TEMPLATECONF=your_layer/conf Once the build process gets the sample |
263 | file, it uses ``sed`` to substitute final | 263 | file, it uses ``sed`` to substitute final |
264 | ``${``\ ```OEROOT`` <#var-OEROOT>`__\ ``}`` values for all | 264 | ``${``\ :term:`OEROOT`\ ``}`` values for all |
265 | ``##OEROOT##`` values. | 265 | ``##OEROOT##`` values. |
266 | 266 | ||
267 | .. note:: | 267 | .. note:: |
@@ -286,7 +286,7 @@ file, it uses ``sed`` to substitute final | |||
286 | This configuration file defines | 286 | This configuration file defines |
287 | `layers <&YOCTO_DOCS_DEV_URL;#understanding-and-creating-layers>`__, | 287 | `layers <&YOCTO_DOCS_DEV_URL;#understanding-and-creating-layers>`__, |
288 | which are directory trees, traversed (or walked) by BitBake. The | 288 | which are directory trees, traversed (or walked) by BitBake. The |
289 | ``bblayers.conf`` file uses the ```BBLAYERS`` <#var-BBLAYERS>`__ | 289 | ``bblayers.conf`` file uses the :term:`BBLAYERS` |
290 | variable to list the layers BitBake tries to find. | 290 | variable to list the layers BitBake tries to find. |
291 | 291 | ||
292 | If ``bblayers.conf`` is not present when you start the build, the | 292 | If ``bblayers.conf`` is not present when you start the build, the |
@@ -304,7 +304,7 @@ implies that you can base your build from any layer by setting the | |||
304 | variable in the top-level build environment setup script as follows: | 304 | variable in the top-level build environment setup script as follows: |
305 | TEMPLATECONF=your_layer/conf Once the build process gets the sample | 305 | TEMPLATECONF=your_layer/conf Once the build process gets the sample |
306 | file, it uses ``sed`` to substitute final | 306 | file, it uses ``sed`` to substitute final |
307 | ``${``\ ```OEROOT`` <#var-OEROOT>`__\ ``}`` values for all | 307 | ``${``\ :term:`OEROOT`\ ``}`` values for all |
308 | ``##OEROOT##`` values. | 308 | ``##OEROOT##`` values. |
309 | 309 | ||
310 | .. note:: | 310 | .. note:: |
@@ -355,7 +355,7 @@ You can control the location of this directory through the | |||
355 | -------------- | 355 | -------------- |
356 | 356 | ||
357 | The OpenEmbedded build system creates and uses this directory for all | 357 | The OpenEmbedded build system creates and uses this directory for all |
358 | the build system's output. The ```TMPDIR`` <#var-TMPDIR>`__ variable | 358 | the build system's output. The :term:`TMPDIR` variable |
359 | points to this directory. | 359 | points to this directory. |
360 | 360 | ||
361 | BitBake creates this directory if it does not exist. As a last resort, | 361 | BitBake creates this directory if it does not exist. As a last resort, |
@@ -393,7 +393,7 @@ cache is reused. If the file has changed, it is reparsed. | |||
393 | --------------------- | 393 | --------------------- |
394 | 394 | ||
395 | This directory contains any "end result" output from the OpenEmbedded | 395 | This directory contains any "end result" output from the OpenEmbedded |
396 | build process. The ```DEPLOY_DIR`` <#var-DEPLOY_DIR>`__ variable points | 396 | build process. The :term:`DEPLOY_DIR` variable points |
397 | to this directory. For more detail on the contents of the ``deploy`` | 397 | to this directory. For more detail on the contents of the ``deploy`` |
398 | directory, see the | 398 | directory, see the |
399 | "`Images <&YOCTO_DOCS_OM_URL;#images-dev-environment>`__" and | 399 | "`Images <&YOCTO_DOCS_OM_URL;#images-dev-environment>`__" and |
@@ -497,11 +497,11 @@ another. | |||
497 | ---------------------------------- | 497 | ---------------------------------- |
498 | 498 | ||
499 | This directory is the location of the sysroot contents that the task | 499 | This directory is the location of the sysroot contents that the task |
500 | ```do_prepare_recipe_sysroot`` <#ref-tasks-prepare_recipe_sysroot>`__ | 500 | :ref:`ref-tasks-prepare_recipe_sysroot` |
501 | links or copies into the recipe-specific sysroot for each recipe listed | 501 | links or copies into the recipe-specific sysroot for each recipe listed |
502 | in ```DEPENDS`` <#var-DEPENDS>`__. Population of this directory is | 502 | in :term:`DEPENDS`. Population of this directory is |
503 | handled through shared state, while the path is specified by the | 503 | handled through shared state, while the path is specified by the |
504 | ```COMPONENTS_DIR`` <#var-COMPONENTS_DIR>`__ variable. Apart from a few | 504 | :term:`COMPONENTS_DIR` variable. Apart from a few |
505 | unusual circumstances, handling of the ``sysroots-components`` directory | 505 | unusual circumstances, handling of the ``sysroots-components`` directory |
506 | should be automatic, and recipes should not directly reference | 506 | should be automatic, and recipes should not directly reference |
507 | ``build/tmp/sysroots-components``. | 507 | ``build/tmp/sysroots-components``. |
@@ -514,7 +514,7 @@ should be automatic, and recipes should not directly reference | |||
514 | Previous versions of the OpenEmbedded build system used to create a | 514 | Previous versions of the OpenEmbedded build system used to create a |
515 | global shared sysroot per machine along with a native sysroot. Beginning | 515 | global shared sysroot per machine along with a native sysroot. Beginning |
516 | with the DISTRO version of the Yocto Project, sysroots exist in | 516 | with the DISTRO version of the Yocto Project, sysroots exist in |
517 | recipe-specific ```WORKDIR`` <#var-WORKDIR>`__ directories. Thus, the | 517 | recipe-specific :term:`WORKDIR` directories. Thus, the |
518 | ``build/tmp/sysroots/`` directory is unused. | 518 | ``build/tmp/sysroots/`` directory is unused. |
519 | 519 | ||
520 | .. note:: | 520 | .. note:: |
@@ -566,7 +566,7 @@ directory. For example, the source for a particular package is unpacked, | |||
566 | patched, configured and compiled all within its own work directory. | 566 | patched, configured and compiled all within its own work directory. |
567 | Within the work directory, organization is based on the package group | 567 | Within the work directory, organization is based on the package group |
568 | and version for which the source is being compiled as defined by the | 568 | and version for which the source is being compiled as defined by the |
569 | ```WORKDIR`` <#var-WORKDIR>`__. | 569 | :term:`WORKDIR`. |
570 | 570 | ||
571 | It is worth considering the structure of a typical work directory. As an | 571 | It is worth considering the structure of a typical work directory. As an |
572 | example, consider ``linux-yocto-kernel-3.0`` on the machine ``qemux86`` | 572 | example, consider ``linux-yocto-kernel-3.0`` on the machine ``qemux86`` |
@@ -599,12 +599,12 @@ As described earlier in the | |||
599 | "```build/tmp/sysroots/`` <#structure-build-tmp-sysroots>`__" section, | 599 | "```build/tmp/sysroots/`` <#structure-build-tmp-sysroots>`__" section, |
600 | beginning with the DISTRO release of the Yocto Project, the OpenEmbedded | 600 | beginning with the DISTRO release of the Yocto Project, the OpenEmbedded |
601 | build system builds each recipe in its own work directory (i.e. | 601 | build system builds each recipe in its own work directory (i.e. |
602 | ```WORKDIR`` <#var-WORKDIR>`__). The path to the work directory is | 602 | :term:`WORKDIR`). The path to the work directory is |
603 | constructed using the architecture of the given build (e.g. | 603 | constructed using the architecture of the given build (e.g. |
604 | ```TUNE_PKGARCH`` <#var-TUNE_PKGARCH>`__, | 604 | :term:`TUNE_PKGARCH`, |
605 | ```MACHINE_ARCH`` <#var-MACHINE_ARCH>`__, or "allarch"), the recipe | 605 | :term:`MACHINE_ARCH`, or "allarch"), the recipe |
606 | name, and the version of the recipe (i.e. | 606 | name, and the version of the recipe (i.e. |
607 | ```PE`` <#var-PE>`__\ ``:``\ ```PV`` <#var-PV>`__\ ``-``\ ```PR`` <#var-PR>`__). | 607 | :term:`PE`\ ``:``\ :term:`PV`\ ``-``\ :term:`PR`). |
608 | 608 | ||
609 | A number of key subdirectories exist within each recipe work directory: | 609 | A number of key subdirectories exist within each recipe work directory: |
610 | 610 | ||
@@ -614,17 +614,17 @@ A number of key subdirectories exist within each recipe work directory: | |||
614 | which tasks were executed. | 614 | which tasks were executed. |
615 | 615 | ||
616 | - ``${WORKDIR}/image``: Contains the output of the | 616 | - ``${WORKDIR}/image``: Contains the output of the |
617 | ```do_install`` <#ref-tasks-install>`__ task, which corresponds to | 617 | :ref:`ref-tasks-install` task, which corresponds to |
618 | the ``${``\ ```D`` <#var-D>`__\ ``}`` variable in that task. | 618 | the ``${``\ :term:`D`\ ``}`` variable in that task. |
619 | 619 | ||
620 | - ``${WORKDIR}/pseudo``: Contains the pseudo database and log for any | 620 | - ``${WORKDIR}/pseudo``: Contains the pseudo database and log for any |
621 | tasks executed under pseudo for the recipe. | 621 | tasks executed under pseudo for the recipe. |
622 | 622 | ||
623 | - ``${WORKDIR}/sysroot-destdir``: Contains the output of the | 623 | - ``${WORKDIR}/sysroot-destdir``: Contains the output of the |
624 | ```do_populate_sysroot`` <#ref-tasks-populate_sysroot>`__ task. | 624 | :ref:`ref-tasks-populate_sysroot` task. |
625 | 625 | ||
626 | - ``${WORKDIR}/package``: Contains the output of the | 626 | - ``${WORKDIR}/package``: Contains the output of the |
627 | ```do_package`` <#ref-tasks-package>`__ task before the output is | 627 | :ref:`ref-tasks-package` task before the output is |
628 | split into individual packages. | 628 | split into individual packages. |
629 | 629 | ||
630 | - ``${WORKDIR}/packages-split``: Contains the output of the | 630 | - ``${WORKDIR}/packages-split``: Contains the output of the |
@@ -645,7 +645,7 @@ A number of key subdirectories exist within each recipe work directory: | |||
645 | - ``${WORKDIR}/build``: This subdirectory applies only to recipes that | 645 | - ``${WORKDIR}/build``: This subdirectory applies only to recipes that |
646 | support builds where the source is separate from the build artifacts. | 646 | support builds where the source is separate from the build artifacts. |
647 | The OpenEmbedded build system uses this directory as a separate build | 647 | The OpenEmbedded build system uses this directory as a separate build |
648 | directory (i.e. ``${``\ ```B`` <#var-B>`__\ ``}``). | 648 | directory (i.e. ``${``\ :term:`B`\ ``}``). |
649 | 649 | ||
650 | .. _structure-build-work-shared: | 650 | .. _structure-build-work-shared: |
651 | 651 | ||
@@ -662,7 +662,7 @@ recipes. In practice, this is only used for ``gcc`` and its variants | |||
662 | The Metadata - ``meta/`` | 662 | The Metadata - ``meta/`` |
663 | ======================== | 663 | ======================== |
664 | 664 | ||
665 | As mentioned previously, `Metadata <#metadata>`__ is the core of the | 665 | As mentioned previously, :term:`Metadata` is the core of the |
666 | Yocto Project. Metadata has several important subdivisions: | 666 | Yocto Project. Metadata has several important subdivisions: |
667 | 667 | ||
668 | .. _structure-meta-classes: | 668 | .. _structure-meta-classes: |
@@ -681,7 +681,7 @@ generation or packaging also have their specific class files such as | |||
681 | ``image.bbclass``, ``rootfs_*.bbclass`` and ``package*.bbclass``. | 681 | ``image.bbclass``, ``rootfs_*.bbclass`` and ``package*.bbclass``. |
682 | 682 | ||
683 | For reference information on classes, see the | 683 | For reference information on classes, see the |
684 | "`Classes <#ref-classes>`__" chapter. | 684 | ":ref:`ref-manual/ref-classes:Classes`" chapter. |
685 | 685 | ||
686 | .. _structure-meta-conf: | 686 | .. _structure-meta-conf: |
687 | 687 | ||
@@ -726,7 +726,7 @@ file mainly inherits its configuration from Poky. | |||
726 | 726 | ||
727 | The OpenEmbedded build system searches this directory for configuration | 727 | The OpenEmbedded build system searches this directory for configuration |
728 | files that correspond to the value of | 728 | files that correspond to the value of |
729 | ```SDKMACHINE`` <#var-SDKMACHINE>`__. By default, 32-bit and 64-bit x86 | 729 | :term:`SDKMACHINE`. By default, 32-bit and 64-bit x86 |
730 | files ship with the Yocto Project that support some SDK hosts. However, | 730 | files ship with the Yocto Project that support some SDK hosts. However, |
731 | it is possible to extend that support to other SDK hosts by adding | 731 | it is possible to extend that support to other SDK hosts by adding |
732 | additional configuration files in this subdirectory within another | 732 | additional configuration files in this subdirectory within another |
diff --git a/documentation/ref-manual/ref-tasks.rst b/documentation/ref-manual/ref-tasks.rst index 1e4b8197a0..aa7c0df552 100644 --- a/documentation/ref-manual/ref-tasks.rst +++ b/documentation/ref-manual/ref-tasks.rst | |||
@@ -32,7 +32,7 @@ tasks required to build a recipe. | |||
32 | -------------- | 32 | -------------- |
33 | 33 | ||
34 | Compiles the source code. This task runs with the current working | 34 | Compiles the source code. This task runs with the current working |
35 | directory set to ``${``\ ```B`` <#var-B>`__\ ``}``. | 35 | directory set to ``${``\ :term:`B`\ ``}``. |
36 | 36 | ||
37 | The default behavior of this task is to run the ``oe_runmake`` function | 37 | The default behavior of this task is to run the ``oe_runmake`` function |
38 | if a makefile (``Makefile``, ``makefile``, or ``GNUmakefile``) is found. | 38 | if a makefile (``Makefile``, ``makefile``, or ``GNUmakefile``) is found. |
@@ -52,11 +52,11 @@ Compiles the runtime test suite included in the software being built. | |||
52 | 52 | ||
53 | Configures the source by enabling and disabling any build-time and | 53 | Configures the source by enabling and disabling any build-time and |
54 | configuration options for the software being built. The task runs with | 54 | configuration options for the software being built. The task runs with |
55 | the current working directory set to ``${``\ ```B`` <#var-B>`__\ ``}``. | 55 | the current working directory set to ``${``\ :term:`B`\ ``}``. |
56 | 56 | ||
57 | The default behavior of this task is to run ``oe_runmake clean`` if a | 57 | The default behavior of this task is to run ``oe_runmake clean`` if a |
58 | makefile (``Makefile``, ``makefile``, or ``GNUmakefile``) is found and | 58 | makefile (``Makefile``, ``makefile``, or ``GNUmakefile``) is found and |
59 | ```CLEANBROKEN`` <#var-CLEANBROKEN>`__ is not set to "1". If no such | 59 | :term:`CLEANBROKEN` is not set to "1". If no such |
60 | file is found or the ``CLEANBROKEN`` variable is set to "1", the | 60 | file is found or the ``CLEANBROKEN`` variable is set to "1", the |
61 | ``do_configure`` task does nothing. | 61 | ``do_configure`` task does nothing. |
62 | 62 | ||
@@ -73,13 +73,13 @@ Configures the runtime test suite included in the software being built. | |||
73 | ------------- | 73 | ------------- |
74 | 74 | ||
75 | Writes output files that are to be deployed to | 75 | Writes output files that are to be deployed to |
76 | ``${``\ ```DEPLOY_DIR_IMAGE`` <#var-DEPLOY_DIR_IMAGE>`__\ ``}``. The | 76 | ``${``\ :term:`DEPLOY_DIR_IMAGE`\ ``}``. The |
77 | task runs with the current working directory set to | 77 | task runs with the current working directory set to |
78 | ``${``\ ```B`` <#var-B>`__\ ``}``. | 78 | ``${``\ :term:`B`\ ``}``. |
79 | 79 | ||
80 | Recipes implementing this task should inherit the | 80 | Recipes implementing this task should inherit the |
81 | ```deploy`` <#ref-classes-deploy>`__ class and should write the output | 81 | :ref:`deploy <ref-classes-deploy>` class and should write the output |
82 | to ``${``\ ```DEPLOYDIR`` <#var-DEPLOYDIR>`__\ ``}``, which is not to be | 82 | to ``${``\ :term:`DEPLOYDIR`\ ``}``, which is not to be |
83 | confused with ``${DEPLOY_DIR}``. The ``deploy`` class sets up | 83 | confused with ``${DEPLOY_DIR}``. The ``deploy`` class sets up |
84 | ``do_deploy`` as a shared state (sstate) task that can be accelerated | 84 | ``do_deploy`` as a shared state (sstate) task that can be accelerated |
85 | through sstate use. The sstate mechanism takes care of copying the | 85 | through sstate use. The sstate mechanism takes care of copying the |
@@ -93,7 +93,7 @@ output from ``${DEPLOYDIR}`` to ``${DEPLOY_DIR_IMAGE}``. | |||
93 | 93 | ||
94 | The ``do_deploy`` task is not added as a task by default and | 94 | The ``do_deploy`` task is not added as a task by default and |
95 | consequently needs to be added manually. If you want the task to run | 95 | consequently needs to be added manually. If you want the task to run |
96 | after ```do_compile`` <#ref-tasks-compile>`__, you can add it by doing | 96 | after :ref:`ref-tasks-compile`, you can add it by doing |
97 | the following: addtask deploy after do_compile Adding ``do_deploy`` | 97 | the following: addtask deploy after do_compile Adding ``do_deploy`` |
98 | after other tasks works the same way. | 98 | after other tasks works the same way. |
99 | 99 | ||
@@ -124,7 +124,7 @@ If the ``do_deploy`` task re-executes, any previous output is removed | |||
124 | ------------ | 124 | ------------ |
125 | 125 | ||
126 | Fetches the source code. This task uses the | 126 | Fetches the source code. This task uses the |
127 | ```SRC_URI`` <#var-SRC_URI>`__ variable and the argument's prefix to | 127 | :term:`SRC_URI` variable and the argument's prefix to |
128 | determine the correct `fetcher <&YOCTO_DOCS_BB_URL;#bb-fetchers>`__ | 128 | determine the correct `fetcher <&YOCTO_DOCS_BB_URL;#bb-fetchers>`__ |
129 | module. | 129 | module. |
130 | 130 | ||
@@ -135,12 +135,12 @@ module. | |||
135 | 135 | ||
136 | Starts the image generation process. The ``do_image`` task runs after | 136 | Starts the image generation process. The ``do_image`` task runs after |
137 | the OpenEmbedded build system has run the | 137 | the OpenEmbedded build system has run the |
138 | ```do_rootfs`` <#ref-tasks-rootfs>`__ task during which packages are | 138 | :ref:`ref-tasks-rootfs` task during which packages are |
139 | identified for installation into the image and the root filesystem is | 139 | identified for installation into the image and the root filesystem is |
140 | created, complete with post-processing. | 140 | created, complete with post-processing. |
141 | 141 | ||
142 | The ``do_image`` task performs pre-processing on the image through the | 142 | The ``do_image`` task performs pre-processing on the image through the |
143 | ```IMAGE_PREPROCESS_COMMAND`` <#var-IMAGE_PREPROCESS_COMMAND>`__ and | 143 | :term:`IMAGE_PREPROCESS_COMMAND` and |
144 | dynamically generates supporting ``do_image_*`` tasks as needed. | 144 | dynamically generates supporting ``do_image_*`` tasks as needed. |
145 | 145 | ||
146 | For more information on image creation, see the "`Image | 146 | For more information on image creation, see the "`Image |
@@ -154,13 +154,13 @@ section in the Yocto Project Overview and Concepts Manual. | |||
154 | 154 | ||
155 | Completes the image generation process. The ``do_image_complete`` task | 155 | Completes the image generation process. The ``do_image_complete`` task |
156 | runs after the OpenEmbedded build system has run the | 156 | runs after the OpenEmbedded build system has run the |
157 | ```do_image`` <#ref-tasks-image>`__ task during which image | 157 | :ref:`ref-tasks-image` task during which image |
158 | pre-processing occurs and through dynamically generated ``do_image_*`` | 158 | pre-processing occurs and through dynamically generated ``do_image_*`` |
159 | tasks the image is constructed. | 159 | tasks the image is constructed. |
160 | 160 | ||
161 | The ``do_image_complete`` task performs post-processing on the image | 161 | The ``do_image_complete`` task performs post-processing on the image |
162 | through the | 162 | through the |
163 | ```IMAGE_POSTPROCESS_COMMAND`` <#var-IMAGE_POSTPROCESS_COMMAND>`__. | 163 | :term:`IMAGE_POSTPROCESS_COMMAND`. |
164 | 164 | ||
165 | For more information on image creation, see the "`Image | 165 | For more information on image creation, see the "`Image |
166 | Generation <&YOCTO_DOCS_OM_URL;#image-generation-dev-environment>`__" | 166 | Generation <&YOCTO_DOCS_OM_URL;#image-generation-dev-environment>`__" |
@@ -172,13 +172,13 @@ section in the Yocto Project Overview and Concepts Manual. | |||
172 | -------------- | 172 | -------------- |
173 | 173 | ||
174 | Copies files that are to be packaged into the holding area | 174 | Copies files that are to be packaged into the holding area |
175 | ``${``\ ```D`` <#var-D>`__\ ``}``. This task runs with the current | 175 | ``${``\ :term:`D`\ ``}``. This task runs with the current |
176 | working directory set to ``${``\ ```B`` <#var-B>`__\ ``}``, which is the | 176 | working directory set to ``${``\ :term:`B`\ ``}``, which is the |
177 | compilation directory. The ``do_install`` task, as well as other tasks | 177 | compilation directory. The ``do_install`` task, as well as other tasks |
178 | that either directly or indirectly depend on the installed files (e.g. | 178 | that either directly or indirectly depend on the installed files (e.g. |
179 | ```do_package`` <#ref-tasks-package>`__, | 179 | :ref:`ref-tasks-package`, |
180 | ```do_package_write_*`` <#ref-tasks-package_write_deb>`__, and | 180 | ```do_package_write_*`` <#ref-tasks-package_write_deb>`__, and |
181 | ```do_rootfs`` <#ref-tasks-rootfs>`__), run under | 181 | :ref:`ref-tasks-rootfs`), run under |
182 | `fakeroot <&YOCTO_DOCS_OM_URL;#fakeroot-and-pseudo>`__. | 182 | `fakeroot <&YOCTO_DOCS_OM_URL;#fakeroot-and-pseudo>`__. |
183 | 183 | ||
184 | .. note:: | 184 | .. note:: |
@@ -199,7 +199,7 @@ that either directly or indirectly depend on the installed files (e.g. | |||
199 | 199 | ||
200 | - The ``tar`` command with the "--no-same-owner" option. See the | 200 | - The ``tar`` command with the "--no-same-owner" option. See the |
201 | ``bin_package.bbclass`` file in the ``meta/classes`` directory of | 201 | ``bin_package.bbclass`` file in the ``meta/classes`` directory of |
202 | the `Source Directory <#source-directory>`__ for an example. | 202 | the :term:`Source Directory` for an example. |
203 | 203 | ||
204 | .. _ref-tasks-install_ptest_base: | 204 | .. _ref-tasks-install_ptest_base: |
205 | 205 | ||
@@ -215,15 +215,15 @@ holding area. | |||
215 | -------------- | 215 | -------------- |
216 | 216 | ||
217 | Analyzes the content of the holding area | 217 | Analyzes the content of the holding area |
218 | ``${``\ ```D`` <#var-D>`__\ ``}`` and splits the content into subsets | 218 | ``${``\ :term:`D`\ ``}`` and splits the content into subsets |
219 | based on available packages and files. This task makes use of the | 219 | based on available packages and files. This task makes use of the |
220 | ```PACKAGES`` <#var-PACKAGES>`__ and ```FILES`` <#var-FILES>`__ | 220 | :term:`PACKAGES` and :term:`FILES` |
221 | variables. | 221 | variables. |
222 | 222 | ||
223 | The ``do_package`` task, in conjunction with the | 223 | The ``do_package`` task, in conjunction with the |
224 | ```do_packagedata`` <#ref-tasks-packagedata>`__ task, also saves some | 224 | :ref:`ref-tasks-packagedata` task, also saves some |
225 | important package metadata. For additional information, see the | 225 | important package metadata. For additional information, see the |
226 | ```PKGDESTWORK`` <#var-PKGDESTWORK>`__ variable and the "`Automatically | 226 | :term:`PKGDESTWORK` variable and the "`Automatically |
227 | Added Runtime | 227 | Added Runtime |
228 | Dependencies <&YOCTO_DOCS_OM_URL;#automatically-added-runtime-dependencies>`__" | 228 | Dependencies <&YOCTO_DOCS_OM_URL;#automatically-added-runtime-dependencies>`__" |
229 | section in the Yocto Project Overview and Concepts Manual. | 229 | section in the Yocto Project Overview and Concepts Manual. |
@@ -234,7 +234,7 @@ section in the Yocto Project Overview and Concepts Manual. | |||
234 | ----------------- | 234 | ----------------- |
235 | 235 | ||
236 | Runs QA checks on packaged files. For more information on these checks, | 236 | Runs QA checks on packaged files. For more information on these checks, |
237 | see the ```insane`` <#ref-classes-insane>`__ class. | 237 | see the :ref:`insane <ref-classes-insane>` class. |
238 | 238 | ||
239 | .. _ref-tasks-package_write_deb: | 239 | .. _ref-tasks-package_write_deb: |
240 | 240 | ||
@@ -242,7 +242,7 @@ see the ```insane`` <#ref-classes-insane>`__ class. | |||
242 | ------------------------ | 242 | ------------------------ |
243 | 243 | ||
244 | Creates Debian packages (i.e. ``*.deb`` files) and places them in the | 244 | Creates Debian packages (i.e. ``*.deb`` files) and places them in the |
245 | ``${``\ ```DEPLOY_DIR_DEB`` <#var-DEPLOY_DIR_DEB>`__\ ``}`` directory in | 245 | ``${``\ :term:`DEPLOY_DIR_DEB`\ ``}`` directory in |
246 | the package feeds area. For more information, see the "`Package | 246 | the package feeds area. For more information, see the "`Package |
247 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section in | 247 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section in |
248 | the Yocto Project Overview and Concepts Manual. | 248 | the Yocto Project Overview and Concepts Manual. |
@@ -253,7 +253,7 @@ the Yocto Project Overview and Concepts Manual. | |||
253 | ------------------------ | 253 | ------------------------ |
254 | 254 | ||
255 | Creates IPK packages (i.e. ``*.ipk`` files) and places them in the | 255 | Creates IPK packages (i.e. ``*.ipk`` files) and places them in the |
256 | ``${``\ ```DEPLOY_DIR_IPK`` <#var-DEPLOY_DIR_IPK>`__\ ``}`` directory in | 256 | ``${``\ :term:`DEPLOY_DIR_IPK`\ ``}`` directory in |
257 | the package feeds area. For more information, see the "`Package | 257 | the package feeds area. For more information, see the "`Package |
258 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section in | 258 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section in |
259 | the Yocto Project Overview and Concepts Manual. | 259 | the Yocto Project Overview and Concepts Manual. |
@@ -264,7 +264,7 @@ the Yocto Project Overview and Concepts Manual. | |||
264 | ------------------------ | 264 | ------------------------ |
265 | 265 | ||
266 | Creates RPM packages (i.e. ``*.rpm`` files) and places them in the | 266 | Creates RPM packages (i.e. ``*.rpm`` files) and places them in the |
267 | ``${``\ ```DEPLOY_DIR_RPM`` <#var-DEPLOY_DIR_RPM>`__\ ``}`` directory in | 267 | ``${``\ :term:`DEPLOY_DIR_RPM`\ ``}`` directory in |
268 | the package feeds area. For more information, see the "`Package | 268 | the package feeds area. For more information, see the "`Package |
269 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section in | 269 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section in |
270 | the Yocto Project Overview and Concepts Manual. | 270 | the Yocto Project Overview and Concepts Manual. |
@@ -275,7 +275,7 @@ the Yocto Project Overview and Concepts Manual. | |||
275 | ------------------------ | 275 | ------------------------ |
276 | 276 | ||
277 | Creates tarballs and places them in the | 277 | Creates tarballs and places them in the |
278 | ``${``\ ```DEPLOY_DIR_TAR`` <#var-DEPLOY_DIR_TAR>`__\ ``}`` directory in | 278 | ``${``\ :term:`DEPLOY_DIR_TAR`\ ``}`` directory in |
279 | the package feeds area. For more information, see the "`Package | 279 | the package feeds area. For more information, see the "`Package |
280 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section in | 280 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section in |
281 | the Yocto Project Overview and Concepts Manual. | 281 | the Yocto Project Overview and Concepts Manual. |
@@ -286,8 +286,8 @@ the Yocto Project Overview and Concepts Manual. | |||
286 | ------------------ | 286 | ------------------ |
287 | 287 | ||
288 | Saves package metadata generated by the | 288 | Saves package metadata generated by the |
289 | ```do_package`` <#ref-tasks-package>`__ task in | 289 | :ref:`ref-tasks-package` task in |
290 | ```PKGDATA_DIR`` <#var-PKGDATA_DIR>`__ to make it available globally. | 290 | :term:`PKGDATA_DIR` to make it available globally. |
291 | 291 | ||
292 | .. _ref-tasks-patch: | 292 | .. _ref-tasks-patch: |
293 | 293 | ||
@@ -297,7 +297,7 @@ Saves package metadata generated by the | |||
297 | Locates patch files and applies them to the source code. | 297 | Locates patch files and applies them to the source code. |
298 | 298 | ||
299 | After fetching and unpacking source files, the build system uses the | 299 | After fetching and unpacking source files, the build system uses the |
300 | recipe's ```SRC_URI`` <&YOCTO_DOCS_REF_URL;#var-SRC_URI>`__ statements | 300 | recipe's :term:`SRC_URI` statements |
301 | to locate and apply patch files to the source code. | 301 | to locate and apply patch files to the source code. |
302 | 302 | ||
303 | .. note:: | 303 | .. note:: |
@@ -375,7 +375,7 @@ information. | |||
375 | ----------------------- | 375 | ----------------------- |
376 | 376 | ||
377 | Stages (copies) a subset of the files installed by the | 377 | Stages (copies) a subset of the files installed by the |
378 | ```do_install`` <#ref-tasks-install>`__ task into the appropriate | 378 | :ref:`ref-tasks-install` task into the appropriate |
379 | sysroot. For information on how to access these files from other | 379 | sysroot. For information on how to access these files from other |
380 | recipes, see the ```STAGING_DIR*`` <#var-STAGING_DIR_HOST>`__ variables. | 380 | recipes, see the ```STAGING_DIR*`` <#var-STAGING_DIR_HOST>`__ variables. |
381 | Directories that would typically not be needed by other recipes at build | 381 | Directories that would typically not be needed by other recipes at build |
@@ -398,9 +398,9 @@ that if the task is re-executed, any previous output is removed (i.e. | |||
398 | 398 | ||
399 | Installs the files into the individual recipe specific sysroots (i.e. | 399 | Installs the files into the individual recipe specific sysroots (i.e. |
400 | ``recipe-sysroot`` and ``recipe-sysroot-native`` under | 400 | ``recipe-sysroot`` and ``recipe-sysroot-native`` under |
401 | ``${``\ ```WORKDIR`` <#var-WORKDIR>`__\ ``}`` based upon the | 401 | ``${``\ :term:`WORKDIR`\ ``}`` based upon the |
402 | dependencies specified by ```DEPENDS`` <#var-DEPENDS>`__). See the | 402 | dependencies specified by :term:`DEPENDS`). See the |
403 | "```staging`` <#ref-classes-staging>`__" class for more information. | 403 | ":ref:`staging <ref-classes-staging>`" class for more information. |
404 | 404 | ||
405 | .. _ref-tasks-rm_work: | 405 | .. _ref-tasks-rm_work: |
406 | 406 | ||
@@ -417,7 +417,7 @@ them. You can learn more by looking at the | |||
417 | ------------- | 417 | ------------- |
418 | 418 | ||
419 | Unpacks the source code into a working directory pointed to by | 419 | Unpacks the source code into a working directory pointed to by |
420 | ``${``\ ```WORKDIR`` <#var-WORKDIR>`__\ ``}``. The ```S`` <#var-S>`__ | 420 | ``${``\ :term:`WORKDIR`\ ``}``. The :term:`S` |
421 | variable also plays a role in where unpacked source files ultimately | 421 | variable also plays a role in where unpacked source files ultimately |
422 | reside. For more information on how source files are unpacked, see the | 422 | reside. For more information on how source files are unpacked, see the |
423 | "`Source | 423 | "`Source |
@@ -459,7 +459,7 @@ default, the results are stored in ```$LOG_DIR`` <#var-LOG_DIR>`__ (e.g. | |||
459 | ``do_checkuri`` | 459 | ``do_checkuri`` |
460 | --------------- | 460 | --------------- |
461 | 461 | ||
462 | Validates the ```SRC_URI`` <#var-SRC_URI>`__ value. | 462 | Validates the :term:`SRC_URI` value. |
463 | 463 | ||
464 | .. _ref-tasks-clean: | 464 | .. _ref-tasks-clean: |
465 | 465 | ||
@@ -467,11 +467,11 @@ Validates the ```SRC_URI`` <#var-SRC_URI>`__ value. | |||
467 | ------------ | 467 | ------------ |
468 | 468 | ||
469 | Removes all output files for a target from the | 469 | Removes all output files for a target from the |
470 | ```do_unpack`` <#ref-tasks-unpack>`__ task forward (i.e. ``do_unpack``, | 470 | :ref:`ref-tasks-unpack` task forward (i.e. ``do_unpack``, |
471 | ```do_configure`` <#ref-tasks-configure>`__, | 471 | :ref:`ref-tasks-configure`, |
472 | ```do_compile`` <#ref-tasks-compile>`__, | 472 | :ref:`ref-tasks-compile`, |
473 | ```do_install`` <#ref-tasks-install>`__, and | 473 | :ref:`ref-tasks-install`, and |
474 | ```do_package`` <#ref-tasks-package>`__). | 474 | :ref:`ref-tasks-package`). |
475 | 475 | ||
476 | You can run this task using BitBake as follows: $ bitbake -c clean | 476 | You can run this task using BitBake as follows: $ bitbake -c clean |
477 | recipe | 477 | recipe |
@@ -481,7 +481,7 @@ Running this task does not remove the | |||
481 | Consequently, if no changes have been made and the recipe is rebuilt | 481 | Consequently, if no changes have been made and the recipe is rebuilt |
482 | after cleaning, output files are simply restored from the sstate cache. | 482 | after cleaning, output files are simply restored from the sstate cache. |
483 | If you want to remove the sstate cache files for the recipe, you need to | 483 | If you want to remove the sstate cache files for the recipe, you need to |
484 | use the ```do_cleansstate`` <#ref-tasks-cleansstate>`__ task instead | 484 | use the :ref:`ref-tasks-cleansstate` task instead |
485 | (i.e. ``bitbake -c cleansstate`` recipe). | 485 | (i.e. ``bitbake -c cleansstate`` recipe). |
486 | 486 | ||
487 | .. _ref-tasks-cleanall: | 487 | .. _ref-tasks-cleanall: |
@@ -492,15 +492,15 @@ use the ```do_cleansstate`` <#ref-tasks-cleansstate>`__ task instead | |||
492 | Removes all output files, shared state | 492 | Removes all output files, shared state |
493 | (`sstate <&YOCTO_DOCS_OM_URL;#shared-state-cache>`__) cache, and | 493 | (`sstate <&YOCTO_DOCS_OM_URL;#shared-state-cache>`__) cache, and |
494 | downloaded source files for a target (i.e. the contents of | 494 | downloaded source files for a target (i.e. the contents of |
495 | ```DL_DIR`` <#var-DL_DIR>`__). Essentially, the ``do_cleanall`` task is | 495 | :term:`DL_DIR`). Essentially, the ``do_cleanall`` task is |
496 | identical to the ```do_cleansstate`` <#ref-tasks-cleansstate>`__ task | 496 | identical to the :ref:`ref-tasks-cleansstate` task |
497 | with the added removal of downloaded source files. | 497 | with the added removal of downloaded source files. |
498 | 498 | ||
499 | You can run this task using BitBake as follows: $ bitbake -c cleanall | 499 | You can run this task using BitBake as follows: $ bitbake -c cleanall |
500 | recipe | 500 | recipe |
501 | 501 | ||
502 | Typically, you would not normally use the ``cleanall`` task. Do so only | 502 | Typically, you would not normally use the ``cleanall`` task. Do so only |
503 | if you want to start fresh with the ```do_fetch`` <#ref-tasks-fetch>`__ | 503 | if you want to start fresh with the :ref:`ref-tasks-fetch` |
504 | task. | 504 | task. |
505 | 505 | ||
506 | .. _ref-tasks-cleansstate: | 506 | .. _ref-tasks-cleansstate: |
@@ -511,7 +511,7 @@ task. | |||
511 | Removes all output files and shared state | 511 | Removes all output files and shared state |
512 | (`sstate <&YOCTO_DOCS_OM_URL;#shared-state-cache>`__) cache for a | 512 | (`sstate <&YOCTO_DOCS_OM_URL;#shared-state-cache>`__) cache for a |
513 | target. Essentially, the ``do_cleansstate`` task is identical to the | 513 | target. Essentially, the ``do_cleansstate`` task is identical to the |
514 | ```do_clean`` <#ref-tasks-clean>`__ task with the added removal of | 514 | :ref:`ref-tasks-clean` task with the added removal of |
515 | shared state (`sstate <&YOCTO_DOCS_OM_URL;#shared-state-cache>`__) | 515 | shared state (`sstate <&YOCTO_DOCS_OM_URL;#shared-state-cache>`__) |
516 | cache. | 516 | cache. |
517 | 517 | ||
@@ -596,7 +596,7 @@ The following tasks are applicable to image recipes. | |||
596 | -------------- | 596 | -------------- |
597 | 597 | ||
598 | Creates a bootable live image. See the | 598 | Creates a bootable live image. See the |
599 | ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ variable for additional | 599 | :term:`IMAGE_FSTYPES` variable for additional |
600 | information on live image types. | 600 | information on live image types. |
601 | 601 | ||
602 | .. _ref-tasks-bundle_initramfs: | 602 | .. _ref-tasks-bundle_initramfs: |
@@ -606,7 +606,7 @@ information on live image types. | |||
606 | 606 | ||
607 | Combines an initial RAM disk (initramfs) image and kernel together to | 607 | Combines an initial RAM disk (initramfs) image and kernel together to |
608 | form a single image. The | 608 | form a single image. The |
609 | ```CONFIG_INITRAMFS_SOURCE`` <#var-CONFIG_INITRAMFS_SOURCE>`__ variable | 609 | :term:`CONFIG_INITRAMFS_SOURCE` variable |
610 | has some more information about these types of images. | 610 | has some more information about these types of images. |
611 | 611 | ||
612 | .. _ref-tasks-rootfs: | 612 | .. _ref-tasks-rootfs: |
@@ -638,7 +638,7 @@ section in the Yocto Project Development Tasks Manual. | |||
638 | 638 | ||
639 | Boots an image and performs runtime tests within the image immediately | 639 | Boots an image and performs runtime tests within the image immediately |
640 | after it has been built. This task is enabled when you set | 640 | after it has been built. This task is enabled when you set |
641 | ```TESTIMAGE_AUTO`` <#var-TESTIMAGE_AUTO>`__ equal to "1". | 641 | :term:`TESTIMAGE_AUTO` equal to "1". |
642 | 642 | ||
643 | For information on automatically testing images, see the "`Performing | 643 | For information on automatically testing images, see the "`Performing |
644 | Automated Runtime | 644 | Automated Runtime |
@@ -649,7 +649,7 @@ Kernel-Related Tasks | |||
649 | ==================== | 649 | ==================== |
650 | 650 | ||
651 | The following tasks are applicable to kernel recipes. Some of these | 651 | The following tasks are applicable to kernel recipes. Some of these |
652 | tasks (e.g. the ```do_menuconfig`` <#ref-tasks-menuconfig>`__ task) are | 652 | tasks (e.g. the :ref:`ref-tasks-menuconfig` task) are |
653 | also applicable to recipes that use Linux kernel style configuration | 653 | also applicable to recipes that use Linux kernel style configuration |
654 | such as the BusyBox recipe. | 654 | such as the BusyBox recipe. |
655 | 655 | ||
@@ -669,9 +669,9 @@ kernel consists of two steps: 1) the kernel (``vmlinux``) is built, and | |||
669 | 669 | ||
670 | When invoked by the user, this task creates a file containing the | 670 | When invoked by the user, this task creates a file containing the |
671 | differences between the original config as produced by | 671 | differences between the original config as produced by |
672 | ```do_kernel_configme`` <#ref-tasks-kernel_configme>`__ task and the | 672 | :ref:`ref-tasks-kernel_configme` task and the |
673 | changes made by the user with other methods (i.e. using | 673 | changes made by the user with other methods (i.e. using |
674 | (```do_kernel_menuconfig`` <#ref-tasks-kernel_menuconfig>`__). Once the | 674 | (:ref:`ref-tasks-kernel_menuconfig`). Once the |
675 | file of differences is created, it can be used to create a config | 675 | file of differences is created, it can be used to create a config |
676 | fragment that only contains the differences. You can invoke this task | 676 | fragment that only contains the differences. You can invoke this task |
677 | from the command line as follows: $ bitbake linux-yocto -c diffconfig | 677 | from the command line as follows: $ bitbake linux-yocto -c diffconfig |
@@ -696,7 +696,7 @@ kernel with the correct branches checked out. | |||
696 | ------------------------- | 696 | ------------------------- |
697 | 697 | ||
698 | Validates the configuration produced by the | 698 | Validates the configuration produced by the |
699 | ```do_kernel_menuconfig`` <#ref-tasks-kernel_menuconfig>`__ task. The | 699 | :ref:`ref-tasks-kernel_menuconfig` task. The |
700 | ``do_kernel_configcheck`` task produces warnings when a requested | 700 | ``do_kernel_configcheck`` task produces warnings when a requested |
701 | configuration does not appear in the final ``.config`` file or when you | 701 | configuration does not appear in the final ``.config`` file or when you |
702 | override a policy configuration in a hardware configuration fragment. | 702 | override a policy configuration in a hardware configuration fragment. |
@@ -711,7 +711,7 @@ section in the Yocto Project Linux Kernel Development Manual. | |||
711 | ``do_kernel_configme`` | 711 | ``do_kernel_configme`` |
712 | ---------------------- | 712 | ---------------------- |
713 | 713 | ||
714 | After the kernel is patched by the ```do_patch`` <#ref-tasks-patch>`__ | 714 | After the kernel is patched by the :ref:`ref-tasks-patch` |
715 | task, the ``do_kernel_configme`` task assembles and merges all the | 715 | task, the ``do_kernel_configme`` task assembles and merges all the |
716 | kernel config fragments into a merged configuration that can then be | 716 | kernel config fragments into a merged configuration that can then be |
717 | passed to the kernel configuration phase proper. This is also the time | 717 | passed to the kernel configuration phase proper. This is also the time |
@@ -746,12 +746,12 @@ information on this configuration tool. | |||
746 | ---------------------- | 746 | ---------------------- |
747 | 747 | ||
748 | Collects all the features required for a given kernel build, whether the | 748 | Collects all the features required for a given kernel build, whether the |
749 | features come from ```SRC_URI`` <#var-SRC_URI>`__ or from Git | 749 | features come from :term:`SRC_URI` or from Git |
750 | repositories. After collection, the ``do_kernel_metadata`` task | 750 | repositories. After collection, the ``do_kernel_metadata`` task |
751 | processes the features into a series of config fragments and patches, | 751 | processes the features into a series of config fragments and patches, |
752 | which can then be applied by subsequent tasks such as | 752 | which can then be applied by subsequent tasks such as |
753 | ```do_patch`` <#ref-tasks-patch>`__ and | 753 | :ref:`ref-tasks-patch` and |
754 | ```do_kernel_configme`` <#ref-tasks-kernel_configme>`__. | 754 | :ref:`ref-tasks-kernel_configme`. |
755 | 755 | ||
756 | .. _ref-tasks-menuconfig: | 756 | .. _ref-tasks-menuconfig: |
757 | 757 | ||
@@ -772,7 +772,7 @@ When invoked by the user, creates a defconfig file that can be used | |||
772 | instead of the default defconfig. The saved defconfig contains the | 772 | instead of the default defconfig. The saved defconfig contains the |
773 | differences between the default defconfig and the changes made by the | 773 | differences between the default defconfig and the changes made by the |
774 | user using other methods (i.e. the | 774 | user using other methods (i.e. the |
775 | ```do_kernel_menuconfig`` <#ref-tasks-kernel_menuconfig>`__ task. You | 775 | :ref:`ref-tasks-kernel_menuconfig` task. You |
776 | can invoke the task using the following command: $ bitbake linux-yocto | 776 | can invoke the task using the following command: $ bitbake linux-yocto |
777 | -c savedefconfig | 777 | -c savedefconfig |
778 | 778 | ||
@@ -785,7 +785,7 @@ After the kernel has been compiled but before the kernel modules have | |||
785 | been compiled, this task copies files required for module builds and | 785 | been compiled, this task copies files required for module builds and |
786 | which are generated from the kernel build into the shared work | 786 | which are generated from the kernel build into the shared work |
787 | directory. With these copies successfully copied, the | 787 | directory. With these copies successfully copied, the |
788 | ```do_compile_kernelmodules`` <#ref-tasks-compile_kernelmodules>`__ task | 788 | :ref:`ref-tasks-compile_kernelmodules` task |
789 | can successfully build the kernel modules in the next step of the build. | 789 | can successfully build the kernel modules in the next step of the build. |
790 | 790 | ||
791 | .. _ref-tasks-sizecheck: | 791 | .. _ref-tasks-sizecheck: |
@@ -795,7 +795,7 @@ can successfully build the kernel modules in the next step of the build. | |||
795 | 795 | ||
796 | After the kernel has been built, this task checks the size of the | 796 | After the kernel has been built, this task checks the size of the |
797 | stripped kernel image against | 797 | stripped kernel image against |
798 | ```KERNEL_IMAGE_MAXSIZE`` <#var-KERNEL_IMAGE_MAXSIZE>`__. If that | 798 | :term:`KERNEL_IMAGE_MAXSIZE`. If that |
799 | variable was set and the size of the stripped kernel exceeds that size, | 799 | variable was set and the size of the stripped kernel exceeds that size, |
800 | the kernel build produces a warning to that effect. | 800 | the kernel build produces a warning to that effect. |
801 | 801 | ||
@@ -816,9 +816,9 @@ sections from a size-sensitive configuration. | |||
816 | 816 | ||
817 | After the kernel is unpacked but before it is patched, this task makes | 817 | After the kernel is unpacked but before it is patched, this task makes |
818 | sure that the machine and metadata branches as specified by the | 818 | sure that the machine and metadata branches as specified by the |
819 | ```SRCREV`` <#var-SRCREV>`__ variables actually exist on the specified | 819 | :term:`SRCREV` variables actually exist on the specified |
820 | branches. If these branches do not exist and | 820 | branches. If these branches do not exist and |
821 | ```AUTOREV`` <#var-AUTOREV>`__ is not being used, the | 821 | :term:`AUTOREV` is not being used, the |
822 | ``do_validate_branches`` task fails during the build. | 822 | ``do_validate_branches`` task fails during the build. |
823 | 823 | ||
824 | Miscellaneous Tasks | 824 | Miscellaneous Tasks |
@@ -833,4 +833,4 @@ The following sections describe miscellaneous tasks. | |||
833 | 833 | ||
834 | A build stage that takes the source code and scans it on a remote | 834 | A build stage that takes the source code and scans it on a remote |
835 | FOSSOLOGY server in order to produce an SPDX document. This task applies | 835 | FOSSOLOGY server in order to produce an SPDX document. This task applies |
836 | only to the ```spdx`` <#ref-classes-spdx>`__ class. | 836 | only to the :ref:`spdx <ref-classes-spdx>` class. |
diff --git a/documentation/ref-manual/ref-terms.rst b/documentation/ref-manual/ref-terms.rst index 59100e9c88..4298e04965 100644 --- a/documentation/ref-manual/ref-terms.rst +++ b/documentation/ref-manual/ref-terms.rst | |||
@@ -113,7 +113,7 @@ universal, the list includes them just in case: | |||
113 | Files that provide for logic encapsulation and inheritance so that | 113 | Files that provide for logic encapsulation and inheritance so that |
114 | commonly used patterns can be defined once and then easily used in | 114 | commonly used patterns can be defined once and then easily used in |
115 | multiple recipes. For reference information on the Yocto Project classes, | 115 | multiple recipes. For reference information on the Yocto Project classes, |
116 | see the "`Classes <#ref-classes>`__" chapter. Class files end with the | 116 | see the ":ref:`ref-manual/ref-classes:Classes`" chapter. Class files end with the |
117 | ``.bbclass`` filename extension. | 117 | ``.bbclass`` filename extension. |
118 | 118 | ||
119 | Configuration File | 119 | Configuration File |
@@ -200,7 +200,7 @@ universal, the list includes them just in case: | |||
200 | Metadata | 200 | Metadata |
201 | A key element of the Yocto Project is the Metadata that | 201 | A key element of the Yocto Project is the Metadata that |
202 | is used to construct a Linux distribution and is contained in the | 202 | is used to construct a Linux distribution and is contained in the |
203 | files that the `OpenEmbedded build system <#build-system-term>`__ | 203 | files that the :term:`OpenEmbedded Build System` |
204 | parses when building an image. In general, Metadata includes recipes, | 204 | parses when building an image. In general, Metadata includes recipes, |
205 | configuration files, and other information that refers to the build | 205 | configuration files, and other information that refers to the build |
206 | instructions themselves, as well as the data used to control what | 206 | instructions themselves, as well as the data used to control what |
@@ -233,7 +233,7 @@ universal, the list includes them just in case: | |||
233 | OpenEmbedded Build System | 233 | OpenEmbedded Build System |
234 | The build system specific to the Yocto | 234 | The build system specific to the Yocto |
235 | Project. The OpenEmbedded build system is based on another project | 235 | Project. The OpenEmbedded build system is based on another project |
236 | known as "Poky", which uses `BitBake <#bitbake-term>`__ as the task | 236 | known as "Poky", which uses :term:`BitBake` as the task |
237 | executor. Throughout the Yocto Project documentation set, the | 237 | executor. Throughout the Yocto Project documentation set, the |
238 | OpenEmbedded build system is sometimes referred to simply as "the | 238 | OpenEmbedded build system is sometimes referred to simply as "the |
239 | build system". If other build systems, such as a host or target build | 239 | build system". If other build systems, such as a host or target build |
@@ -262,8 +262,8 @@ universal, the list includes them just in case: | |||
262 | Another point worth noting is that historically within the Yocto | 262 | Another point worth noting is that historically within the Yocto |
263 | Project, recipes were referred to as packages - thus, the existence | 263 | Project, recipes were referred to as packages - thus, the existence |
264 | of several BitBake variables that are seemingly mis-named, (e.g. | 264 | of several BitBake variables that are seemingly mis-named, (e.g. |
265 | ```PR`` <#var-PR>`__, ```PV`` <#var-PV>`__, and | 265 | :term:`PR`, :term:`PV`, and |
266 | ```PE`` <#var-PE>`__). | 266 | :term:`PE`). |
267 | 267 | ||
268 | Package Groups | 268 | Package Groups |
269 | Arbitrary groups of software Recipes. You use | 269 | Arbitrary groups of software Recipes. You use |
@@ -373,9 +373,9 @@ universal, the list includes them just in case: | |||
373 | 373 | ||
374 | Task | 374 | Task |
375 | A unit of execution for BitBake (e.g. | 375 | A unit of execution for BitBake (e.g. |
376 | ```do_compile`` <#ref-tasks-compile>`__, | 376 | :ref:`ref-tasks-compile`, |
377 | ```do_fetch`` <#ref-tasks-fetch>`__, | 377 | :ref:`ref-tasks-fetch`, |
378 | ```do_patch`` <#ref-tasks-patch>`__, and so forth). | 378 | :ref:`ref-tasks-patch`, and so forth). |
379 | 379 | ||
380 | Toaster | 380 | Toaster |
381 | A web interface to the Yocto Project's `OpenEmbedded Build | 381 | A web interface to the Yocto Project's `OpenEmbedded Build |
diff --git a/documentation/ref-manual/ref-variables.rst b/documentation/ref-manual/ref-variables.rst index b84640c6a7..3eae836fd6 100644 --- a/documentation/ref-manual/ref-variables.rst +++ b/documentation/ref-manual/ref-variables.rst | |||
@@ -7,12 +7,12 @@ Variables Glossary | |||
7 | This chapter lists common variables used in the OpenEmbedded build | 7 | This chapter lists common variables used in the OpenEmbedded build |
8 | system and gives an overview of their function and contents. | 8 | system and gives an overview of their function and contents. |
9 | 9 | ||
10 | `A <#var-ABIEXTENSION>`__ `B <#var-B>`__ `C <#var-CACHE>`__ | 10 | `A <#var-ABIEXTENSION>`__ :term:`B` `C <#var-CACHE>`__ |
11 | `D <#var-D>`__ `E <#var-EFI_PROVIDER>`__ `F <#var-FEATURE_PACKAGES>`__ | 11 | :term:`D` `E <#var-EFI_PROVIDER>`__ `F <#var-FEATURE_PACKAGES>`__ |
12 | `G <#var-GCCPIE>`__ `H <#var-HOMEPAGE>`__ `I <#var-ICECC_DISABLED>`__ | 12 | `G <#var-GCCPIE>`__ `H <#var-HOMEPAGE>`__ `I <#var-ICECC_DISABLED>`__ |
13 | `K <#var-KARCH>`__ `L <#var-LABELS>`__ `M <#var-MACHINE>`__ | 13 | `K <#var-KARCH>`__ `L <#var-LABELS>`__ `M <#var-MACHINE>`__ |
14 | `N <#var-NATIVELSBSTRING>`__ `O <#var-OBJCOPY>`__ `P <#var-P>`__ | 14 | `N <#var-NATIVELSBSTRING>`__ `O <#var-OBJCOPY>`__ :term:`P` |
15 | `R <#var-RANLIB>`__ `S <#var-S>`__ `T <#var-T>`__ | 15 | `R <#var-RANLIB>`__ :term:`S` :term:`T` |
16 | `U <#var-UBOOT_CONFIG>`__ `V <#var-VOLATILE_LOG_DIR>`__ | 16 | `U <#var-UBOOT_CONFIG>`__ `V <#var-VOLATILE_LOG_DIR>`__ |
17 | `W <#var-WARN_QA>`__ `X <#var-XSERVER>`__ | 17 | `W <#var-WARN_QA>`__ `X <#var-XSERVER>`__ |
18 | 18 | ||
@@ -30,7 +30,7 @@ system and gives an overview of their function and contents. | |||
30 | Specifies whether to produce an output package even if it is empty. | 30 | Specifies whether to produce an output package even if it is empty. |
31 | By default, BitBake does not produce empty packages. This default | 31 | By default, BitBake does not produce empty packages. This default |
32 | behavior can cause issues when there is an | 32 | behavior can cause issues when there is an |
33 | ```RDEPENDS`` <#var-RDEPENDS>`__ or some other hard runtime | 33 | :term:`RDEPENDS` or some other hard runtime |
34 | requirement on the existence of the package. | 34 | requirement on the existence of the package. |
35 | 35 | ||
36 | Like all package-controlling variables, you must always use them in | 36 | Like all package-controlling variables, you must always use them in |
@@ -49,7 +49,7 @@ system and gives an overview of their function and contents. | |||
49 | has four commands that also exist as part of another package, you | 49 | has four commands that also exist as part of another package, you |
50 | identify them as follows: ALTERNATIVE_busybox = "sh sed test bracket" | 50 | identify them as follows: ALTERNATIVE_busybox = "sh sed test bracket" |
51 | For more information on the alternatives system, see the | 51 | For more information on the alternatives system, see the |
52 | "```update-alternatives.bbclass`` <#ref-classes-update-alternatives>`__" | 52 | ":ref:`update-alternatives.bbclass <ref-classes-update-alternatives>`" |
53 | section. | 53 | section. |
54 | 54 | ||
55 | ALTERNATIVE_LINK_NAME | 55 | ALTERNATIVE_LINK_NAME |
@@ -72,7 +72,7 @@ system and gives an overview of their function and contents. | |||
72 | . | 72 | . |
73 | 73 | ||
74 | For more information on the alternatives system, see the | 74 | For more information on the alternatives system, see the |
75 | "```update-alternatives.bbclass`` <#ref-classes-update-alternatives>`__" | 75 | ":ref:`update-alternatives.bbclass <ref-classes-update-alternatives>`" |
76 | section. | 76 | section. |
77 | 77 | ||
78 | ALTERNATIVE_PRIORITY | 78 | ALTERNATIVE_PRIORITY |
@@ -86,7 +86,7 @@ system and gives an overview of their function and contents. | |||
86 | ALTERNATIVE_PRIORITY_pkg[name] = "priority" | 86 | ALTERNATIVE_PRIORITY_pkg[name] = "priority" |
87 | 87 | ||
88 | For more information on the alternatives system, see the | 88 | For more information on the alternatives system, see the |
89 | "```update-alternatives.bbclass`` <#ref-classes-update-alternatives>`__" | 89 | ":ref:`update-alternatives.bbclass <ref-classes-update-alternatives>`" |
90 | section. | 90 | section. |
91 | 91 | ||
92 | ALTERNATIVE_TARGET | 92 | ALTERNATIVE_TARGET |
@@ -103,7 +103,7 @@ system and gives an overview of their function and contents. | |||
103 | 103 | ||
104 | If ``ALTERNATIVE_TARGET`` is not defined, it inherits the value | 104 | If ``ALTERNATIVE_TARGET`` is not defined, it inherits the value |
105 | from the | 105 | from the |
106 | ```ALTERNATIVE_LINK_NAME`` <#var-ALTERNATIVE_LINK_NAME>`__ | 106 | :term:`ALTERNATIVE_LINK_NAME` |
107 | variable. | 107 | variable. |
108 | 108 | ||
109 | If ``ALTERNATIVE_LINK_NAME`` and ``ALTERNATIVE_TARGET`` are the | 109 | If ``ALTERNATIVE_LINK_NAME`` and ``ALTERNATIVE_TARGET`` are the |
@@ -112,25 +112,25 @@ system and gives an overview of their function and contents. | |||
112 | 112 | ||
113 | Finally, if the file referenced has not been renamed, the | 113 | Finally, if the file referenced has not been renamed, the |
114 | alternatives system will rename it to avoid the need to rename | 114 | alternatives system will rename it to avoid the need to rename |
115 | alternative files in the ```do_install`` <#ref-tasks-install>`__ | 115 | alternative files in the :ref:`ref-tasks-install` |
116 | task while retaining support for the command if necessary. | 116 | task while retaining support for the command if necessary. |
117 | 117 | ||
118 | For more information on the alternatives system, see the | 118 | For more information on the alternatives system, see the |
119 | "```update-alternatives.bbclass`` <#ref-classes-update-alternatives>`__" | 119 | ":ref:`update-alternatives.bbclass <ref-classes-update-alternatives>`" |
120 | section. | 120 | section. |
121 | 121 | ||
122 | APPEND | 122 | APPEND |
123 | An override list of append strings for each target specified with | 123 | An override list of append strings for each target specified with |
124 | ```LABELS`` <#var-LABELS>`__. | 124 | :term:`LABELS`. |
125 | 125 | ||
126 | See the ```grub-efi`` <#ref-classes-grub-efi>`__ class for more | 126 | See the :ref:`grub-efi <ref-classes-grub-efi>` class for more |
127 | information on how this variable is used. | 127 | information on how this variable is used. |
128 | 128 | ||
129 | AR | 129 | AR |
130 | The minimal command and arguments used to run ``ar``. | 130 | The minimal command and arguments used to run ``ar``. |
131 | 131 | ||
132 | ARCHIVER_MODE | 132 | ARCHIVER_MODE |
133 | When used with the ```archiver`` <#ref-classes-archiver>`__ class, | 133 | When used with the :ref:`archiver <ref-classes-archiver>` class, |
134 | determines the type of information used to create a released archive. | 134 | determines the type of information used to create a released archive. |
135 | You can use this variable to create archives of patched source, | 135 | You can use this variable to create archives of patched source, |
136 | original source, configured source, and so forth by employing the | 136 | original source, configured source, and so forth by employing the |
@@ -151,7 +151,7 @@ system and gives an overview of their function and contents. | |||
151 | Minimal command and arguments needed to run the assembler. | 151 | Minimal command and arguments needed to run the assembler. |
152 | 152 | ||
153 | ASSUME_PROVIDED | 153 | ASSUME_PROVIDED |
154 | Lists recipe names (```PN`` <#var-PN>`__ values) BitBake does not | 154 | Lists recipe names (:term:`PN` values) BitBake does not |
155 | attempt to build. Instead, BitBake assumes these recipes have already | 155 | attempt to build. Instead, BitBake assumes these recipes have already |
156 | been built. | 156 | been built. |
157 | 157 | ||
@@ -178,7 +178,7 @@ system and gives an overview of their function and contents. | |||
178 | order to send patches and forward bugs. | 178 | order to send patches and forward bugs. |
179 | 179 | ||
180 | AUTO_LIBNAME_PKGS | 180 | AUTO_LIBNAME_PKGS |
181 | When the ```debian`` <#ref-classes-debian>`__ class is inherited, | 181 | When the :ref:`debian <ref-classes-debian>` class is inherited, |
182 | which is the default behavior, ``AUTO_LIBNAME_PKGS`` specifies which | 182 | which is the default behavior, ``AUTO_LIBNAME_PKGS`` specifies which |
183 | packages should be checked for libraries and renamed according to | 183 | packages should be checked for libraries and renamed according to |
184 | Debian library package naming. | 184 | Debian library package naming. |
@@ -189,7 +189,7 @@ system and gives an overview of their function and contents. | |||
189 | AUTO_SYSLINUXMENU | 189 | AUTO_SYSLINUXMENU |
190 | Enables creating an automatic menu for the syslinux bootloader. You | 190 | Enables creating an automatic menu for the syslinux bootloader. You |
191 | must set this variable in your recipe. The | 191 | must set this variable in your recipe. The |
192 | ```syslinux`` <#ref-classes-syslinux>`__ class checks this variable. | 192 | :ref:`syslinux <ref-classes-syslinux>` class checks this variable. |
193 | 193 | ||
194 | AUTOREV | 194 | AUTOREV |
195 | When ``SRCREV`` is set to the value of this variable, it specifies to | 195 | When ``SRCREV`` is set to the value of this variable, it specifies to |
@@ -197,10 +197,10 @@ system and gives an overview of their function and contents. | |||
197 | SRCREV = "${AUTOREV}" | 197 | SRCREV = "${AUTOREV}" |
198 | 198 | ||
199 | If you use the previous statement to retrieve the latest version of | 199 | If you use the previous statement to retrieve the latest version of |
200 | software, you need to be sure ```PV`` <#var-PV>`__ contains | 200 | software, you need to be sure :term:`PV` contains |
201 | ``${``\ ```SRCPV`` <#var-SRCPV>`__\ ``}``. For example, suppose you | 201 | ``${``\ :term:`SRCPV`\ ``}``. For example, suppose you |
202 | have a kernel recipe that inherits the | 202 | have a kernel recipe that inherits the |
203 | `kernel <#ref-classes-kernel>`__ class and you use the previous | 203 | :ref:`kernel <ref-classes-kernel>` class and you use the previous |
204 | statement. In this example, ``${SRCPV}`` does not automatically get | 204 | statement. In this example, ``${SRCPV}`` does not automatically get |
205 | into ``PV``. Consequently, you need to change ``PV`` in your recipe | 205 | into ``PV``. Consequently, you need to change ``PV`` in your recipe |
206 | so that it does contain ``${SRCPV}``. | 206 | so that it does contain ``${SRCPV}``. |
@@ -212,8 +212,8 @@ system and gives an overview of their function and contents. | |||
212 | 212 | ||
213 | AVAILABLE_LICENSES | 213 | AVAILABLE_LICENSES |
214 | List of licenses found in the directories specified by | 214 | List of licenses found in the directories specified by |
215 | ```COMMON_LICENSE_DIR`` <#var-COMMON_LICENSE_DIR>`__ and | 215 | :term:`COMMON_LICENSE_DIR` and |
216 | ```LICENSE_PATH`` <#var-LICENSE_PATH>`__. | 216 | :term:`LICENSE_PATH`. |
217 | 217 | ||
218 | .. note:: | 218 | .. note:: |
219 | 219 | ||
@@ -245,10 +245,10 @@ system and gives an overview of their function and contents. | |||
245 | User Manual for more information. | 245 | User Manual for more information. |
246 | 246 | ||
247 | B | 247 | B |
248 | The directory within the `Build Directory <#build-directory>`__ in | 248 | The directory within the :term:`Build Directory` in |
249 | which the OpenEmbedded build system places generated objects during a | 249 | which the OpenEmbedded build system places generated objects during a |
250 | recipe's build process. By default, this directory is the same as the | 250 | recipe's build process. By default, this directory is the same as the |
251 | ```S`` <#var-S>`__ directory, which is defined as: S = | 251 | :term:`S` directory, which is defined as: S = |
252 | "${WORKDIR}/${BP}" | 252 | "${WORKDIR}/${BP}" |
253 | 253 | ||
254 | You can separate the (``S``) directory and the directory pointed to | 254 | You can separate the (``S``) directory and the directory pointed to |
@@ -259,7 +259,7 @@ system and gives an overview of their function and contents. | |||
259 | BAD_RECOMMENDATIONS | 259 | BAD_RECOMMENDATIONS |
260 | Lists "recommended-only" packages to not install. Recommended-only | 260 | Lists "recommended-only" packages to not install. Recommended-only |
261 | packages are packages installed only through the | 261 | packages are packages installed only through the |
262 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__ variable. You can prevent any | 262 | :term:`RRECOMMENDS` variable. You can prevent any |
263 | of these "recommended" packages from being installed by listing them | 263 | of these "recommended" packages from being installed by listing them |
264 | with the ``BAD_RECOMMENDATIONS`` variable: BAD_RECOMMENDATIONS = | 264 | with the ``BAD_RECOMMENDATIONS`` variable: BAD_RECOMMENDATIONS = |
265 | "package_name package_name package_name ..." | 265 | "package_name package_name package_name ..." |
@@ -270,15 +270,15 @@ system and gives an overview of their function and contents. | |||
270 | 270 | ||
271 | It is important to realize that if you choose to not install packages | 271 | It is important to realize that if you choose to not install packages |
272 | using this variable and some other packages are dependent on them | 272 | using this variable and some other packages are dependent on them |
273 | (i.e. listed in a recipe's ```RDEPENDS`` <#var-RDEPENDS>`__ | 273 | (i.e. listed in a recipe's :term:`RDEPENDS` |
274 | variable), the OpenEmbedded build system ignores your request and | 274 | variable), the OpenEmbedded build system ignores your request and |
275 | will install the packages to avoid dependency errors. | 275 | will install the packages to avoid dependency errors. |
276 | 276 | ||
277 | Support for this variable exists only when using the IPK and RPM | 277 | Support for this variable exists only when using the IPK and RPM |
278 | packaging backend. Support does not exist for DEB. | 278 | packaging backend. Support does not exist for DEB. |
279 | 279 | ||
280 | See the ```NO_RECOMMENDATIONS`` <#var-NO_RECOMMENDATIONS>`__ and the | 280 | See the :term:`NO_RECOMMENDATIONS` and the |
281 | ```PACKAGE_EXCLUDE`` <#var-PACKAGE_EXCLUDE>`__ variables for related | 281 | :term:`PACKAGE_EXCLUDE` variables for related |
282 | information. | 282 | information. |
283 | 283 | ||
284 | BASE_LIB | 284 | BASE_LIB |
@@ -291,7 +291,7 @@ system and gives an overview of their function and contents. | |||
291 | on Multilib. | 291 | on Multilib. |
292 | 292 | ||
293 | The ``BASE_LIB`` variable is defined in the machine include files in | 293 | The ``BASE_LIB`` variable is defined in the machine include files in |
294 | the `Source Directory <#source-directory>`__. If Multilib is not | 294 | the :term:`Source Directory`. If Multilib is not |
295 | being used, the value defaults to "lib". | 295 | being used, the value defaults to "lib". |
296 | 296 | ||
297 | BASE_WORKDIR | 297 | BASE_WORKDIR |
@@ -327,10 +327,10 @@ system and gives an overview of their function and contents. | |||
327 | - Attempts to access networks not in the host list cause a failure. | 327 | - Attempts to access networks not in the host list cause a failure. |
328 | 328 | ||
329 | Using ``BB_ALLOWED_NETWORKS`` in conjunction with | 329 | Using ``BB_ALLOWED_NETWORKS`` in conjunction with |
330 | ```PREMIRRORS`` <#var-PREMIRRORS>`__ is very useful. Adding the host | 330 | :term:`PREMIRRORS` is very useful. Adding the host |
331 | you want to use to ``PREMIRRORS`` results in the source code being | 331 | you want to use to ``PREMIRRORS`` results in the source code being |
332 | fetched from an allowed location and avoids raising an error when a | 332 | fetched from an allowed location and avoids raising an error when a |
333 | host that is not allowed is in a ```SRC_URI`` <#var-SRC_URI>`__ | 333 | host that is not allowed is in a :term:`SRC_URI` |
334 | statement. This is because the fetcher does not attempt to use the | 334 | statement. This is because the fetcher does not attempt to use the |
335 | host listed in ``SRC_URI`` after a successful fetch from the | 335 | host listed in ``SRC_URI`` after a successful fetch from the |
336 | ``PREMIRRORS`` occurs. | 336 | ``PREMIRRORS`` occurs. |
@@ -349,7 +349,7 @@ system and gives an overview of their function and contents. | |||
349 | 349 | ||
350 | You can change the default behavior by setting this variable to "1", | 350 | You can change the default behavior by setting this variable to "1", |
351 | "yes", or "true" in your ``local.conf`` file, which is located in the | 351 | "yes", or "true" in your ``local.conf`` file, which is located in the |
352 | `Build Directory <#build-directory>`__: Here is an example: | 352 | :term:`Build Directory`: Here is an example: |
353 | BB_DANGLINGAPPENDS_WARNONLY = "1" | 353 | BB_DANGLINGAPPENDS_WARNONLY = "1" |
354 | 354 | ||
355 | BB_DISKMON_DIRS | 355 | BB_DISKMON_DIRS |
@@ -358,7 +358,7 @@ system and gives an overview of their function and contents. | |||
358 | 358 | ||
359 | Disk space monitoring is disabled by default. To enable monitoring, | 359 | Disk space monitoring is disabled by default. To enable monitoring, |
360 | add the ``BB_DISKMON_DIRS`` variable to your ``conf/local.conf`` file | 360 | add the ``BB_DISKMON_DIRS`` variable to your ``conf/local.conf`` file |
361 | found in the `Build Directory <#build-directory>`__. Use the | 361 | found in the :term:`Build Directory`. Use the |
362 | following form: BB_DISKMON_DIRS = "action,dir,threshold [...]" where: | 362 | following form: BB_DISKMON_DIRS = "action,dir,threshold [...]" where: |
363 | action is: ABORT: Immediately abort the build when a threshold is | 363 | action is: ABORT: Immediately abort the build when a threshold is |
364 | broken. STOPTASKS: Stop the build after the currently executing tasks | 364 | broken. STOPTASKS: Stop the build after the currently executing tasks |
@@ -379,7 +379,7 @@ system and gives an overview of their function and contents. | |||
379 | WARN,${SSTATE_DIR},1G,100K" BB_DISKMON_DIRS = | 379 | WARN,${SSTATE_DIR},1G,100K" BB_DISKMON_DIRS = |
380 | "STOPTASKS,${TMPDIR},1G" BB_DISKMON_DIRS = "ABORT,${TMPDIR},,100K" | 380 | "STOPTASKS,${TMPDIR},1G" BB_DISKMON_DIRS = "ABORT,${TMPDIR},,100K" |
381 | The first example works only if you also provide the | 381 | The first example works only if you also provide the |
382 | ```BB_DISKMON_WARNINTERVAL`` <#var-BB_DISKMON_WARNINTERVAL>`__ | 382 | :term:`BB_DISKMON_WARNINTERVAL` |
383 | variable in the ``conf/local.conf``. This example causes the build | 383 | variable in the ``conf/local.conf``. This example causes the build |
384 | system to immediately abort when either the disk space in | 384 | system to immediately abort when either the disk space in |
385 | ``${TMPDIR}`` drops below 1 Gbyte or the available free inodes drops | 385 | ``${TMPDIR}`` drops below 1 Gbyte or the available free inodes drops |
@@ -402,10 +402,10 @@ system and gives an overview of their function and contents. | |||
402 | BB_DISKMON_WARNINTERVAL | 402 | BB_DISKMON_WARNINTERVAL |
403 | Defines the disk space and free inode warning intervals. To set these | 403 | Defines the disk space and free inode warning intervals. To set these |
404 | intervals, define the variable in your ``conf/local.conf`` file in | 404 | intervals, define the variable in your ``conf/local.conf`` file in |
405 | the `Build Directory <#build-directory>`__. | 405 | the :term:`Build Directory`. |
406 | 406 | ||
407 | If you are going to use the ``BB_DISKMON_WARNINTERVAL`` variable, you | 407 | If you are going to use the ``BB_DISKMON_WARNINTERVAL`` variable, you |
408 | must also use the ```BB_DISKMON_DIRS`` <#var-BB_DISKMON_DIRS>`__ | 408 | must also use the :term:`BB_DISKMON_DIRS` |
409 | variable and define its action as "WARN". During the build, | 409 | variable and define its action as "WARN". During the build, |
410 | subsequent warnings are issued each time disk space or number of free | 410 | subsequent warnings are issued each time disk space or number of free |
411 | inodes further reduces by the respective interval. | 411 | inodes further reduces by the respective interval. |
@@ -436,12 +436,12 @@ system and gives an overview of their function and contents. | |||
436 | BB_GENERATE_MIRROR_TARBALLS | 436 | BB_GENERATE_MIRROR_TARBALLS |
437 | Causes tarballs of the source control repositories (e.g. Git | 437 | Causes tarballs of the source control repositories (e.g. Git |
438 | repositories), including metadata, to be placed in the | 438 | repositories), including metadata, to be placed in the |
439 | ```DL_DIR`` <#var-DL_DIR>`__ directory. | 439 | :term:`DL_DIR` directory. |
440 | 440 | ||
441 | For performance reasons, creating and placing tarballs of these | 441 | For performance reasons, creating and placing tarballs of these |
442 | repositories is not the default action by the OpenEmbedded build | 442 | repositories is not the default action by the OpenEmbedded build |
443 | system. BB_GENERATE_MIRROR_TARBALLS = "1" Set this variable in your | 443 | system. BB_GENERATE_MIRROR_TARBALLS = "1" Set this variable in your |
444 | ``local.conf`` file in the `Build Directory <#build-directory>`__. | 444 | ``local.conf`` file in the :term:`Build Directory`. |
445 | 445 | ||
446 | Once you have the tarballs containing your source files, you can | 446 | Once you have the tarballs containing your source files, you can |
447 | clean up your ``DL_DIR`` directory by deleting any Git or other | 447 | clean up your ``DL_DIR`` directory by deleting any Git or other |
@@ -481,7 +481,7 @@ system and gives an overview of their function and contents. | |||
481 | ``quilt-native``, which is a copy of Quilt built to run on the build | 481 | ``quilt-native``, which is a copy of Quilt built to run on the build |
482 | system; "crosses" such as ``gcc-cross``, which is a compiler built to | 482 | system; "crosses" such as ``gcc-cross``, which is a compiler built to |
483 | run on the build machine but produces binaries that run on the target | 483 | run on the build machine but produces binaries that run on the target |
484 | ```MACHINE`` <#var-MACHINE>`__; "nativesdk", which targets the SDK | 484 | :term:`MACHINE`; "nativesdk", which targets the SDK |
485 | machine instead of ``MACHINE``; and "mulitlibs" in the form | 485 | machine instead of ``MACHINE``; and "mulitlibs" in the form |
486 | "``multilib:``\ multilib_name". | 486 | "``multilib:``\ multilib_name". |
487 | 487 | ||
@@ -495,7 +495,7 @@ system and gives an overview of their function and contents. | |||
495 | Internally, the ``BBCLASSEXTEND`` mechanism generates recipe | 495 | Internally, the ``BBCLASSEXTEND`` mechanism generates recipe |
496 | variants by rewriting variable values and applying overrides such | 496 | variants by rewriting variable values and applying overrides such |
497 | as ``_class-native``. For example, to generate a native version of | 497 | as ``_class-native``. For example, to generate a native version of |
498 | a recipe, a ```DEPENDS`` <#var-DEPENDS>`__ on "foo" is rewritten | 498 | a recipe, a :term:`DEPENDS` on "foo" is rewritten |
499 | to a ``DEPENDS`` on "foo-native". | 499 | to a ``DEPENDS`` on "foo-native". |
500 | 500 | ||
501 | Even when using ``BBCLASSEXTEND``, the recipe is only parsed once. | 501 | Even when using ``BBCLASSEXTEND``, the recipe is only parsed once. |
@@ -511,7 +511,7 @@ system and gives an overview of their function and contents. | |||
511 | 511 | ||
512 | BBFILE_PATTERN | 512 | BBFILE_PATTERN |
513 | Variable that expands to match files from | 513 | Variable that expands to match files from |
514 | ```BBFILES`` <#var-BBFILES>`__ in a particular layer. This variable | 514 | :term:`BBFILES` in a particular layer. This variable |
515 | is used in the ``conf/layer.conf`` file and must be suffixed with the | 515 | is used in the ``conf/layer.conf`` file and must be suffixed with the |
516 | name of the specific layer (e.g. ``BBFILE_PATTERN_emenlow``). | 516 | name of the specific layer (e.g. ``BBFILE_PATTERN_emenlow``). |
517 | 517 | ||
@@ -523,7 +523,7 @@ system and gives an overview of their function and contents. | |||
523 | prioritize a layer against other layers that contain the same recipe | 523 | prioritize a layer against other layers that contain the same recipe |
524 | - effectively letting you control the precedence for the multiple | 524 | - effectively letting you control the precedence for the multiple |
525 | layers. The precedence established through this variable stands | 525 | layers. The precedence established through this variable stands |
526 | regardless of a recipe's version (```PV`` <#var-PV>`__ variable). For | 526 | regardless of a recipe's version (:term:`PV` variable). For |
527 | example, a layer that has a recipe with a higher ``PV`` value but for | 527 | example, a layer that has a recipe with a higher ``PV`` value but for |
528 | which the ``BBFILE_PRIORITY`` is set to have a lower precedence still | 528 | which the ``BBFILE_PRIORITY`` is set to have a lower precedence still |
529 | has a lower precedence. | 529 | has a lower precedence. |
@@ -576,7 +576,7 @@ system and gives an overview of their function and contents. | |||
576 | Variable that controls how BitBake displays logs on build failure. | 576 | Variable that controls how BitBake displays logs on build failure. |
577 | 577 | ||
578 | BBINCLUDELOGS_LINES | 578 | BBINCLUDELOGS_LINES |
579 | If ```BBINCLUDELOGS`` <#var-BBINCLUDELOGS>`__ is set, specifies the | 579 | If :term:`BBINCLUDELOGS` is set, specifies the |
580 | maximum number of lines from the task log file to print when | 580 | maximum number of lines from the task log file to print when |
581 | reporting a failed task. If you do not set ``BBINCLUDELOGS_LINES``, | 581 | reporting a failed task. If you do not set ``BBINCLUDELOGS_LINES``, |
582 | the entire log is printed. | 582 | the entire log is printed. |
@@ -629,7 +629,7 @@ system and gives an overview of their function and contents. | |||
629 | multiconfigname for each configuration file you are using. For | 629 | multiconfigname for each configuration file you are using. For |
630 | example, the following line specifies three configuration files: | 630 | example, the following line specifies three configuration files: |
631 | BBMULTICONFIG = "configA configB configC" Each configuration file you | 631 | BBMULTICONFIG = "configA configB configC" Each configuration file you |
632 | use must reside in the `Build Directory <#build-directory>`__ | 632 | use must reside in the :term:`Build Directory` |
633 | ``conf/multiconfig`` directory (e.g. | 633 | ``conf/multiconfig`` directory (e.g. |
634 | build_directory\ ``/conf/multiconfig/configA.conf``). | 634 | build_directory\ ``/conf/multiconfig/configA.conf``). |
635 | 635 | ||
@@ -672,7 +672,7 @@ system and gives an overview of their function and contents. | |||
672 | 672 | ||
673 | BINCONFIG | 673 | BINCONFIG |
674 | When inheriting the | 674 | When inheriting the |
675 | ```binconfig-disabled`` <#ref-classes-binconfig-disabled>`__ class, | 675 | :ref:`binconfig-disabled <ref-classes-binconfig-disabled>` class, |
676 | this variable specifies binary configuration scripts to disable in | 676 | this variable specifies binary configuration scripts to disable in |
677 | favor of using ``pkg-config`` to query the information. The | 677 | favor of using ``pkg-config`` to query the information. The |
678 | ``binconfig-disabled`` class will modify the specified scripts to | 678 | ``binconfig-disabled`` class will modify the specified scripts to |
@@ -684,7 +684,7 @@ system and gives an overview of their function and contents. | |||
684 | ${bindir}/libpng16-config" | 684 | ${bindir}/libpng16-config" |
685 | 685 | ||
686 | BINCONFIG_GLOB | 686 | BINCONFIG_GLOB |
687 | When inheriting the ```binconfig`` <#ref-classes-binconfig>`__ class, | 687 | When inheriting the :ref:`binconfig <ref-classes-binconfig>` class, |
688 | this variable specifies a wildcard for configuration scripts that | 688 | this variable specifies a wildcard for configuration scripts that |
689 | need editing. The scripts are edited to correct any paths that have | 689 | need editing. The scripts are edited to correct any paths that have |
690 | been set up during compilation so that they are correct for use when | 690 | been set up during compilation so that they are correct for use when |
@@ -708,7 +708,7 @@ system and gives an overview of their function and contents. | |||
708 | ``meta/classes/binconfig.bbclass`` in the `Source | 708 | ``meta/classes/binconfig.bbclass`` in the `Source |
709 | Directory <#source-directory>`__. You can also find general | 709 | Directory <#source-directory>`__. You can also find general |
710 | information on the class in the | 710 | information on the class in the |
711 | "```binconfig.bbclass`` <#ref-classes-binconfig>`__" section. | 711 | ":ref:`binconfig.bbclass <ref-classes-binconfig>`" section. |
712 | 712 | ||
713 | BP | 713 | BP |
714 | The base recipe name and version but without any special recipe name | 714 | The base recipe name and version but without any special recipe name |
@@ -716,12 +716,12 @@ system and gives an overview of their function and contents. | |||
716 | comprised of the following: ${BPN}-${PV} | 716 | comprised of the following: ${BPN}-${PV} |
717 | 717 | ||
718 | BPN | 718 | BPN |
719 | This variable is a version of the ```PN`` <#var-PN>`__ variable with | 719 | This variable is a version of the :term:`PN` variable with |
720 | common prefixes and suffixes removed, such as ``nativesdk-``, | 720 | common prefixes and suffixes removed, such as ``nativesdk-``, |
721 | ``-cross``, ``-native``, and multilib's ``lib64-`` and ``lib32-``. | 721 | ``-cross``, ``-native``, and multilib's ``lib64-`` and ``lib32-``. |
722 | The exact lists of prefixes and suffixes removed are specified by the | 722 | The exact lists of prefixes and suffixes removed are specified by the |
723 | ```MLPREFIX`` <#var-MLPREFIX>`__ and | 723 | :term:`MLPREFIX` and |
724 | ```SPECIAL_PKGSUFFIX`` <#var-SPECIAL_PKGSUFFIX>`__ variables, | 724 | :term:`SPECIAL_PKGSUFFIX` variables, |
725 | respectively. | 725 | respectively. |
726 | 726 | ||
727 | BUGTRACKER | 727 | BUGTRACKER |
@@ -747,37 +747,37 @@ system and gives an overview of their function and contents. | |||
747 | Specifies the linker command to be used for the build host when the C | 747 | Specifies the linker command to be used for the build host when the C |
748 | compiler is being used as the linker. By default, ``BUILD_CCLD`` | 748 | compiler is being used as the linker. By default, ``BUILD_CCLD`` |
749 | points to GCC and passes as arguments the value of | 749 | points to GCC and passes as arguments the value of |
750 | ```BUILD_CC_ARCH`` <#var-BUILD_CC_ARCH>`__, assuming | 750 | :term:`BUILD_CC_ARCH`, assuming |
751 | ``BUILD_CC_ARCH`` is set. | 751 | ``BUILD_CC_ARCH`` is set. |
752 | 752 | ||
753 | BUILD_CFLAGS | 753 | BUILD_CFLAGS |
754 | Specifies the flags to pass to the C compiler when building for the | 754 | Specifies the flags to pass to the C compiler when building for the |
755 | build host. When building in the ``-native`` context, | 755 | build host. When building in the ``-native`` context, |
756 | ```CFLAGS`` <#var-CFLAGS>`__ is set to the value of this variable by | 756 | :term:`CFLAGS` is set to the value of this variable by |
757 | default. | 757 | default. |
758 | 758 | ||
759 | BUILD_CPPFLAGS | 759 | BUILD_CPPFLAGS |
760 | Specifies the flags to pass to the C preprocessor (i.e. to both the C | 760 | Specifies the flags to pass to the C preprocessor (i.e. to both the C |
761 | and the C++ compilers) when building for the build host. When | 761 | and the C++ compilers) when building for the build host. When |
762 | building in the ``-native`` context, ```CPPFLAGS`` <#var-CPPFLAGS>`__ | 762 | building in the ``-native`` context, :term:`CPPFLAGS` |
763 | is set to the value of this variable by default. | 763 | is set to the value of this variable by default. |
764 | 764 | ||
765 | BUILD_CXXFLAGS | 765 | BUILD_CXXFLAGS |
766 | Specifies the flags to pass to the C++ compiler when building for the | 766 | Specifies the flags to pass to the C++ compiler when building for the |
767 | build host. When building in the ``-native`` context, | 767 | build host. When building in the ``-native`` context, |
768 | ```CXXFLAGS`` <#var-CXXFLAGS>`__ is set to the value of this variable | 768 | :term:`CXXFLAGS` is set to the value of this variable |
769 | by default. | 769 | by default. |
770 | 770 | ||
771 | BUILD_FC | 771 | BUILD_FC |
772 | Specifies the Fortran compiler command for the build host. By | 772 | Specifies the Fortran compiler command for the build host. By |
773 | default, ``BUILD_FC`` points to Gfortran and passes as arguments the | 773 | default, ``BUILD_FC`` points to Gfortran and passes as arguments the |
774 | value of ```BUILD_CC_ARCH`` <#var-BUILD_CC_ARCH>`__, assuming | 774 | value of :term:`BUILD_CC_ARCH`, assuming |
775 | ``BUILD_CC_ARCH`` is set. | 775 | ``BUILD_CC_ARCH`` is set. |
776 | 776 | ||
777 | BUILD_LD | 777 | BUILD_LD |
778 | Specifies the linker command for the build host. By default, | 778 | Specifies the linker command for the build host. By default, |
779 | ``BUILD_LD`` points to the GNU linker (ld) and passes as arguments | 779 | ``BUILD_LD`` points to the GNU linker (ld) and passes as arguments |
780 | the value of ```BUILD_LD_ARCH`` <#var-BUILD_LD_ARCH>`__, assuming | 780 | the value of :term:`BUILD_LD_ARCH`, assuming |
781 | ``BUILD_LD_ARCH`` is set. | 781 | ``BUILD_LD_ARCH`` is set. |
782 | 782 | ||
783 | BUILD_LD_ARCH | 783 | BUILD_LD_ARCH |
@@ -787,14 +787,14 @@ system and gives an overview of their function and contents. | |||
787 | BUILD_LDFLAGS | 787 | BUILD_LDFLAGS |
788 | Specifies the flags to pass to the linker when building for the build | 788 | Specifies the flags to pass to the linker when building for the build |
789 | host. When building in the ``-native`` context, | 789 | host. When building in the ``-native`` context, |
790 | ```LDFLAGS`` <#var-LDFLAGS>`__ is set to the value of this variable | 790 | :term:`LDFLAGS` is set to the value of this variable |
791 | by default. | 791 | by default. |
792 | 792 | ||
793 | BUILD_OPTIMIZATION | 793 | BUILD_OPTIMIZATION |
794 | Specifies the optimization flags passed to the C compiler when | 794 | Specifies the optimization flags passed to the C compiler when |
795 | building for the build host or the SDK. The flags are passed through | 795 | building for the build host or the SDK. The flags are passed through |
796 | the ```BUILD_CFLAGS`` <#var-BUILD_CFLAGS>`__ and | 796 | the :term:`BUILD_CFLAGS` and |
797 | ```BUILDSDK_CFLAGS`` <#var-BUILDSDK_CFLAGS>`__ default values. | 797 | :term:`BUILDSDK_CFLAGS` default values. |
798 | 798 | ||
799 | The default value of the ``BUILD_OPTIMIZATION`` variable is "-O2 | 799 | The default value of the ``BUILD_OPTIMIZATION`` variable is "-O2 |
800 | -pipe". | 800 | -pipe". |
@@ -808,14 +808,14 @@ system and gives an overview of their function and contents. | |||
808 | BUILD_PREFIX | 808 | BUILD_PREFIX |
809 | The toolchain binary prefix used for native recipes. The OpenEmbedded | 809 | The toolchain binary prefix used for native recipes. The OpenEmbedded |
810 | build system uses the ``BUILD_PREFIX`` value to set the | 810 | build system uses the ``BUILD_PREFIX`` value to set the |
811 | ```TARGET_PREFIX`` <#var-TARGET_PREFIX>`__ when building for | 811 | :term:`TARGET_PREFIX` when building for |
812 | ``native`` recipes. | 812 | ``native`` recipes. |
813 | 813 | ||
814 | BUILD_STRIP | 814 | BUILD_STRIP |
815 | Specifies the command to be used to strip debugging symbols from | 815 | Specifies the command to be used to strip debugging symbols from |
816 | binaries produced for the build host. By default, ``BUILD_STRIP`` | 816 | binaries produced for the build host. By default, ``BUILD_STRIP`` |
817 | points to | 817 | points to |
818 | ``${``\ ```BUILD_PREFIX`` <#var-BUILD_PREFIX>`__\ ``}strip``. | 818 | ``${``\ :term:`BUILD_PREFIX`\ ``}strip``. |
819 | 819 | ||
820 | BUILD_SYS | 820 | BUILD_SYS |
821 | Specifies the system, including the architecture and the operating | 821 | Specifies the system, including the architecture and the operating |
@@ -823,9 +823,9 @@ system and gives an overview of their function and contents. | |||
823 | ``native`` recipes). | 823 | ``native`` recipes). |
824 | 824 | ||
825 | The OpenEmbedded build system automatically sets this variable based | 825 | The OpenEmbedded build system automatically sets this variable based |
826 | on ```BUILD_ARCH`` <#var-BUILD_ARCH>`__, | 826 | on :term:`BUILD_ARCH`, |
827 | ```BUILD_VENDOR`` <#var-BUILD_VENDOR>`__, and | 827 | :term:`BUILD_VENDOR`, and |
828 | ```BUILD_OS`` <#var-BUILD_OS>`__. You do not need to set the | 828 | :term:`BUILD_OS`. You do not need to set the |
829 | ``BUILD_SYS`` variable yourself. | 829 | ``BUILD_SYS`` variable yourself. |
830 | 830 | ||
831 | BUILD_VENDOR | 831 | BUILD_VENDOR |
@@ -833,7 +833,7 @@ system and gives an overview of their function and contents. | |||
833 | The default value is an empty string (""). | 833 | The default value is an empty string (""). |
834 | 834 | ||
835 | BUILDDIR | 835 | BUILDDIR |
836 | Points to the location of the `Build Directory <#build-directory>`__. | 836 | Points to the location of the :term:`Build Directory`. |
837 | You can define this directory indirectly through the | 837 | You can define this directory indirectly through the |
838 | ````` <#structure-core-script>`__ script by passing in a Build | 838 | ````` <#structure-core-script>`__ script by passing in a Build |
839 | Directory path when you run the script. If you run the script and do | 839 | Directory path when you run the script. If you run the script and do |
@@ -841,7 +841,7 @@ system and gives an overview of their function and contents. | |||
841 | ``build`` in the current directory. | 841 | ``build`` in the current directory. |
842 | 842 | ||
843 | BUILDHISTORY_COMMIT | 843 | BUILDHISTORY_COMMIT |
844 | When inheriting the ```buildhistory`` <#ref-classes-buildhistory>`__ | 844 | When inheriting the :ref:`buildhistory <ref-classes-buildhistory>` |
845 | class, this variable specifies whether or not to commit the build | 845 | class, this variable specifies whether or not to commit the build |
846 | history output in a local Git repository. If set to "1", this local | 846 | history output in a local Git repository. If set to "1", this local |
847 | repository will be maintained automatically by the ``buildhistory`` | 847 | repository will be maintained automatically by the ``buildhistory`` |
@@ -854,10 +854,10 @@ system and gives an overview of their function and contents. | |||
854 | history output in a local Git repository: BUILDHISTORY_COMMIT ?= "0" | 854 | history output in a local Git repository: BUILDHISTORY_COMMIT ?= "0" |
855 | 855 | ||
856 | BUILDHISTORY_COMMIT_AUTHOR | 856 | BUILDHISTORY_COMMIT_AUTHOR |
857 | When inheriting the ```buildhistory`` <#ref-classes-buildhistory>`__ | 857 | When inheriting the :ref:`buildhistory <ref-classes-buildhistory>` |
858 | class, this variable specifies the author to use for each Git commit. | 858 | class, this variable specifies the author to use for each Git commit. |
859 | In order for the ``BUILDHISTORY_COMMIT_AUTHOR`` variable to work, the | 859 | In order for the ``BUILDHISTORY_COMMIT_AUTHOR`` variable to work, the |
860 | ```BUILDHISTORY_COMMIT`` <#var-BUILDHISTORY_COMMIT>`__ variable must | 860 | :term:`BUILDHISTORY_COMMIT` variable must |
861 | be set to "1". | 861 | be set to "1". |
862 | 862 | ||
863 | Git requires that the value you provide for the | 863 | Git requires that the value you provide for the |
@@ -869,7 +869,7 @@ system and gives an overview of their function and contents. | |||
869 | BUILDHISTORY_COMMIT_AUTHOR ?= "buildhistory <buildhistory@${DISTRO}>" | 869 | BUILDHISTORY_COMMIT_AUTHOR ?= "buildhistory <buildhistory@${DISTRO}>" |
870 | 870 | ||
871 | BUILDHISTORY_DIR | 871 | BUILDHISTORY_DIR |
872 | When inheriting the ```buildhistory`` <#ref-classes-buildhistory>`__ | 872 | When inheriting the :ref:`buildhistory <ref-classes-buildhistory>` |
873 | class, this variable specifies the directory in which build history | 873 | class, this variable specifies the directory in which build history |
874 | information is kept. For more information on how the variable works, | 874 | information is kept. For more information on how the variable works, |
875 | see the ``buildhistory.class``. | 875 | see the ``buildhistory.class``. |
@@ -878,7 +878,7 @@ system and gives an overview of their function and contents. | |||
878 | BUILDHISTORY_DIR ?= "${TOPDIR}/buildhistory" | 878 | BUILDHISTORY_DIR ?= "${TOPDIR}/buildhistory" |
879 | 879 | ||
880 | BUILDHISTORY_FEATURES | 880 | BUILDHISTORY_FEATURES |
881 | When inheriting the ```buildhistory`` <#ref-classes-buildhistory>`__ | 881 | When inheriting the :ref:`buildhistory <ref-classes-buildhistory>` |
882 | class, this variable specifies the build history features to be | 882 | class, this variable specifies the build history features to be |
883 | enabled. For more information on how build history works, see the | 883 | enabled. For more information on how build history works, see the |
884 | "`Maintaining Build Output | 884 | "`Maintaining Build Output |
@@ -904,7 +904,7 @@ system and gives an overview of their function and contents. | |||
904 | features: BUILDHISTORY_FEATURES ?= "image package sdk" | 904 | features: BUILDHISTORY_FEATURES ?= "image package sdk" |
905 | 905 | ||
906 | BUILDHISTORY_IMAGE_FILES | 906 | BUILDHISTORY_IMAGE_FILES |
907 | When inheriting the ```buildhistory`` <#ref-classes-buildhistory>`__ | 907 | When inheriting the :ref:`buildhistory <ref-classes-buildhistory>` |
908 | class, this variable specifies a list of paths to files copied from | 908 | class, this variable specifies a list of paths to files copied from |
909 | the image contents into the build history directory under an | 909 | the image contents into the build history directory under an |
910 | "image-files" directory in the directory for the image, so that you | 910 | "image-files" directory in the directory for the image, so that you |
@@ -918,11 +918,11 @@ system and gives an overview of their function and contents. | |||
918 | following files: BUILDHISTORY_IMAGE_FILES ?= "/etc/passwd /etc/group" | 918 | following files: BUILDHISTORY_IMAGE_FILES ?= "/etc/passwd /etc/group" |
919 | 919 | ||
920 | BUILDHISTORY_PUSH_REPO | 920 | BUILDHISTORY_PUSH_REPO |
921 | When inheriting the ```buildhistory`` <#ref-classes-buildhistory>`__ | 921 | When inheriting the :ref:`buildhistory <ref-classes-buildhistory>` |
922 | class, this variable optionally specifies a remote repository to | 922 | class, this variable optionally specifies a remote repository to |
923 | which build history pushes Git changes. In order for | 923 | which build history pushes Git changes. In order for |
924 | ``BUILDHISTORY_PUSH_REPO`` to work, | 924 | ``BUILDHISTORY_PUSH_REPO`` to work, |
925 | ```BUILDHISTORY_COMMIT`` <#var-BUILDHISTORY_COMMIT>`__ must be set to | 925 | :term:`BUILDHISTORY_COMMIT` must be set to |
926 | "1". | 926 | "1". |
927 | 927 | ||
928 | The repository should correspond to a remote address that specifies a | 928 | The repository should correspond to a remote address that specifies a |
@@ -936,33 +936,33 @@ system and gives an overview of their function and contents. | |||
936 | BUILDSDK_CFLAGS | 936 | BUILDSDK_CFLAGS |
937 | Specifies the flags to pass to the C compiler when building for the | 937 | Specifies the flags to pass to the C compiler when building for the |
938 | SDK. When building in the ``nativesdk-`` context, | 938 | SDK. When building in the ``nativesdk-`` context, |
939 | ```CFLAGS`` <#var-CFLAGS>`__ is set to the value of this variable by | 939 | :term:`CFLAGS` is set to the value of this variable by |
940 | default. | 940 | default. |
941 | 941 | ||
942 | BUILDSDK_CPPFLAGS | 942 | BUILDSDK_CPPFLAGS |
943 | Specifies the flags to pass to the C pre-processor (i.e. to both the | 943 | Specifies the flags to pass to the C pre-processor (i.e. to both the |
944 | C and the C++ compilers) when building for the SDK. When building in | 944 | C and the C++ compilers) when building for the SDK. When building in |
945 | the ``nativesdk-`` context, ```CPPFLAGS`` <#var-CPPFLAGS>`__ is set | 945 | the ``nativesdk-`` context, :term:`CPPFLAGS` is set |
946 | to the value of this variable by default. | 946 | to the value of this variable by default. |
947 | 947 | ||
948 | BUILDSDK_CXXFLAGS | 948 | BUILDSDK_CXXFLAGS |
949 | Specifies the flags to pass to the C++ compiler when building for the | 949 | Specifies the flags to pass to the C++ compiler when building for the |
950 | SDK. When building in the ``nativesdk-`` context, | 950 | SDK. When building in the ``nativesdk-`` context, |
951 | ```CXXFLAGS`` <#var-CXXFLAGS>`__ is set to the value of this variable | 951 | :term:`CXXFLAGS` is set to the value of this variable |
952 | by default. | 952 | by default. |
953 | 953 | ||
954 | BUILDSDK_LDFLAGS | 954 | BUILDSDK_LDFLAGS |
955 | Specifies the flags to pass to the linker when building for the SDK. | 955 | Specifies the flags to pass to the linker when building for the SDK. |
956 | When building in the ``nativesdk-`` context, | 956 | When building in the ``nativesdk-`` context, |
957 | ```LDFLAGS`` <#var-LDFLAGS>`__ is set to the value of this variable | 957 | :term:`LDFLAGS` is set to the value of this variable |
958 | by default. | 958 | by default. |
959 | 959 | ||
960 | BUILDSTATS_BASE | 960 | BUILDSTATS_BASE |
961 | Points to the location of the directory that holds build statistics | 961 | Points to the location of the directory that holds build statistics |
962 | when you use and enable the | 962 | when you use and enable the |
963 | ```buildstats`` <#ref-classes-buildstats>`__ class. The | 963 | :ref:`buildstats <ref-classes-buildstats>` class. The |
964 | ``BUILDSTATS_BASE`` directory defaults to | 964 | ``BUILDSTATS_BASE`` directory defaults to |
965 | ``${``\ ```TMPDIR`` <#var-TMPDIR>`__\ ``}/buildstats/``. | 965 | ``${``\ :term:`TMPDIR`\ ``}/buildstats/``. |
966 | 966 | ||
967 | BUSYBOX_SPLIT_SUID | 967 | BUSYBOX_SPLIT_SUID |
968 | For the BusyBox recipe, specifies whether to split the output | 968 | For the BusyBox recipe, specifies whether to split the output |
@@ -976,7 +976,7 @@ system and gives an overview of their function and contents. | |||
976 | 976 | ||
977 | CACHE | 977 | CACHE |
978 | Specifies the directory BitBake uses to store a cache of the | 978 | Specifies the directory BitBake uses to store a cache of the |
979 | `Metadata <#metadata>`__ so it does not need to be parsed every time | 979 | :term:`Metadata` so it does not need to be parsed every time |
980 | BitBake is started. | 980 | BitBake is started. |
981 | 981 | ||
982 | CC | 982 | CC |
@@ -990,21 +990,21 @@ system and gives an overview of their function and contents. | |||
990 | Default initialization for ``CFLAGS`` varies depending on what is | 990 | Default initialization for ``CFLAGS`` varies depending on what is |
991 | being built: | 991 | being built: |
992 | 992 | ||
993 | - ```TARGET_CFLAGS`` <#var-TARGET_CFLAGS>`__ when building for the | 993 | - :term:`TARGET_CFLAGS` when building for the |
994 | target | 994 | target |
995 | 995 | ||
996 | - ```BUILD_CFLAGS`` <#var-BUILD_CFLAGS>`__ when building for the | 996 | - :term:`BUILD_CFLAGS` when building for the |
997 | build host (i.e. ``-native``) | 997 | build host (i.e. ``-native``) |
998 | 998 | ||
999 | - ```BUILDSDK_CFLAGS`` <#var-BUILDSDK_CFLAGS>`__ when building for | 999 | - :term:`BUILDSDK_CFLAGS` when building for |
1000 | an SDK (i.e. ``nativesdk-``) | 1000 | an SDK (i.e. ``nativesdk-``) |
1001 | 1001 | ||
1002 | CLASSOVERRIDE | 1002 | CLASSOVERRIDE |
1003 | An internal variable specifying the special class override that | 1003 | An internal variable specifying the special class override that |
1004 | should currently apply (e.g. "class-target", "class-native", and so | 1004 | should currently apply (e.g. "class-target", "class-native", and so |
1005 | forth). The classes that use this variable (e.g. | 1005 | forth). The classes that use this variable (e.g. |
1006 | ```native`` <#ref-classes-native>`__, | 1006 | :ref:`native <ref-classes-native>`, |
1007 | ```nativesdk`` <#ref-classes-nativesdk>`__, and so forth) set the | 1007 | :ref:`nativesdk <ref-classes-nativesdk>`, and so forth) set the |
1008 | variable to appropriate values. | 1008 | variable to appropriate values. |
1009 | 1009 | ||
1010 | .. note:: | 1010 | .. note:: |
@@ -1022,19 +1022,19 @@ system and gives an overview of their function and contents. | |||
1022 | building for the build host: FOO_class-native = "native" FOO = | 1022 | building for the build host: FOO_class-native = "native" FOO = |
1023 | "other" The underlying mechanism behind ``CLASSOVERRIDE`` is simply | 1023 | "other" The underlying mechanism behind ``CLASSOVERRIDE`` is simply |
1024 | that it is included in the default value of | 1024 | that it is included in the default value of |
1025 | ```OVERRIDES`` <#var-OVERRIDES>`__. | 1025 | :term:`OVERRIDES`. |
1026 | 1026 | ||
1027 | CLEANBROKEN | 1027 | CLEANBROKEN |
1028 | If set to "1" within a recipe, ``CLEANBROKEN`` specifies that the | 1028 | If set to "1" within a recipe, ``CLEANBROKEN`` specifies that the |
1029 | ``make clean`` command does not work for the software being built. | 1029 | ``make clean`` command does not work for the software being built. |
1030 | Consequently, the OpenEmbedded build system will not try to run | 1030 | Consequently, the OpenEmbedded build system will not try to run |
1031 | ``make clean`` during the ```do_configure`` <#ref-tasks-configure>`__ | 1031 | ``make clean`` during the :ref:`ref-tasks-configure` |
1032 | task, which is the default behavior. | 1032 | task, which is the default behavior. |
1033 | 1033 | ||
1034 | COMBINED_FEATURES | 1034 | COMBINED_FEATURES |
1035 | Provides a list of hardware features that are enabled in both | 1035 | Provides a list of hardware features that are enabled in both |
1036 | ```MACHINE_FEATURES`` <#var-MACHINE_FEATURES>`__ and | 1036 | :term:`MACHINE_FEATURES` and |
1037 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__. This select list of | 1037 | :term:`DISTRO_FEATURES`. This select list of |
1038 | features contains features that make sense to be controlled both at | 1038 | features contains features that make sense to be controlled both at |
1039 | the machine and distribution configuration level. For example, the | 1039 | the machine and distribution configuration level. For example, the |
1040 | "bluetooth" feature requires hardware support but should also be | 1040 | "bluetooth" feature requires hardware support but should also be |
@@ -1050,7 +1050,7 @@ system and gives an overview of their function and contents. | |||
1050 | A regular expression that resolves to one or more hosts (when the | 1050 | A regular expression that resolves to one or more hosts (when the |
1051 | recipe is native) or one or more targets (when the recipe is | 1051 | recipe is native) or one or more targets (when the recipe is |
1052 | non-native) with which a recipe is compatible. The regular expression | 1052 | non-native) with which a recipe is compatible. The regular expression |
1053 | is matched against ```HOST_SYS`` <#var-HOST_SYS>`__. You can use the | 1053 | is matched against :term:`HOST_SYS`. You can use the |
1054 | variable to stop recipes from being built for classes of systems with | 1054 | variable to stop recipes from being built for classes of systems with |
1055 | which the recipes are not compatible. Stopping these builds is | 1055 | which the recipes are not compatible. Stopping these builds is |
1056 | particularly useful with kernels. The variable also helps to increase | 1056 | particularly useful with kernels. The variable also helps to increase |
@@ -1060,7 +1060,7 @@ system and gives an overview of their function and contents. | |||
1060 | COMPATIBLE_MACHINE | 1060 | COMPATIBLE_MACHINE |
1061 | A regular expression that resolves to one or more target machines | 1061 | A regular expression that resolves to one or more target machines |
1062 | with which a recipe is compatible. The regular expression is matched | 1062 | with which a recipe is compatible. The regular expression is matched |
1063 | against ```MACHINEOVERRIDES`` <#var-MACHINEOVERRIDES>`__. You can use | 1063 | against :term:`MACHINEOVERRIDES`. You can use |
1064 | the variable to stop recipes from being built for machines with which | 1064 | the variable to stop recipes from being built for machines with which |
1065 | the recipes are not compatible. Stopping these builds is particularly | 1065 | the recipes are not compatible. Stopping these builds is particularly |
1066 | useful with kernels. The variable also helps to increase parsing | 1066 | useful with kernels. The variable also helps to increase parsing |
@@ -1084,7 +1084,7 @@ system and gives an overview of their function and contents. | |||
1084 | 1084 | ||
1085 | The resulting list of complementary packages is associated with an | 1085 | The resulting list of complementary packages is associated with an |
1086 | item that can be added to | 1086 | item that can be added to |
1087 | ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__. An example usage of | 1087 | :term:`IMAGE_FEATURES`. An example usage of |
1088 | this is the "dev-pkgs" item that when added to ``IMAGE_FEATURES`` | 1088 | this is the "dev-pkgs" item that when added to ``IMAGE_FEATURES`` |
1089 | will install -dev packages (containing headers and other development | 1089 | will install -dev packages (containing headers and other development |
1090 | files) for every package in the image. | 1090 | files) for every package in the image. |
@@ -1099,9 +1099,9 @@ system and gives an overview of their function and contents. | |||
1099 | sysroots for other recipes. | 1099 | sysroots for other recipes. |
1100 | 1100 | ||
1101 | The default is | 1101 | The default is |
1102 | "``${``\ ```STAGING_DIR`` <#var-STAGING_DIR>`__\ ``}-components``." | 1102 | "``${``\ :term:`STAGING_DIR`\ ``}-components``." |
1103 | (i.e. | 1103 | (i.e. |
1104 | "``${``\ ```TMPDIR`` <#var-TMPDIR>`__\ ``}/sysroots-components``"). | 1104 | "``${``\ :term:`TMPDIR`\ ``}/sysroots-components``"). |
1105 | 1105 | ||
1106 | CONF_VERSION | 1106 | CONF_VERSION |
1107 | Tracks the version of the local configuration file (i.e. | 1107 | Tracks the version of the local configuration file (i.e. |
@@ -1183,7 +1183,7 @@ system and gives an overview of their function and contents. | |||
1183 | 1183 | ||
1184 | CONFLICT_DISTRO_FEATURES | 1184 | CONFLICT_DISTRO_FEATURES |
1185 | When inheriting the | 1185 | When inheriting the |
1186 | ```distro_features_check`` <#ref-classes-distro_features_check>`__ | 1186 | :ref:`distro_features_check <ref-classes-distro_features_check>` |
1187 | class, this variable identifies distribution features that would be | 1187 | class, this variable identifies distribution features that would be |
1188 | in conflict should the recipe be built. In other words, if the | 1188 | in conflict should the recipe be built. In other words, if the |
1189 | ``CONFLICT_DISTRO_FEATURES`` variable lists a feature that also | 1189 | ``CONFLICT_DISTRO_FEATURES`` variable lists a feature that also |
@@ -1192,9 +1192,9 @@ system and gives an overview of their function and contents. | |||
1192 | 1192 | ||
1193 | COPYLEFT_LICENSE_EXCLUDE | 1193 | COPYLEFT_LICENSE_EXCLUDE |
1194 | A space-separated list of licenses to exclude from the source | 1194 | A space-separated list of licenses to exclude from the source |
1195 | archived by the ```archiver`` <#ref-classes-archiver>`__ class. In | 1195 | archived by the :ref:`archiver <ref-classes-archiver>` class. In |
1196 | other words, if a license in a recipe's | 1196 | other words, if a license in a recipe's |
1197 | ```LICENSE`` <#var-LICENSE>`__ value is in the value of | 1197 | :term:`LICENSE` value is in the value of |
1198 | ``COPYLEFT_LICENSE_EXCLUDE``, then its source is not archived by the | 1198 | ``COPYLEFT_LICENSE_EXCLUDE``, then its source is not archived by the |
1199 | class. | 1199 | class. |
1200 | 1200 | ||
@@ -1208,62 +1208,62 @@ system and gives an overview of their function and contents. | |||
1208 | 1208 | ||
1209 | The default value, which is "CLOSED Proprietary", for | 1209 | The default value, which is "CLOSED Proprietary", for |
1210 | ``COPYLEFT_LICENSE_EXCLUDE`` is set by the | 1210 | ``COPYLEFT_LICENSE_EXCLUDE`` is set by the |
1211 | ```copyleft_filter`` <#ref-classes-copyleft_filter>`__ class, which | 1211 | :ref:`copyleft_filter <ref-classes-copyleft_filter>` class, which |
1212 | is inherited by the ``archiver`` class. | 1212 | is inherited by the ``archiver`` class. |
1213 | 1213 | ||
1214 | COPYLEFT_LICENSE_INCLUDE | 1214 | COPYLEFT_LICENSE_INCLUDE |
1215 | A space-separated list of licenses to include in the source archived | 1215 | A space-separated list of licenses to include in the source archived |
1216 | by the ```archiver`` <#ref-classes-archiver>`__ class. In other | 1216 | by the :ref:`archiver <ref-classes-archiver>` class. In other |
1217 | words, if a license in a recipe's ```LICENSE`` <#var-LICENSE>`__ | 1217 | words, if a license in a recipe's :term:`LICENSE` |
1218 | value is in the value of ``COPYLEFT_LICENSE_INCLUDE``, then its | 1218 | value is in the value of ``COPYLEFT_LICENSE_INCLUDE``, then its |
1219 | source is archived by the class. | 1219 | source is archived by the class. |
1220 | 1220 | ||
1221 | The default value is set by the | 1221 | The default value is set by the |
1222 | ```copyleft_filter`` <#ref-classes-copyleft_filter>`__ class, which | 1222 | :ref:`copyleft_filter <ref-classes-copyleft_filter>` class, which |
1223 | is inherited by the ``archiver`` class. The default value includes | 1223 | is inherited by the ``archiver`` class. The default value includes |
1224 | "GPL*", "LGPL*", and "AGPL*". | 1224 | "GPL*", "LGPL*", and "AGPL*". |
1225 | 1225 | ||
1226 | COPYLEFT_PN_EXCLUDE | 1226 | COPYLEFT_PN_EXCLUDE |
1227 | A list of recipes to exclude in the source archived by the | 1227 | A list of recipes to exclude in the source archived by the |
1228 | ```archiver`` <#ref-classes-archiver>`__ class. The | 1228 | :ref:`archiver <ref-classes-archiver>` class. The |
1229 | ``COPYLEFT_PN_EXCLUDE`` variable overrides the license inclusion and | 1229 | ``COPYLEFT_PN_EXCLUDE`` variable overrides the license inclusion and |
1230 | exclusion caused through the | 1230 | exclusion caused through the |
1231 | ```COPYLEFT_LICENSE_INCLUDE`` <#var-COPYLEFT_LICENSE_INCLUDE>`__ and | 1231 | :term:`COPYLEFT_LICENSE_INCLUDE` and |
1232 | ```COPYLEFT_LICENSE_EXCLUDE`` <#var-COPYLEFT_LICENSE_EXCLUDE>`__ | 1232 | :term:`COPYLEFT_LICENSE_EXCLUDE` |
1233 | variables, respectively. | 1233 | variables, respectively. |
1234 | 1234 | ||
1235 | The default value, which is "" indicating to not explicitly exclude | 1235 | The default value, which is "" indicating to not explicitly exclude |
1236 | any recipes by name, for ``COPYLEFT_PN_EXCLUDE`` is set by the | 1236 | any recipes by name, for ``COPYLEFT_PN_EXCLUDE`` is set by the |
1237 | ```copyleft_filter`` <#ref-classes-copyleft_filter>`__ class, which | 1237 | :ref:`copyleft_filter <ref-classes-copyleft_filter>` class, which |
1238 | is inherited by the ``archiver`` class. | 1238 | is inherited by the ``archiver`` class. |
1239 | 1239 | ||
1240 | COPYLEFT_PN_INCLUDE | 1240 | COPYLEFT_PN_INCLUDE |
1241 | A list of recipes to include in the source archived by the | 1241 | A list of recipes to include in the source archived by the |
1242 | ```archiver`` <#ref-classes-archiver>`__ class. The | 1242 | :ref:`archiver <ref-classes-archiver>` class. The |
1243 | ``COPYLEFT_PN_INCLUDE`` variable overrides the license inclusion and | 1243 | ``COPYLEFT_PN_INCLUDE`` variable overrides the license inclusion and |
1244 | exclusion caused through the | 1244 | exclusion caused through the |
1245 | ```COPYLEFT_LICENSE_INCLUDE`` <#var-COPYLEFT_LICENSE_INCLUDE>`__ and | 1245 | :term:`COPYLEFT_LICENSE_INCLUDE` and |
1246 | ```COPYLEFT_LICENSE_EXCLUDE`` <#var-COPYLEFT_LICENSE_EXCLUDE>`__ | 1246 | :term:`COPYLEFT_LICENSE_EXCLUDE` |
1247 | variables, respectively. | 1247 | variables, respectively. |
1248 | 1248 | ||
1249 | The default value, which is "" indicating to not explicitly include | 1249 | The default value, which is "" indicating to not explicitly include |
1250 | any recipes by name, for ``COPYLEFT_PN_INCLUDE`` is set by the | 1250 | any recipes by name, for ``COPYLEFT_PN_INCLUDE`` is set by the |
1251 | ```copyleft_filter`` <#ref-classes-copyleft_filter>`__ class, which | 1251 | :ref:`copyleft_filter <ref-classes-copyleft_filter>` class, which |
1252 | is inherited by the ``archiver`` class. | 1252 | is inherited by the ``archiver`` class. |
1253 | 1253 | ||
1254 | COPYLEFT_RECIPE_TYPES | 1254 | COPYLEFT_RECIPE_TYPES |
1255 | A space-separated list of recipe types to include in the source | 1255 | A space-separated list of recipe types to include in the source |
1256 | archived by the ```archiver`` <#ref-classes-archiver>`__ class. | 1256 | archived by the :ref:`archiver <ref-classes-archiver>` class. |
1257 | Recipe types are ``target``, ``native``, ``nativesdk``, ``cross``, | 1257 | Recipe types are ``target``, ``native``, ``nativesdk``, ``cross``, |
1258 | ``crosssdk``, and ``cross-canadian``. | 1258 | ``crosssdk``, and ``cross-canadian``. |
1259 | 1259 | ||
1260 | The default value, which is "target*", for ``COPYLEFT_RECIPE_TYPES`` | 1260 | The default value, which is "target*", for ``COPYLEFT_RECIPE_TYPES`` |
1261 | is set by the ```copyleft_filter`` <#ref-classes-copyleft_filter>`__ | 1261 | is set by the :ref:`copyleft_filter <ref-classes-copyleft_filter>` |
1262 | class, which is inherited by the ``archiver`` class. | 1262 | class, which is inherited by the ``archiver`` class. |
1263 | 1263 | ||
1264 | COPY_LIC_DIRS | 1264 | COPY_LIC_DIRS |
1265 | If set to "1" along with the | 1265 | If set to "1" along with the |
1266 | ```COPY_LIC_MANIFEST`` <#var-COPY_LIC_MANIFEST>`__ variable, the | 1266 | :term:`COPY_LIC_MANIFEST` variable, the |
1267 | OpenEmbedded build system copies into the image the license files, | 1267 | OpenEmbedded build system copies into the image the license files, |
1268 | which are located in ``/usr/share/common-licenses``, for each | 1268 | which are located in ``/usr/share/common-licenses``, for each |
1269 | package. The license files are placed in directories within the image | 1269 | package. The license files are placed in directories within the image |
@@ -1304,7 +1304,7 @@ system and gives an overview of their function and contents. | |||
1304 | CORE_IMAGE_EXTRA_INSTALL | 1304 | CORE_IMAGE_EXTRA_INSTALL |
1305 | Specifies the list of packages to be added to the image. You should | 1305 | Specifies the list of packages to be added to the image. You should |
1306 | only set this variable in the ``local.conf`` configuration file found | 1306 | only set this variable in the ``local.conf`` configuration file found |
1307 | in the `Build Directory <#build-directory>`__. | 1307 | in the :term:`Build Directory`. |
1308 | 1308 | ||
1309 | This variable replaces ``POKY_EXTRA_INSTALL``, which is no longer | 1309 | This variable replaces ``POKY_EXTRA_INSTALL``, which is no longer |
1310 | supported. | 1310 | supported. |
@@ -1321,7 +1321,7 @@ system and gives an overview of their function and contents. | |||
1321 | the ``poky/meta`` layer. | 1321 | the ``poky/meta`` layer. |
1322 | 1322 | ||
1323 | COREBASE_FILES | 1323 | COREBASE_FILES |
1324 | Lists files from the ```COREBASE`` <#var-COREBASE>`__ directory that | 1324 | Lists files from the :term:`COREBASE` directory that |
1325 | should be copied other than the layers listed in the | 1325 | should be copied other than the layers listed in the |
1326 | ``bblayers.conf`` file. The ``COREBASE_FILES`` variable exists for | 1326 | ``bblayers.conf`` file. The ``COREBASE_FILES`` variable exists for |
1327 | the purpose of copying metadata from the OpenEmbedded build system | 1327 | the purpose of copying metadata from the OpenEmbedded build system |
@@ -1345,19 +1345,19 @@ system and gives an overview of their function and contents. | |||
1345 | Default initialization for ``CPPFLAGS`` varies depending on what is | 1345 | Default initialization for ``CPPFLAGS`` varies depending on what is |
1346 | being built: | 1346 | being built: |
1347 | 1347 | ||
1348 | - ```TARGET_CPPFLAGS`` <#var-TARGET_CPPFLAGS>`__ when building for | 1348 | - :term:`TARGET_CPPFLAGS` when building for |
1349 | the target | 1349 | the target |
1350 | 1350 | ||
1351 | - ```BUILD_CPPFLAGS`` <#var-BUILD_CPPFLAGS>`__ when building for the | 1351 | - :term:`BUILD_CPPFLAGS` when building for the |
1352 | build host (i.e. ``-native``) | 1352 | build host (i.e. ``-native``) |
1353 | 1353 | ||
1354 | - ```BUILDSDK_CPPFLAGS`` <#var-BUILDSDK_CPPFLAGS>`__ when building | 1354 | - :term:`BUILDSDK_CPPFLAGS` when building |
1355 | for an SDK (i.e. ``nativesdk-``) | 1355 | for an SDK (i.e. ``nativesdk-``) |
1356 | 1356 | ||
1357 | CROSS_COMPILE | 1357 | CROSS_COMPILE |
1358 | The toolchain binary prefix for the target tools. The | 1358 | The toolchain binary prefix for the target tools. The |
1359 | ``CROSS_COMPILE`` variable is the same as the | 1359 | ``CROSS_COMPILE`` variable is the same as the |
1360 | ```TARGET_PREFIX`` <#var-TARGET_PREFIX>`__ variable. | 1360 | :term:`TARGET_PREFIX` variable. |
1361 | 1361 | ||
1362 | .. note:: | 1362 | .. note:: |
1363 | 1363 | ||
@@ -1381,19 +1381,19 @@ system and gives an overview of their function and contents. | |||
1381 | Default initialization for ``CXXFLAGS`` varies depending on what is | 1381 | Default initialization for ``CXXFLAGS`` varies depending on what is |
1382 | being built: | 1382 | being built: |
1383 | 1383 | ||
1384 | - ```TARGET_CXXFLAGS`` <#var-TARGET_CXXFLAGS>`__ when building for | 1384 | - :term:`TARGET_CXXFLAGS` when building for |
1385 | the target | 1385 | the target |
1386 | 1386 | ||
1387 | - ```BUILD_CXXFLAGS`` <#var-BUILD_CXXFLAGS>`__ when building for the | 1387 | - :term:`BUILD_CXXFLAGS` when building for the |
1388 | build host (i.e. ``-native``) | 1388 | build host (i.e. ``-native``) |
1389 | 1389 | ||
1390 | - ```BUILDSDK_CXXFLAGS`` <#var-BUILDSDK_CXXFLAGS>`__ when building | 1390 | - :term:`BUILDSDK_CXXFLAGS` when building |
1391 | for an SDK (i.e. ``nativesdk-``) | 1391 | for an SDK (i.e. ``nativesdk-``) |
1392 | 1392 | ||
1393 | D | 1393 | D |
1394 | The destination directory. The location in the `Build | 1394 | The destination directory. The location in the `Build |
1395 | Directory <#build-directory>`__ where components are installed by the | 1395 | Directory <#build-directory>`__ where components are installed by the |
1396 | ```do_install`` <#ref-tasks-install>`__ task. This location defaults | 1396 | :ref:`ref-tasks-install` task. This location defaults |
1397 | to: ${WORKDIR}/image | 1397 | to: ${WORKDIR}/image |
1398 | 1398 | ||
1399 | .. note:: | 1399 | .. note:: |
@@ -1411,7 +1411,7 @@ system and gives an overview of their function and contents. | |||
1411 | suitable for timestamps. | 1411 | suitable for timestamps. |
1412 | 1412 | ||
1413 | DEBIAN_NOAUTONAME | 1413 | DEBIAN_NOAUTONAME |
1414 | When the ```debian`` <#ref-classes-debian>`__ class is inherited, | 1414 | When the :ref:`debian <ref-classes-debian>` class is inherited, |
1415 | which is the default behavior, ``DEBIAN_NOAUTONAME`` specifies a | 1415 | which is the default behavior, ``DEBIAN_NOAUTONAME`` specifies a |
1416 | particular package should not be renamed according to Debian library | 1416 | particular package should not be renamed according to Debian library |
1417 | package naming. You must use the package name as an override when you | 1417 | package naming. You must use the package name as an override when you |
@@ -1419,7 +1419,7 @@ system and gives an overview of their function and contents. | |||
1419 | DEBIAN_NOAUTONAME_fontconfig-utils = "1" | 1419 | DEBIAN_NOAUTONAME_fontconfig-utils = "1" |
1420 | 1420 | ||
1421 | DEBIANNAME | 1421 | DEBIANNAME |
1422 | When the ```debian`` <#ref-classes-debian>`__ class is inherited, | 1422 | When the :ref:`debian <ref-classes-debian>` class is inherited, |
1423 | which is the default behavior, ``DEBIANNAME`` allows you to override | 1423 | which is the default behavior, ``DEBIANNAME`` allows you to override |
1424 | the library name for an individual package. Overriding the library | 1424 | the library name for an individual package. Overriding the library |
1425 | name in these cases is rare. You must use the package name as an | 1425 | name in these cases is rare. You must use the package name as an |
@@ -1457,12 +1457,12 @@ system and gives an overview of their function and contents. | |||
1457 | The default CPU and Application Binary Interface (ABI) tunings (i.e. | 1457 | The default CPU and Application Binary Interface (ABI) tunings (i.e. |
1458 | the "tune") used by the OpenEmbedded build system. The | 1458 | the "tune") used by the OpenEmbedded build system. The |
1459 | ``DEFAULTTUNE`` helps define | 1459 | ``DEFAULTTUNE`` helps define |
1460 | ```TUNE_FEATURES`` <#var-TUNE_FEATURES>`__. | 1460 | :term:`TUNE_FEATURES`. |
1461 | 1461 | ||
1462 | The default tune is either implicitly or explicitly set by the | 1462 | The default tune is either implicitly or explicitly set by the |
1463 | machine (```MACHINE`` <#var-MACHINE>`__). However, you can override | 1463 | machine (:term:`MACHINE`). However, you can override |
1464 | the setting using available tunes as defined with | 1464 | the setting using available tunes as defined with |
1465 | ```AVAILTUNES`` <#var-AVAILTUNES>`__. | 1465 | :term:`AVAILTUNES`. |
1466 | 1466 | ||
1467 | DEPENDS | 1467 | DEPENDS |
1468 | Lists a recipe's build-time dependencies. These are dependencies on | 1468 | Lists a recipe's build-time dependencies. These are dependencies on |
@@ -1474,12 +1474,12 @@ system and gives an overview of their function and contents. | |||
1474 | assignment is that all files installed by bar will be available in | 1474 | assignment is that all files installed by bar will be available in |
1475 | the appropriate staging sysroot, given by the | 1475 | the appropriate staging sysroot, given by the |
1476 | ```STAGING_DIR*`` <#var-STAGING_DIR>`__ variables, by the time the | 1476 | ```STAGING_DIR*`` <#var-STAGING_DIR>`__ variables, by the time the |
1477 | ```do_configure`` <#ref-tasks-configure>`__ task for ``foo`` runs. | 1477 | :ref:`ref-tasks-configure` task for ``foo`` runs. |
1478 | This mechanism is implemented by having ``do_configure`` depend on | 1478 | This mechanism is implemented by having ``do_configure`` depend on |
1479 | the ```do_populate_sysroot`` <#ref-tasks-populate_sysroot>`__ task of | 1479 | the :ref:`ref-tasks-populate_sysroot` task of |
1480 | each recipe listed in ``DEPENDS``, through a | 1480 | each recipe listed in ``DEPENDS``, through a |
1481 | ``[``\ ```deptask`` <&YOCTO_DOCS_BB_URL;#variable-flags>`__\ ``]`` | 1481 | ``[``\ ```deptask`` <&YOCTO_DOCS_BB_URL;#variable-flags>`__\ ``]`` |
1482 | declaration in the ```base`` <#ref-classes-base>`__ class. | 1482 | declaration in the :ref:`base <ref-classes-base>` class. |
1483 | 1483 | ||
1484 | .. note:: | 1484 | .. note:: |
1485 | 1485 | ||
@@ -1492,13 +1492,13 @@ system and gives an overview of their function and contents. | |||
1492 | that run on the build machine during the build. For example, a recipe | 1492 | that run on the build machine during the build. For example, a recipe |
1493 | that makes use of a code generator built by the recipe ``codegen`` | 1493 | that makes use of a code generator built by the recipe ``codegen`` |
1494 | might have the following: DEPENDS = "codegen-native" For more | 1494 | might have the following: DEPENDS = "codegen-native" For more |
1495 | information, see the ```native`` <#ref-classes-native>`__ class and | 1495 | information, see the :ref:`native <ref-classes-native>` class and |
1496 | the ```EXTRANATIVEPATH`` <#var-EXTRANATIVEPATH>`__ variable. | 1496 | the :term:`EXTRANATIVEPATH` variable. |
1497 | 1497 | ||
1498 | .. note:: | 1498 | .. note:: |
1499 | 1499 | ||
1500 | - ``DEPENDS`` is a list of recipe names. Or, to be more precise, | 1500 | - ``DEPENDS`` is a list of recipe names. Or, to be more precise, |
1501 | it is a list of ```PROVIDES`` <#var-PROVIDES>`__ names, which | 1501 | it is a list of :term:`PROVIDES` names, which |
1502 | usually match recipe names. Putting a package name such as | 1502 | usually match recipe names. Putting a package name such as |
1503 | "foo-dev" in ``DEPENDS`` does not make sense. Use "foo" | 1503 | "foo-dev" in ``DEPENDS`` does not make sense. Use "foo" |
1504 | instead, as this will put files from all the packages that make | 1504 | instead, as this will put files from all the packages that make |
@@ -1524,7 +1524,7 @@ system and gives an overview of their function and contents. | |||
1524 | fail to link against ``libfoo``. | 1524 | fail to link against ``libfoo``. |
1525 | 1525 | ||
1526 | For information on runtime dependencies, see the | 1526 | For information on runtime dependencies, see the |
1527 | ```RDEPENDS`` <#var-RDEPENDS>`__ variable. You can also see the | 1527 | :term:`RDEPENDS` variable. You can also see the |
1528 | "`Tasks <&YOCTO_DOCS_BB_URL;#tasks>`__" and | 1528 | "`Tasks <&YOCTO_DOCS_BB_URL;#tasks>`__" and |
1529 | "`Dependencies <&YOCTO_DOCS_BB_URL;#dependencies>`__" sections in the | 1529 | "`Dependencies <&YOCTO_DOCS_BB_URL;#dependencies>`__" sections in the |
1530 | BitBake User Manual for additional information on tasks and | 1530 | BitBake User Manual for additional information on tasks and |
@@ -1534,7 +1534,7 @@ system and gives an overview of their function and contents. | |||
1534 | Points to the general area that the OpenEmbedded build system uses to | 1534 | Points to the general area that the OpenEmbedded build system uses to |
1535 | place images, packages, SDKs, and other output files that are ready | 1535 | place images, packages, SDKs, and other output files that are ready |
1536 | to be used outside of the build system. By default, this directory | 1536 | to be used outside of the build system. By default, this directory |
1537 | resides within the `Build Directory <#build-directory>`__ as | 1537 | resides within the :term:`Build Directory` as |
1538 | ``${TMPDIR}/deploy``. | 1538 | ``${TMPDIR}/deploy``. |
1539 | 1539 | ||
1540 | For more information on the structure of the Build Directory, see | 1540 | For more information on the structure of the Build Directory, see |
@@ -1550,17 +1550,17 @@ system and gives an overview of their function and contents. | |||
1550 | Points to the area that the OpenEmbedded build system uses to place | 1550 | Points to the area that the OpenEmbedded build system uses to place |
1551 | Debian packages that are ready to be used outside of the build | 1551 | Debian packages that are ready to be used outside of the build |
1552 | system. This variable applies only when | 1552 | system. This variable applies only when |
1553 | ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__ contains | 1553 | :term:`PACKAGE_CLASSES` contains |
1554 | "package_deb". | 1554 | "package_deb". |
1555 | 1555 | ||
1556 | The BitBake configuration file initially defines the | 1556 | The BitBake configuration file initially defines the |
1557 | ``DEPLOY_DIR_DEB`` variable as a sub-folder of | 1557 | ``DEPLOY_DIR_DEB`` variable as a sub-folder of |
1558 | ```DEPLOY_DIR`` <#var-DEPLOY_DIR>`__: DEPLOY_DIR_DEB = | 1558 | :term:`DEPLOY_DIR`: DEPLOY_DIR_DEB = |
1559 | "${DEPLOY_DIR}/deb" | 1559 | "${DEPLOY_DIR}/deb" |
1560 | 1560 | ||
1561 | The ```package_deb`` <#ref-classes-package_deb>`__ class uses the | 1561 | The :ref:`package_deb <ref-classes-package_deb>` class uses the |
1562 | ``DEPLOY_DIR_DEB`` variable to make sure the | 1562 | ``DEPLOY_DIR_DEB`` variable to make sure the |
1563 | ```do_package_write_deb`` <#ref-tasks-package_write_deb>`__ task | 1563 | :ref:`ref-tasks-package_write_deb` task |
1564 | writes Debian packages into the appropriate folder. For more | 1564 | writes Debian packages into the appropriate folder. For more |
1565 | information on how packaging works, see the "`Package | 1565 | information on how packaging works, see the "`Package |
1566 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section | 1566 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section |
@@ -1571,7 +1571,7 @@ system and gives an overview of their function and contents. | |||
1571 | images and other associated output files that are ready to be | 1571 | images and other associated output files that are ready to be |
1572 | deployed onto the target machine. The directory is machine-specific | 1572 | deployed onto the target machine. The directory is machine-specific |
1573 | as it contains the ``${MACHINE}`` name. By default, this directory | 1573 | as it contains the ``${MACHINE}`` name. By default, this directory |
1574 | resides within the `Build Directory <#build-directory>`__ as | 1574 | resides within the :term:`Build Directory` as |
1575 | ``${DEPLOY_DIR}/images/${MACHINE}/``. | 1575 | ``${DEPLOY_DIR}/images/${MACHINE}/``. |
1576 | 1576 | ||
1577 | For more information on the structure of the Build Directory, see | 1577 | For more information on the structure of the Build Directory, see |
@@ -1586,16 +1586,16 @@ system and gives an overview of their function and contents. | |||
1586 | Points to the area that the OpenEmbedded build system uses to place | 1586 | Points to the area that the OpenEmbedded build system uses to place |
1587 | IPK packages that are ready to be used outside of the build system. | 1587 | IPK packages that are ready to be used outside of the build system. |
1588 | This variable applies only when | 1588 | This variable applies only when |
1589 | ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__ contains | 1589 | :term:`PACKAGE_CLASSES` contains |
1590 | "package_ipk". | 1590 | "package_ipk". |
1591 | 1591 | ||
1592 | The BitBake configuration file initially defines this variable as a | 1592 | The BitBake configuration file initially defines this variable as a |
1593 | sub-folder of ```DEPLOY_DIR`` <#var-DEPLOY_DIR>`__: DEPLOY_DIR_IPK = | 1593 | sub-folder of :term:`DEPLOY_DIR`: DEPLOY_DIR_IPK = |
1594 | "${DEPLOY_DIR}/ipk" | 1594 | "${DEPLOY_DIR}/ipk" |
1595 | 1595 | ||
1596 | The ```package_ipk`` <#ref-classes-package_ipk>`__ class uses the | 1596 | The :ref:`package_ipk <ref-classes-package_ipk>` class uses the |
1597 | ``DEPLOY_DIR_IPK`` variable to make sure the | 1597 | ``DEPLOY_DIR_IPK`` variable to make sure the |
1598 | ```do_package_write_ipk`` <#ref-tasks-package_write_ipk>`__ task | 1598 | :ref:`ref-tasks-package_write_ipk` task |
1599 | writes IPK packages into the appropriate folder. For more information | 1599 | writes IPK packages into the appropriate folder. For more information |
1600 | on how packaging works, see the "`Package | 1600 | on how packaging works, see the "`Package |
1601 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section | 1601 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section |
@@ -1605,16 +1605,16 @@ system and gives an overview of their function and contents. | |||
1605 | Points to the area that the OpenEmbedded build system uses to place | 1605 | Points to the area that the OpenEmbedded build system uses to place |
1606 | RPM packages that are ready to be used outside of the build system. | 1606 | RPM packages that are ready to be used outside of the build system. |
1607 | This variable applies only when | 1607 | This variable applies only when |
1608 | ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__ contains | 1608 | :term:`PACKAGE_CLASSES` contains |
1609 | "package_rpm". | 1609 | "package_rpm". |
1610 | 1610 | ||
1611 | The BitBake configuration file initially defines this variable as a | 1611 | The BitBake configuration file initially defines this variable as a |
1612 | sub-folder of ```DEPLOY_DIR`` <#var-DEPLOY_DIR>`__: DEPLOY_DIR_RPM = | 1612 | sub-folder of :term:`DEPLOY_DIR`: DEPLOY_DIR_RPM = |
1613 | "${DEPLOY_DIR}/rpm" | 1613 | "${DEPLOY_DIR}/rpm" |
1614 | 1614 | ||
1615 | The ```package_rpm`` <#ref-classes-package_rpm>`__ class uses the | 1615 | The :ref:`package_rpm <ref-classes-package_rpm>` class uses the |
1616 | ``DEPLOY_DIR_RPM`` variable to make sure the | 1616 | ``DEPLOY_DIR_RPM`` variable to make sure the |
1617 | ```do_package_write_rpm`` <#ref-tasks-package_write_rpm>`__ task | 1617 | :ref:`ref-tasks-package_write_rpm` task |
1618 | writes RPM packages into the appropriate folder. For more information | 1618 | writes RPM packages into the appropriate folder. For more information |
1619 | on how packaging works, see the "`Package | 1619 | on how packaging works, see the "`Package |
1620 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section | 1620 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section |
@@ -1624,40 +1624,40 @@ system and gives an overview of their function and contents. | |||
1624 | Points to the area that the OpenEmbedded build system uses to place | 1624 | Points to the area that the OpenEmbedded build system uses to place |
1625 | tarballs that are ready to be used outside of the build system. This | 1625 | tarballs that are ready to be used outside of the build system. This |
1626 | variable applies only when | 1626 | variable applies only when |
1627 | ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__ contains | 1627 | :term:`PACKAGE_CLASSES` contains |
1628 | "package_tar". | 1628 | "package_tar". |
1629 | 1629 | ||
1630 | The BitBake configuration file initially defines this variable as a | 1630 | The BitBake configuration file initially defines this variable as a |
1631 | sub-folder of ```DEPLOY_DIR`` <#var-DEPLOY_DIR>`__: DEPLOY_DIR_TAR = | 1631 | sub-folder of :term:`DEPLOY_DIR`: DEPLOY_DIR_TAR = |
1632 | "${DEPLOY_DIR}/tar" | 1632 | "${DEPLOY_DIR}/tar" |
1633 | 1633 | ||
1634 | The ```package_tar`` <#ref-classes-package_tar>`__ class uses the | 1634 | The :ref:`package_tar <ref-classes-package_tar>` class uses the |
1635 | ``DEPLOY_DIR_TAR`` variable to make sure the | 1635 | ``DEPLOY_DIR_TAR`` variable to make sure the |
1636 | ```do_package_write_tar`` <#ref-tasks-package_write_tar>`__ task | 1636 | :ref:`ref-tasks-package_write_tar` task |
1637 | writes TAR packages into the appropriate folder. For more information | 1637 | writes TAR packages into the appropriate folder. For more information |
1638 | on how packaging works, see the "`Package | 1638 | on how packaging works, see the "`Package |
1639 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section | 1639 | Feeds <&YOCTO_DOCS_OM_URL;#package-feeds-dev-environment>`__" section |
1640 | in the Yocto Project Overview and Concepts Manual. | 1640 | in the Yocto Project Overview and Concepts Manual. |
1641 | 1641 | ||
1642 | DEPLOYDIR | 1642 | DEPLOYDIR |
1643 | When inheriting the ```deploy`` <#ref-classes-deploy>`__ class, the | 1643 | When inheriting the :ref:`deploy <ref-classes-deploy>` class, the |
1644 | ``DEPLOYDIR`` points to a temporary work area for deployed files that | 1644 | ``DEPLOYDIR`` points to a temporary work area for deployed files that |
1645 | is set in the ``deploy`` class as follows: DEPLOYDIR = | 1645 | is set in the ``deploy`` class as follows: DEPLOYDIR = |
1646 | "${WORKDIR}/deploy-${```PN`` <#var-PN>`__}" | 1646 | "${WORKDIR}/deploy-${:term:`PN`}" |
1647 | 1647 | ||
1648 | Recipes inheriting the ``deploy`` class should copy files to be | 1648 | Recipes inheriting the ``deploy`` class should copy files to be |
1649 | deployed into ``DEPLOYDIR``, and the class will take care of copying | 1649 | deployed into ``DEPLOYDIR``, and the class will take care of copying |
1650 | them into ```DEPLOY_DIR_IMAGE`` <#var-DEPLOY_DIR_IMAGE>`__ | 1650 | them into :term:`DEPLOY_DIR_IMAGE` |
1651 | afterwards. | 1651 | afterwards. |
1652 | 1652 | ||
1653 | DESCRIPTION | 1653 | DESCRIPTION |
1654 | The package description used by package managers. If not set, | 1654 | The package description used by package managers. If not set, |
1655 | ``DESCRIPTION`` takes the value of the ```SUMMARY`` <#var-SUMMARY>`__ | 1655 | ``DESCRIPTION`` takes the value of the :term:`SUMMARY` |
1656 | variable. | 1656 | variable. |
1657 | 1657 | ||
1658 | DISTRO | 1658 | DISTRO |
1659 | The short name of the distribution. For information on the long name | 1659 | The short name of the distribution. For information on the long name |
1660 | of the distribution, see the ```DISTRO_NAME`` <#var-DISTRO_NAME>`__ | 1660 | of the distribution, see the :term:`DISTRO_NAME` |
1661 | variable. | 1661 | variable. |
1662 | 1662 | ||
1663 | The ``DISTRO`` variable corresponds to a distribution configuration | 1663 | The ``DISTRO`` variable corresponds to a distribution configuration |
@@ -1671,7 +1671,7 @@ system and gives an overview of their function and contents. | |||
1671 | follows: DISTRO = "poky" | 1671 | follows: DISTRO = "poky" |
1672 | 1672 | ||
1673 | Distribution configuration files are located in a ``conf/distro`` | 1673 | Distribution configuration files are located in a ``conf/distro`` |
1674 | directory within the `Metadata <#metadata>`__ that contains the | 1674 | directory within the :term:`Metadata` that contains the |
1675 | distribution configuration. The value for ``DISTRO`` must not contain | 1675 | distribution configuration. The value for ``DISTRO`` must not contain |
1676 | spaces, and is typically all lower-case. | 1676 | spaces, and is typically all lower-case. |
1677 | 1677 | ||
@@ -1709,7 +1709,7 @@ system and gives an overview of their function and contents. | |||
1709 | In most cases, the presence or absence of a feature in | 1709 | In most cases, the presence or absence of a feature in |
1710 | ``DISTRO_FEATURES`` is translated to the appropriate option supplied | 1710 | ``DISTRO_FEATURES`` is translated to the appropriate option supplied |
1711 | to the configure script during the | 1711 | to the configure script during the |
1712 | ```do_configure`` <#ref-tasks-configure>`__ task for recipes that | 1712 | :ref:`ref-tasks-configure` task for recipes that |
1713 | optionally support the feature. For example, specifying "x11" in | 1713 | optionally support the feature. For example, specifying "x11" in |
1714 | ``DISTRO_FEATURES``, causes every piece of software built for the | 1714 | ``DISTRO_FEATURES``, causes every piece of software built for the |
1715 | target that can optionally support X11 to have its X11 support | 1715 | target that can optionally support X11 to have its X11 support |
@@ -1744,59 +1744,59 @@ system and gives an overview of their function and contents. | |||
1744 | 1744 | ||
1745 | When creating a custom distribution, you might find it useful to be | 1745 | When creating a custom distribution, you might find it useful to be |
1746 | able to reuse the default | 1746 | able to reuse the default |
1747 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ options without the | 1747 | :term:`DISTRO_FEATURES` options without the |
1748 | need to write out the full set. Here is an example that uses | 1748 | need to write out the full set. Here is an example that uses |
1749 | ``DISTRO_FEATURES_DEFAULT`` from a custom distro configuration file: | 1749 | ``DISTRO_FEATURES_DEFAULT`` from a custom distro configuration file: |
1750 | DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} myfeature" | 1750 | DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} myfeature" |
1751 | 1751 | ||
1752 | DISTRO_FEATURES_FILTER_NATIVE | 1752 | DISTRO_FEATURES_FILTER_NATIVE |
1753 | Specifies a list of features that if present in the target | 1753 | Specifies a list of features that if present in the target |
1754 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ value should be | 1754 | :term:`DISTRO_FEATURES` value should be |
1755 | included in ``DISTRO_FEATURES`` when building native recipes. This | 1755 | included in ``DISTRO_FEATURES`` when building native recipes. This |
1756 | variable is used in addition to the features filtered using the | 1756 | variable is used in addition to the features filtered using the |
1757 | ```DISTRO_FEATURES_NATIVE`` <#var-DISTRO_FEATURES_NATIVE>`__ | 1757 | :term:`DISTRO_FEATURES_NATIVE` |
1758 | variable. | 1758 | variable. |
1759 | 1759 | ||
1760 | DISTRO_FEATURES_FILTER_NATIVESDK | 1760 | DISTRO_FEATURES_FILTER_NATIVESDK |
1761 | Specifies a list of features that if present in the target | 1761 | Specifies a list of features that if present in the target |
1762 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ value should be | 1762 | :term:`DISTRO_FEATURES` value should be |
1763 | included in ``DISTRO_FEATURES`` when building nativesdk recipes. This | 1763 | included in ``DISTRO_FEATURES`` when building nativesdk recipes. This |
1764 | variable is used in addition to the features filtered using the | 1764 | variable is used in addition to the features filtered using the |
1765 | ```DISTRO_FEATURES_NATIVESDK`` <#var-DISTRO_FEATURES_NATIVESDK>`__ | 1765 | :term:`DISTRO_FEATURES_NATIVESDK` |
1766 | variable. | 1766 | variable. |
1767 | 1767 | ||
1768 | DISTRO_FEATURES_NATIVE | 1768 | DISTRO_FEATURES_NATIVE |
1769 | Specifies a list of features that should be included in | 1769 | Specifies a list of features that should be included in |
1770 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ when building native | 1770 | :term:`DISTRO_FEATURES` when building native |
1771 | recipes. This variable is used in addition to the features filtered | 1771 | recipes. This variable is used in addition to the features filtered |
1772 | using the | 1772 | using the |
1773 | ```DISTRO_FEATURES_FILTER_NATIVE`` <#var-DISTRO_FEATURES_FILTER_NATIVE>`__ | 1773 | :term:`DISTRO_FEATURES_FILTER_NATIVE` |
1774 | variable. | 1774 | variable. |
1775 | 1775 | ||
1776 | DISTRO_FEATURES_NATIVESDK | 1776 | DISTRO_FEATURES_NATIVESDK |
1777 | Specifies a list of features that should be included in | 1777 | Specifies a list of features that should be included in |
1778 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__ when building | 1778 | :term:`DISTRO_FEATURES` when building |
1779 | nativesdk recipes. This variable is used in addition to the features | 1779 | nativesdk recipes. This variable is used in addition to the features |
1780 | filtered using the | 1780 | filtered using the |
1781 | ```DISTRO_FEATURES_FILTER_NATIVESDK`` <#var-DISTRO_FEATURES_FILTER_NATIVESDK>`__ | 1781 | :term:`DISTRO_FEATURES_FILTER_NATIVESDK` |
1782 | variable. | 1782 | variable. |
1783 | 1783 | ||
1784 | DISTRO_NAME | 1784 | DISTRO_NAME |
1785 | The long name of the distribution. For information on the short name | 1785 | The long name of the distribution. For information on the short name |
1786 | of the distribution, see the ```DISTRO`` <#var-DISTRO>`__ variable. | 1786 | of the distribution, see the :term:`DISTRO` variable. |
1787 | 1787 | ||
1788 | The ``DISTRO_NAME`` variable corresponds to a distribution | 1788 | The ``DISTRO_NAME`` variable corresponds to a distribution |
1789 | configuration file whose root name is the same as the variable's | 1789 | configuration file whose root name is the same as the variable's |
1790 | argument and whose filename extension is ``.conf``. For example, the | 1790 | argument and whose filename extension is ``.conf``. For example, the |
1791 | distribution configuration file for the Poky distribution is named | 1791 | distribution configuration file for the Poky distribution is named |
1792 | ``poky.conf`` and resides in the ``meta-poky/conf/distro`` directory | 1792 | ``poky.conf`` and resides in the ``meta-poky/conf/distro`` directory |
1793 | of the `Source Directory <#source-directory>`__. | 1793 | of the :term:`Source Directory`. |
1794 | 1794 | ||
1795 | Within that ``poky.conf`` file, the ``DISTRO_NAME`` variable is set | 1795 | Within that ``poky.conf`` file, the ``DISTRO_NAME`` variable is set |
1796 | as follows: DISTRO_NAME = "Poky (Yocto Project Reference Distro)" | 1796 | as follows: DISTRO_NAME = "Poky (Yocto Project Reference Distro)" |
1797 | 1797 | ||
1798 | Distribution configuration files are located in a ``conf/distro`` | 1798 | Distribution configuration files are located in a ``conf/distro`` |
1799 | directory within the `Metadata <#metadata>`__ that contains the | 1799 | directory within the :term:`Metadata` that contains the |
1800 | distribution configuration. | 1800 | distribution configuration. |
1801 | 1801 | ||
1802 | .. note:: | 1802 | .. note:: |
@@ -1814,27 +1814,27 @@ system and gives an overview of their function and contents. | |||
1814 | DISTROOVERRIDES | 1814 | DISTROOVERRIDES |
1815 | A colon-separated list of overrides specific to the current | 1815 | A colon-separated list of overrides specific to the current |
1816 | distribution. By default, this list includes the value of | 1816 | distribution. By default, this list includes the value of |
1817 | ```DISTRO`` <#var-DISTRO>`__. | 1817 | :term:`DISTRO`. |
1818 | 1818 | ||
1819 | You can extend ``DISTROOVERRIDES`` to add extra overrides that should | 1819 | You can extend ``DISTROOVERRIDES`` to add extra overrides that should |
1820 | apply to the distribution. | 1820 | apply to the distribution. |
1821 | 1821 | ||
1822 | The underlying mechanism behind ``DISTROOVERRIDES`` is simply that it | 1822 | The underlying mechanism behind ``DISTROOVERRIDES`` is simply that it |
1823 | is included in the default value of | 1823 | is included in the default value of |
1824 | ```OVERRIDES`` <#var-OVERRIDES>`__. | 1824 | :term:`OVERRIDES`. |
1825 | 1825 | ||
1826 | DL_DIR | 1826 | DL_DIR |
1827 | The central download directory used by the build process to store | 1827 | The central download directory used by the build process to store |
1828 | downloads. By default, ``DL_DIR`` gets files suitable for mirroring | 1828 | downloads. By default, ``DL_DIR`` gets files suitable for mirroring |
1829 | for everything except Git repositories. If you want tarballs of Git | 1829 | for everything except Git repositories. If you want tarballs of Git |
1830 | repositories, use the | 1830 | repositories, use the |
1831 | ```BB_GENERATE_MIRROR_TARBALLS`` <#var-BB_GENERATE_MIRROR_TARBALLS>`__ | 1831 | :term:`BB_GENERATE_MIRROR_TARBALLS` |
1832 | variable. | 1832 | variable. |
1833 | 1833 | ||
1834 | You can set this directory by defining the ``DL_DIR`` variable in the | 1834 | You can set this directory by defining the ``DL_DIR`` variable in the |
1835 | ``conf/local.conf`` file. This directory is self-maintaining and you | 1835 | ``conf/local.conf`` file. This directory is self-maintaining and you |
1836 | should not have to touch it. By default, the directory is | 1836 | should not have to touch it. By default, the directory is |
1837 | ``downloads`` in the `Build Directory <#build-directory>`__. #DL_DIR | 1837 | ``downloads`` in the :term:`Build Directory`. #DL_DIR |
1838 | ?= "${TOPDIR}/downloads" To specify a different download directory, | 1838 | ?= "${TOPDIR}/downloads" To specify a different download directory, |
1839 | simply remove the comment from the line and provide your directory. | 1839 | simply remove the comment from the line and provide your directory. |
1840 | 1840 | ||
@@ -1859,7 +1859,7 @@ system and gives an overview of their function and contents. | |||
1859 | page. | 1859 | page. |
1860 | 1860 | ||
1861 | DOC_COMPRESS | 1861 | DOC_COMPRESS |
1862 | When inheriting the ```compress_doc`` <#ref-classes-compress_doc>`__ | 1862 | When inheriting the :ref:`compress_doc <ref-classes-compress_doc>` |
1863 | class, this variable sets the compression policy used when the | 1863 | class, this variable sets the compression policy used when the |
1864 | OpenEmbedded build system compresses man pages and info pages. By | 1864 | OpenEmbedded build system compresses man pages and info pages. By |
1865 | default, the compression method used is gz (gzip). Other policies | 1865 | default, the compression method used is gz (gzip). Other policies |
@@ -1870,12 +1870,12 @@ system and gives an overview of their function and contents. | |||
1870 | 1870 | ||
1871 | EFI_PROVIDER | 1871 | EFI_PROVIDER |
1872 | When building bootable images (i.e. where ``hddimg``, ``iso``, or | 1872 | When building bootable images (i.e. where ``hddimg``, ``iso``, or |
1873 | ``wic.vmdk`` is in ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__), the | 1873 | ``wic.vmdk`` is in :term:`IMAGE_FSTYPES`), the |
1874 | ``EFI_PROVIDER`` variable specifies the EFI bootloader to use. The | 1874 | ``EFI_PROVIDER`` variable specifies the EFI bootloader to use. The |
1875 | default is "grub-efi", but "systemd-boot" can be used instead. | 1875 | default is "grub-efi", but "systemd-boot" can be used instead. |
1876 | 1876 | ||
1877 | See the ```systemd-boot`` <#ref-classes-systemd-boot>`__ and | 1877 | See the :ref:`systemd-boot <ref-classes-systemd-boot>` and |
1878 | ```image-live`` <#ref-classes-image-live>`__ classes for more | 1878 | :ref:`image-live <ref-classes-image-live>` classes for more |
1879 | information. | 1879 | information. |
1880 | 1880 | ||
1881 | ENABLE_BINARY_LOCALE_GENERATION | 1881 | ENABLE_BINARY_LOCALE_GENERATION |
@@ -1884,13 +1884,13 @@ system and gives an overview of their function and contents. | |||
1884 | less). | 1884 | less). |
1885 | 1885 | ||
1886 | ERR_REPORT_DIR | 1886 | ERR_REPORT_DIR |
1887 | When used with the ```report-error`` <#ref-classes-report-error>`__ | 1887 | When used with the :ref:`report-error <ref-classes-report-error>` |
1888 | class, specifies the path used for storing the debug files created by | 1888 | class, specifies the path used for storing the debug files created by |
1889 | the `error reporting | 1889 | the `error reporting |
1890 | tool <&YOCTO_DOCS_DEV_URL;#using-the-error-reporting-tool>`__, which | 1890 | tool <&YOCTO_DOCS_DEV_URL;#using-the-error-reporting-tool>`__, which |
1891 | allows you to submit build errors you encounter to a central | 1891 | allows you to submit build errors you encounter to a central |
1892 | database. By default, the value of this variable is | 1892 | database. By default, the value of this variable is |
1893 | ``${``\ ```LOG_DIR`` <#var-LOG_DIR>`__\ ``}/error-report``. | 1893 | ``${``\ :term:`LOG_DIR`\ ``}/error-report``. |
1894 | 1894 | ||
1895 | You can set ``ERR_REPORT_DIR`` to the path you want the error | 1895 | You can set ``ERR_REPORT_DIR`` to the path you want the error |
1896 | reporting tool to store the debug files as follows in your | 1896 | reporting tool to store the debug files as follows in your |
@@ -1901,7 +1901,7 @@ system and gives an overview of their function and contents. | |||
1901 | errors by the OpenEmbedded build system. You set this variable in | 1901 | errors by the OpenEmbedded build system. You set this variable in |
1902 | your distribution configuration file. For a list of the checks you | 1902 | your distribution configuration file. For a list of the checks you |
1903 | can control with this variable, see the | 1903 | can control with this variable, see the |
1904 | "```insane.bbclass`` <#ref-classes-insane>`__" section. | 1904 | ":ref:`insane.bbclass <ref-classes-insane>`" section. |
1905 | 1905 | ||
1906 | EXCLUDE_FROM_SHLIBS | 1906 | EXCLUDE_FROM_SHLIBS |
1907 | Triggers the OpenEmbedded build system's shared libraries resolver to | 1907 | Triggers the OpenEmbedded build system's shared libraries resolver to |
@@ -1918,7 +1918,7 @@ system and gives an overview of their function and contents. | |||
1918 | implicitly define some dependencies between packages. | 1918 | implicitly define some dependencies between packages. |
1919 | 1919 | ||
1920 | The ``EXCLUDE_FROM_SHLIBS`` variable is similar to the | 1920 | The ``EXCLUDE_FROM_SHLIBS`` variable is similar to the |
1921 | ```PRIVATE_LIBS`` <#var-PRIVATE_LIBS>`__ variable, which excludes a | 1921 | :term:`PRIVATE_LIBS` variable, which excludes a |
1922 | package's particular libraries only and not the whole package. | 1922 | package's particular libraries only and not the whole package. |
1923 | 1923 | ||
1924 | Use the ``EXCLUDE_FROM_SHLIBS`` variable by setting it to "1" for a | 1924 | Use the ``EXCLUDE_FROM_SHLIBS`` variable by setting it to "1" for a |
@@ -1945,13 +1945,13 @@ system and gives an overview of their function and contents. | |||
1945 | 1945 | ||
1946 | EXTENDPE | 1946 | EXTENDPE |
1947 | Used with file and pathnames to create a prefix for a recipe's | 1947 | Used with file and pathnames to create a prefix for a recipe's |
1948 | version based on the recipe's ```PE`` <#var-PE>`__ value. If ``PE`` | 1948 | version based on the recipe's :term:`PE` value. If ``PE`` |
1949 | is set and greater than zero for a recipe, ``EXTENDPE`` becomes that | 1949 | is set and greater than zero for a recipe, ``EXTENDPE`` becomes that |
1950 | value (e.g if ``PE`` is equal to "1" then ``EXTENDPE`` becomes "1_"). | 1950 | value (e.g if ``PE`` is equal to "1" then ``EXTENDPE`` becomes "1_"). |
1951 | If a recipe's ``PE`` is not set (the default) or is equal to zero, | 1951 | If a recipe's ``PE`` is not set (the default) or is equal to zero, |
1952 | ``EXTENDPE`` becomes "". | 1952 | ``EXTENDPE`` becomes "". |
1953 | 1953 | ||
1954 | See the ```STAMP`` <#var-STAMP>`__ variable for an example. | 1954 | See the :term:`STAMP` variable for an example. |
1955 | 1955 | ||
1956 | EXTENDPKGV | 1956 | EXTENDPKGV |
1957 | The full package version specification as it appears on the final | 1957 | The full package version specification as it appears on the final |
@@ -1971,43 +1971,43 @@ system and gives an overview of their function and contents. | |||
1971 | any externally installed tools. Setting the ``EXTERNAL_KERNEL_TOOLS`` | 1971 | any externally installed tools. Setting the ``EXTERNAL_KERNEL_TOOLS`` |
1972 | variable tells the OpenEmbedded build system to prefer the installed | 1972 | variable tells the OpenEmbedded build system to prefer the installed |
1973 | external tools. See the | 1973 | external tools. See the |
1974 | ```kernel-yocto`` <#ref-classes-kernel-yocto>`__ class in | 1974 | :ref:`kernel-yocto <ref-classes-kernel-yocto>` class in |
1975 | ``meta/classes`` to see how the variable is used. | 1975 | ``meta/classes`` to see how the variable is used. |
1976 | 1976 | ||
1977 | EXTERNALSRC | 1977 | EXTERNALSRC |
1978 | When inheriting the ```externalsrc`` <#ref-classes-externalsrc>`__ | 1978 | When inheriting the :ref:`externalsrc <ref-classes-externalsrc>` |
1979 | class, this variable points to the source tree, which is outside of | 1979 | class, this variable points to the source tree, which is outside of |
1980 | the OpenEmbedded build system. When set, this variable sets the | 1980 | the OpenEmbedded build system. When set, this variable sets the |
1981 | ```S`` <#var-S>`__ variable, which is what the OpenEmbedded build | 1981 | :term:`S` variable, which is what the OpenEmbedded build |
1982 | system uses to locate unpacked recipe source code. | 1982 | system uses to locate unpacked recipe source code. |
1983 | 1983 | ||
1984 | For more information on ``externalsrc.bbclass``, see the | 1984 | For more information on ``externalsrc.bbclass``, see the |
1985 | "```externalsrc.bbclass`` <#ref-classes-externalsrc>`__" section. You | 1985 | ":ref:`externalsrc.bbclass <ref-classes-externalsrc>`" section. You |
1986 | can also find information on how to use this variable in the | 1986 | can also find information on how to use this variable in the |
1987 | "`Building Software from an External | 1987 | "`Building Software from an External |
1988 | Source <&YOCTO_DOCS_DEV_URL;#building-software-from-an-external-source>`__" | 1988 | Source <&YOCTO_DOCS_DEV_URL;#building-software-from-an-external-source>`__" |
1989 | section in the Yocto Project Development Tasks Manual. | 1989 | section in the Yocto Project Development Tasks Manual. |
1990 | 1990 | ||
1991 | EXTERNALSRC_BUILD | 1991 | EXTERNALSRC_BUILD |
1992 | When inheriting the ```externalsrc`` <#ref-classes-externalsrc>`__ | 1992 | When inheriting the :ref:`externalsrc <ref-classes-externalsrc>` |
1993 | class, this variable points to the directory in which the recipe's | 1993 | class, this variable points to the directory in which the recipe's |
1994 | source code is built, which is outside of the OpenEmbedded build | 1994 | source code is built, which is outside of the OpenEmbedded build |
1995 | system. When set, this variable sets the ```B`` <#var-B>`__ variable, | 1995 | system. When set, this variable sets the :term:`B` variable, |
1996 | which is what the OpenEmbedded build system uses to locate the Build | 1996 | which is what the OpenEmbedded build system uses to locate the Build |
1997 | Directory. | 1997 | Directory. |
1998 | 1998 | ||
1999 | For more information on ``externalsrc.bbclass``, see the | 1999 | For more information on ``externalsrc.bbclass``, see the |
2000 | "```externalsrc.bbclass`` <#ref-classes-externalsrc>`__" section. You | 2000 | ":ref:`externalsrc.bbclass <ref-classes-externalsrc>`" section. You |
2001 | can also find information on how to use this variable in the | 2001 | can also find information on how to use this variable in the |
2002 | "`Building Software from an External | 2002 | "`Building Software from an External |
2003 | Source <&YOCTO_DOCS_DEV_URL;#building-software-from-an-external-source>`__" | 2003 | Source <&YOCTO_DOCS_DEV_URL;#building-software-from-an-external-source>`__" |
2004 | section in the Yocto Project Development Tasks Manual. | 2004 | section in the Yocto Project Development Tasks Manual. |
2005 | 2005 | ||
2006 | EXTRA_AUTORECONF | 2006 | EXTRA_AUTORECONF |
2007 | For recipes inheriting the ```autotools`` <#ref-classes-autotools>`__ | 2007 | For recipes inheriting the :ref:`autotools <ref-classes-autotools>` |
2008 | class, you can use ``EXTRA_AUTORECONF`` to specify extra options to | 2008 | class, you can use ``EXTRA_AUTORECONF`` to specify extra options to |
2009 | pass to the ``autoreconf`` command that is executed during the | 2009 | pass to the ``autoreconf`` command that is executed during the |
2010 | ```do_configure`` <#ref-tasks-configure>`__ task. | 2010 | :ref:`ref-tasks-configure` task. |
2011 | 2011 | ||
2012 | The default value is "--exclude=autopoint". | 2012 | The default value is "--exclude=autopoint". |
2013 | 2013 | ||
@@ -2016,7 +2016,7 @@ system and gives an overview of their function and contents. | |||
2016 | more than one feature, separate them with a space. | 2016 | more than one feature, separate them with a space. |
2017 | 2017 | ||
2018 | Typically, you configure this variable in your ``local.conf`` file, | 2018 | Typically, you configure this variable in your ``local.conf`` file, |
2019 | which is found in the `Build Directory <#build-directory>`__. | 2019 | which is found in the :term:`Build Directory`. |
2020 | Although you can use this variable from within a recipe, best | 2020 | Although you can use this variable from within a recipe, best |
2021 | practices dictate that you do not. | 2021 | practices dictate that you do not. |
2022 | 2022 | ||
@@ -2055,7 +2055,7 @@ system and gives an overview of their function and contents. | |||
2055 | 2055 | ||
2056 | EXTRA_IMAGECMD | 2056 | EXTRA_IMAGECMD |
2057 | Specifies additional options for the image creation command that has | 2057 | Specifies additional options for the image creation command that has |
2058 | been specified in ```IMAGE_CMD`` <#var-IMAGE_CMD>`__. When setting | 2058 | been specified in :term:`IMAGE_CMD`. When setting |
2059 | this variable, use an override for the associated image type. Here is | 2059 | this variable, use an override for the associated image type. Here is |
2060 | an example: EXTRA_IMAGECMD_ext3 ?= "-i 4096" | 2060 | an example: EXTRA_IMAGECMD_ext3 ?= "-i 4096" |
2061 | 2061 | ||
@@ -2080,7 +2080,7 @@ system and gives an overview of their function and contents. | |||
2080 | 2080 | ||
2081 | EXTRANATIVEPATH | 2081 | EXTRANATIVEPATH |
2082 | A list of subdirectories of | 2082 | A list of subdirectories of |
2083 | ``${``\ ```STAGING_BINDIR_NATIVE`` <#var-STAGING_BINDIR_NATIVE>`__\ ``}`` | 2083 | ``${``\ :term:`STAGING_BINDIR_NATIVE`\ ``}`` |
2084 | added to the beginning of the environment variable ``PATH``. As an | 2084 | added to the beginning of the environment variable ``PATH``. As an |
2085 | example, the following prepends | 2085 | example, the following prepends |
2086 | "${STAGING_BINDIR_NATIVE}/foo:${STAGING_BINDIR_NATIVE}/bar:" to | 2086 | "${STAGING_BINDIR_NATIVE}/foo:${STAGING_BINDIR_NATIVE}/bar:" to |
@@ -2088,11 +2088,11 @@ system and gives an overview of their function and contents. | |||
2088 | 2088 | ||
2089 | EXTRA_OECMAKE | 2089 | EXTRA_OECMAKE |
2090 | Additional `CMake <https://cmake.org/overview/>`__ options. See the | 2090 | Additional `CMake <https://cmake.org/overview/>`__ options. See the |
2091 | ```cmake`` <#ref-classes-cmake>`__ class for additional information. | 2091 | :ref:`cmake <ref-classes-cmake>` class for additional information. |
2092 | 2092 | ||
2093 | EXTRA_OECONF | 2093 | EXTRA_OECONF |
2094 | Additional ``configure`` script options. See | 2094 | Additional ``configure`` script options. See |
2095 | ```PACKAGECONFIG_CONFARGS`` <#var-PACKAGECONFIG_CONFARGS>`__ for | 2095 | :term:`PACKAGECONFIG_CONFARGS` for |
2096 | additional information on passing configure script options. | 2096 | additional information on passing configure script options. |
2097 | 2097 | ||
2098 | EXTRA_OEMAKE | 2098 | EXTRA_OEMAKE |
@@ -2101,21 +2101,21 @@ system and gives an overview of their function and contents. | |||
2101 | Because the ``EXTRA_OEMAKE`` defaults to "", you need to set the | 2101 | Because the ``EXTRA_OEMAKE`` defaults to "", you need to set the |
2102 | variable to specify any required GNU options. | 2102 | variable to specify any required GNU options. |
2103 | 2103 | ||
2104 | ```PARALLEL_MAKE`` <#var-PARALLEL_MAKE>`__ and | 2104 | :term:`PARALLEL_MAKE` and |
2105 | ```PARALLEL_MAKEINST`` <#var-PARALLEL_MAKEINST>`__ also make use of | 2105 | :term:`PARALLEL_MAKEINST` also make use of |
2106 | ``EXTRA_OEMAKE`` to pass the required flags. | 2106 | ``EXTRA_OEMAKE`` to pass the required flags. |
2107 | 2107 | ||
2108 | EXTRA_OESCONS | 2108 | EXTRA_OESCONS |
2109 | When inheriting the ```scons`` <#ref-classes-scons>`__ class, this | 2109 | When inheriting the :ref:`scons <ref-classes-scons>` class, this |
2110 | variable specifies additional configuration options you want to pass | 2110 | variable specifies additional configuration options you want to pass |
2111 | to the ``scons`` command line. | 2111 | to the ``scons`` command line. |
2112 | 2112 | ||
2113 | EXTRA_USERS_PARAMS | 2113 | EXTRA_USERS_PARAMS |
2114 | When inheriting the ```extrausers`` <#ref-classes-extrausers>`__ | 2114 | When inheriting the :ref:`extrausers <ref-classes-extrausers>` |
2115 | class, this variable provides image level user and group operations. | 2115 | class, this variable provides image level user and group operations. |
2116 | This is a more global method of providing user and group | 2116 | This is a more global method of providing user and group |
2117 | configuration as compared to using the | 2117 | configuration as compared to using the |
2118 | ```useradd`` <#ref-classes-useradd>`__ class, which ties user and | 2118 | :ref:`useradd <ref-classes-useradd>` class, which ties user and |
2119 | group configurations to a specific recipe. | 2119 | group configurations to a specific recipe. |
2120 | 2120 | ||
2121 | The set list of commands you can configure using the | 2121 | The set list of commands you can configure using the |
@@ -2127,7 +2127,7 @@ system and gives an overview of their function and contents. | |||
2127 | 2127 | ||
2128 | FEATURE_PACKAGES | 2128 | FEATURE_PACKAGES |
2129 | Defines one or more packages to include in an image when a specific | 2129 | Defines one or more packages to include in an image when a specific |
2130 | item is included in ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__. | 2130 | item is included in :term:`IMAGE_FEATURES`. |
2131 | When setting the value, ``FEATURE_PACKAGES`` should have the name of | 2131 | When setting the value, ``FEATURE_PACKAGES`` should have the name of |
2132 | the feature item as an override. Here is an example: | 2132 | the feature item as an override. Here is an example: |
2133 | FEATURE_PACKAGES_widget = "package1 package2" | 2133 | FEATURE_PACKAGES_widget = "package1 package2" |
@@ -2161,7 +2161,7 @@ system and gives an overview of their function and contents. | |||
2161 | 2161 | ||
2162 | FILES | 2162 | FILES |
2163 | The list of files and directories that are placed in a package. The | 2163 | The list of files and directories that are placed in a package. The |
2164 | ```PACKAGES`` <#var-PACKAGES>`__ variable lists the packages | 2164 | :term:`PACKAGES` variable lists the packages |
2165 | generated by a recipe. | 2165 | generated by a recipe. |
2166 | 2166 | ||
2167 | To use the ``FILES`` variable, provide a package name override that | 2167 | To use the ``FILES`` variable, provide a package name override that |
@@ -2183,7 +2183,7 @@ system and gives an overview of their function and contents. | |||
2183 | use ``${sysconfdir}`` rather than ``/etc``, or ``${bindir}`` | 2183 | use ``${sysconfdir}`` rather than ``/etc``, or ``${bindir}`` |
2184 | rather than ``/usr/bin``. You can find a list of these | 2184 | rather than ``/usr/bin``. You can find a list of these |
2185 | variables at the top of the ``meta/conf/bitbake.conf`` file in | 2185 | variables at the top of the ``meta/conf/bitbake.conf`` file in |
2186 | the `Source Directory <#source-directory>`__. You will also | 2186 | the :term:`Source Directory`. You will also |
2187 | find the default values of the various ``FILES_*`` variables in | 2187 | find the default values of the various ``FILES_*`` variables in |
2188 | this file. | 2188 | this file. |
2189 | 2189 | ||
@@ -2191,12 +2191,12 @@ system and gives an overview of their function and contents. | |||
2191 | editable and you know they should not be overwritten during the | 2191 | editable and you know they should not be overwritten during the |
2192 | package update process by the Package Management System (PMS), you | 2192 | package update process by the Package Management System (PMS), you |
2193 | can identify these files so that the PMS will not overwrite them. See | 2193 | can identify these files so that the PMS will not overwrite them. See |
2194 | the ```CONFFILES`` <#var-CONFFILES>`__ variable for information on | 2194 | the :term:`CONFFILES` variable for information on |
2195 | how to identify these files to the PMS. | 2195 | how to identify these files to the PMS. |
2196 | 2196 | ||
2197 | FILES_SOLIBSDEV | 2197 | FILES_SOLIBSDEV |
2198 | Defines the file specification to match | 2198 | Defines the file specification to match |
2199 | ```SOLIBSDEV`` <#var-SOLIBSDEV>`__. In other words, | 2199 | :term:`SOLIBSDEV`. In other words, |
2200 | ``FILES_SOLIBSDEV`` defines the full path name of the development | 2200 | ``FILES_SOLIBSDEV`` defines the full path name of the development |
2201 | symbolic link (symlink) for shared libraries on the target platform. | 2201 | symbolic link (symlink) for shared libraries on the target platform. |
2202 | 2202 | ||
@@ -2208,7 +2208,7 @@ system and gives an overview of their function and contents. | |||
2208 | Extends the search path the OpenEmbedded build system uses when | 2208 | Extends the search path the OpenEmbedded build system uses when |
2209 | looking for files and patches as it processes recipes and append | 2209 | looking for files and patches as it processes recipes and append |
2210 | files. The default directories BitBake uses when it processes recipes | 2210 | files. The default directories BitBake uses when it processes recipes |
2211 | are initially defined by the ```FILESPATH`` <#var-FILESPATH>`__ | 2211 | are initially defined by the :term:`FILESPATH` |
2212 | variable. You can extend ``FILESPATH`` variable by using | 2212 | variable. You can extend ``FILESPATH`` variable by using |
2213 | ``FILESEXTRAPATHS``. | 2213 | ``FILESEXTRAPATHS``. |
2214 | 2214 | ||
@@ -2223,7 +2223,7 @@ system and gives an overview of their function and contents. | |||
2223 | 2223 | ||
2224 | When extending ``FILESEXTRAPATHS``, be sure to use the immediate | 2224 | When extending ``FILESEXTRAPATHS``, be sure to use the immediate |
2225 | expansion (``:=``) operator. Immediate expansion makes sure that | 2225 | expansion (``:=``) operator. Immediate expansion makes sure that |
2226 | BitBake evaluates ```THISDIR`` <#var-THISDIR>`__ at the time the | 2226 | BitBake evaluates :term:`THISDIR` at the time the |
2227 | directive is encountered rather than at some later time when | 2227 | directive is encountered rather than at some later time when |
2228 | expansion might result in a directory that does not contain the | 2228 | expansion might result in a directory that does not contain the |
2229 | files you need. | 2229 | files you need. |
@@ -2242,14 +2242,14 @@ system and gives an overview of their function and contents. | |||
2242 | FILESEXTRAPATHS_prepend := "path_1:path_2:path_3:" | 2242 | FILESEXTRAPATHS_prepend := "path_1:path_2:path_3:" |
2243 | 2243 | ||
2244 | A final example shows how you can extend the search path and include | 2244 | A final example shows how you can extend the search path and include |
2245 | a ```MACHINE`` <#var-MACHINE>`__-specific override, which is useful | 2245 | a :term:`MACHINE`-specific override, which is useful |
2246 | in a BSP layer: FILESEXTRAPATHS_prepend_intel-x86-common := | 2246 | in a BSP layer: FILESEXTRAPATHS_prepend_intel-x86-common := |
2247 | "${THISDIR}/${PN}:" The previous statement appears in the | 2247 | "${THISDIR}/${PN}:" The previous statement appears in the |
2248 | ``linux-yocto-dev.bbappend`` file, which is found in the Yocto | 2248 | ``linux-yocto-dev.bbappend`` file, which is found in the Yocto |
2249 | Project `Source | 2249 | Project `Source |
2250 | Repositories <&YOCTO_DOCS_OM_URL;#source-repositories>`__ in | 2250 | Repositories <&YOCTO_DOCS_OM_URL;#source-repositories>`__ in |
2251 | ``meta-intel/common/recipes-kernel/linux``. Here, the machine | 2251 | ``meta-intel/common/recipes-kernel/linux``. Here, the machine |
2252 | override is a special ```PACKAGE_ARCH`` <#var-PACKAGE_ARCH>`__ | 2252 | override is a special :term:`PACKAGE_ARCH` |
2253 | definition for multiple ``meta-intel`` machines. | 2253 | definition for multiple ``meta-intel`` machines. |
2254 | 2254 | ||
2255 | .. note:: | 2255 | .. note:: |
@@ -2264,12 +2264,12 @@ system and gives an overview of their function and contents. | |||
2264 | recipe to correctly extend the path. | 2264 | recipe to correctly extend the path. |
2265 | 2265 | ||
2266 | FILESOVERRIDES | 2266 | FILESOVERRIDES |
2267 | A subset of ```OVERRIDES`` <#var-OVERRIDES>`__ used by the | 2267 | A subset of :term:`OVERRIDES` used by the |
2268 | OpenEmbedded build system for creating | 2268 | OpenEmbedded build system for creating |
2269 | ```FILESPATH`` <#var-FILESPATH>`__. The ``FILESOVERRIDES`` variable | 2269 | :term:`FILESPATH`. The ``FILESOVERRIDES`` variable |
2270 | uses overrides to automatically extend the | 2270 | uses overrides to automatically extend the |
2271 | ```FILESPATH`` <#var-FILESPATH>`__ variable. For an example of how | 2271 | :term:`FILESPATH` variable. For an example of how |
2272 | that works, see the ```FILESPATH`` <#var-FILESPATH>`__ variable | 2272 | that works, see the :term:`FILESPATH` variable |
2273 | description. Additionally, you find more information on how overrides | 2273 | description. Additionally, you find more information on how overrides |
2274 | are handled in the "`Conditional Syntax | 2274 | are handled in the "`Conditional Syntax |
2275 | (Overrides) <&YOCTO_DOCS_BB_URL;#conditional-syntax-overrides>`__" | 2275 | (Overrides) <&YOCTO_DOCS_BB_URL;#conditional-syntax-overrides>`__" |
@@ -2293,7 +2293,7 @@ system and gives an overview of their function and contents. | |||
2293 | During the build process, BitBake searches each directory in | 2293 | During the build process, BitBake searches each directory in |
2294 | ``FILESPATH`` in the specified order when looking for files and | 2294 | ``FILESPATH`` in the specified order when looking for files and |
2295 | patches specified by each ``file://`` URI in a recipe's | 2295 | patches specified by each ``file://`` URI in a recipe's |
2296 | ```SRC_URI`` <#var-SRC_URI>`__ statements. | 2296 | :term:`SRC_URI` statements. |
2297 | 2297 | ||
2298 | The default value for the ``FILESPATH`` variable is defined in the | 2298 | The default value for the ``FILESPATH`` variable is defined in the |
2299 | ``base.bbclass`` class found in ``meta/classes`` in the `Source | 2299 | ``base.bbclass`` class found in ``meta/classes`` in the `Source |
@@ -2301,14 +2301,14 @@ system and gives an overview of their function and contents. | |||
2301 | "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", \\ | 2301 | "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", \\ |
2302 | "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" The | 2302 | "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" The |
2303 | ``FILESPATH`` variable is automatically extended using the overrides | 2303 | ``FILESPATH`` variable is automatically extended using the overrides |
2304 | from the ```FILESOVERRIDES`` <#var-FILESOVERRIDES>`__ variable. | 2304 | from the :term:`FILESOVERRIDES` variable. |
2305 | 2305 | ||
2306 | .. note:: | 2306 | .. note:: |
2307 | 2307 | ||
2308 | - Do not hand-edit the ``FILESPATH`` variable. If you want the | 2308 | - Do not hand-edit the ``FILESPATH`` variable. If you want the |
2309 | build system to look in directories other than the defaults, | 2309 | build system to look in directories other than the defaults, |
2310 | extend the ``FILESPATH`` variable by using the | 2310 | extend the ``FILESPATH`` variable by using the |
2311 | ```FILESEXTRAPATHS`` <#var-FILESEXTRAPATHS>`__ variable. | 2311 | :term:`FILESEXTRAPATHS` variable. |
2312 | 2312 | ||
2313 | - Be aware that the default ``FILESPATH`` directories do not map | 2313 | - Be aware that the default ``FILESPATH`` directories do not map |
2314 | to directories in custom layers where append files | 2314 | to directories in custom layers where append files |
@@ -2323,7 +2323,7 @@ system and gives an overview of their function and contents. | |||
2323 | files/defconfig files/MACHINEA/defconfig files/MACHINEB/defconfig | 2323 | files/defconfig files/MACHINEA/defconfig files/MACHINEB/defconfig |
2324 | Also in the example, the ``SRC_URI`` statement contains | 2324 | Also in the example, the ``SRC_URI`` statement contains |
2325 | "file://defconfig". Given this scenario, you can set | 2325 | "file://defconfig". Given this scenario, you can set |
2326 | ```MACHINE`` <#var-MACHINE>`__ to "MACHINEA" and cause the build | 2326 | :term:`MACHINE` to "MACHINEA" and cause the build |
2327 | system to use files from ``files/MACHINEA``. Set ``MACHINE`` to | 2327 | system to use files from ``files/MACHINEA``. Set ``MACHINE`` to |
2328 | "MACHINEB" and the build system uses files from ``files/MACHINEB``. | 2328 | "MACHINEB" and the build system uses files from ``files/MACHINEB``. |
2329 | Finally, for any machine other than "MACHINEA" and "MACHINEB", the | 2329 | Finally, for any machine other than "MACHINEA" and "MACHINEB", the |
@@ -2334,7 +2334,7 @@ system and gives an overview of their function and contents. | |||
2334 | in the Yocto Project Overview and Concepts Manual and the "`Patching | 2334 | in the Yocto Project Overview and Concepts Manual and the "`Patching |
2335 | Code <&YOCTO_DOCS_DEV_URL;#new-recipe-patching-code>`__" section in | 2335 | Code <&YOCTO_DOCS_DEV_URL;#new-recipe-patching-code>`__" section in |
2336 | the Yocto Project Development Tasks Manual. See the | 2336 | the Yocto Project Development Tasks Manual. See the |
2337 | ```do_patch`` <#ref-tasks-patch>`__ task as well. | 2337 | :ref:`ref-tasks-patch` task as well. |
2338 | 2338 | ||
2339 | FILESYSTEM_PERMS_TABLES | 2339 | FILESYSTEM_PERMS_TABLES |
2340 | Allows you to define your own file permissions settings table as part | 2340 | Allows you to define your own file permissions settings table as part |
@@ -2354,7 +2354,7 @@ system and gives an overview of their function and contents. | |||
2354 | Directory <#build-directory>`__, to point to your custom | 2354 | Directory <#build-directory>`__, to point to your custom |
2355 | ``fs-perms.txt``. You can specify more than a single file permissions | 2355 | ``fs-perms.txt``. You can specify more than a single file permissions |
2356 | setting table. The paths you specify to these files must be defined | 2356 | setting table. The paths you specify to these files must be defined |
2357 | within the ```BBPATH`` <#var-BBPATH>`__ variable. | 2357 | within the :term:`BBPATH` variable. |
2358 | 2358 | ||
2359 | For guidance on how to create your own file permissions settings | 2359 | For guidance on how to create your own file permissions settings |
2360 | table file, examine the existing ``fs-perms.txt``. | 2360 | table file, examine the existing ``fs-perms.txt``. |
@@ -2367,16 +2367,16 @@ system and gives an overview of their function and contents. | |||
2367 | For e.g. rsa2048. | 2367 | For e.g. rsa2048. |
2368 | 2368 | ||
2369 | FONT_EXTRA_RDEPENDS | 2369 | FONT_EXTRA_RDEPENDS |
2370 | When inheriting the ```fontcache`` <#ref-classes-fontcache>`__ class, | 2370 | When inheriting the :ref:`fontcache <ref-classes-fontcache>` class, |
2371 | this variable specifies the runtime dependencies for font packages. | 2371 | this variable specifies the runtime dependencies for font packages. |
2372 | By default, the ``FONT_EXTRA_RDEPENDS`` is set to "fontconfig-utils". | 2372 | By default, the ``FONT_EXTRA_RDEPENDS`` is set to "fontconfig-utils". |
2373 | 2373 | ||
2374 | FONT_PACKAGES | 2374 | FONT_PACKAGES |
2375 | When inheriting the ```fontcache`` <#ref-classes-fontcache>`__ class, | 2375 | When inheriting the :ref:`fontcache <ref-classes-fontcache>` class, |
2376 | this variable identifies packages containing font files that need to | 2376 | this variable identifies packages containing font files that need to |
2377 | be cached by Fontconfig. By default, the ``fontcache`` class assumes | 2377 | be cached by Fontconfig. By default, the ``fontcache`` class assumes |
2378 | that fonts are in the recipe's main package (i.e. | 2378 | that fonts are in the recipe's main package (i.e. |
2379 | ``${``\ ```PN`` <#var-PN>`__\ ``}``). Use this variable if fonts you | 2379 | ``${``\ :term:`PN`\ ``}``). Use this variable if fonts you |
2380 | need are in a package other than that main package. | 2380 | need are in a package other than that main package. |
2381 | 2381 | ||
2382 | FORCE_RO_REMOVE | 2382 | FORCE_RO_REMOVE |
@@ -2429,7 +2429,7 @@ system and gives an overview of their function and contents. | |||
2429 | "en_GB.UTF-8 en_US.UTF-8" | 2429 | "en_GB.UTF-8 en_US.UTF-8" |
2430 | 2430 | ||
2431 | GROUPADD_PARAM | 2431 | GROUPADD_PARAM |
2432 | When inheriting the ```useradd`` <#ref-classes-useradd>`__ class, | 2432 | When inheriting the :ref:`useradd <ref-classes-useradd>` class, |
2433 | this variable specifies for a package what parameters should be | 2433 | this variable specifies for a package what parameters should be |
2434 | passed to the ``groupadd`` command if you wish to add a group to the | 2434 | passed to the ``groupadd`` command if you wish to add a group to the |
2435 | system when the package is installed. | 2435 | system when the package is installed. |
@@ -2439,7 +2439,7 @@ system and gives an overview of their function and contents. | |||
2439 | ``groupadd``, see ` <http://linux.die.net/man/8/groupadd>`__. | 2439 | ``groupadd``, see ` <http://linux.die.net/man/8/groupadd>`__. |
2440 | 2440 | ||
2441 | GROUPMEMS_PARAM | 2441 | GROUPMEMS_PARAM |
2442 | When inheriting the ```useradd`` <#ref-classes-useradd>`__ class, | 2442 | When inheriting the :ref:`useradd <ref-classes-useradd>` class, |
2443 | this variable specifies for a package what parameters should be | 2443 | this variable specifies for a package what parameters should be |
2444 | passed to the ``groupmems`` command if you wish to modify the members | 2444 | passed to the ``groupmems`` command if you wish to modify the members |
2445 | of a group when the package is installed. | 2445 | of a group when the package is installed. |
@@ -2453,7 +2453,7 @@ system and gives an overview of their function and contents. | |||
2453 | ``local.conf`` or distribution configuration file to enable graphics | 2453 | ``local.conf`` or distribution configuration file to enable graphics |
2454 | and serial in the menu. | 2454 | and serial in the menu. |
2455 | 2455 | ||
2456 | See the ```grub-efi`` <#ref-classes-grub-efi>`__ class for more | 2456 | See the :ref:`grub-efi <ref-classes-grub-efi>` class for more |
2457 | information on how this variable is used. | 2457 | information on how this variable is used. |
2458 | 2458 | ||
2459 | GRUB_OPTS | 2459 | GRUB_OPTS |
@@ -2462,7 +2462,7 @@ system and gives an overview of their function and contents. | |||
2462 | multiple options. | 2462 | multiple options. |
2463 | 2463 | ||
2464 | The ``GRUB_OPTS`` variable is optional. See the | 2464 | The ``GRUB_OPTS`` variable is optional. See the |
2465 | ```grub-efi`` <#ref-classes-grub-efi>`__ class for more information | 2465 | :ref:`grub-efi <ref-classes-grub-efi>` class for more information |
2466 | on how this variable is used. | 2466 | on how this variable is used. |
2467 | 2467 | ||
2468 | GRUB_TIMEOUT | 2468 | GRUB_TIMEOUT |
@@ -2470,12 +2470,12 @@ system and gives an overview of their function and contents. | |||
2470 | GNU GRand Unified Bootloader (GRUB). | 2470 | GNU GRand Unified Bootloader (GRUB). |
2471 | 2471 | ||
2472 | The ``GRUB_TIMEOUT`` variable is optional. See the | 2472 | The ``GRUB_TIMEOUT`` variable is optional. See the |
2473 | ```grub-efi`` <#ref-classes-grub-efi>`__ class for more information | 2473 | :ref:`grub-efi <ref-classes-grub-efi>` class for more information |
2474 | on how this variable is used. | 2474 | on how this variable is used. |
2475 | 2475 | ||
2476 | GTKIMMODULES_PACKAGES | 2476 | GTKIMMODULES_PACKAGES |
2477 | When inheriting the | 2477 | When inheriting the |
2478 | ```gtk-immodules-cache`` <#ref-classes-gtk-immodules-cache>`__ class, | 2478 | :ref:`gtk-immodules-cache <ref-classes-gtk-immodules-cache>` class, |
2479 | this variable specifies the packages that contain the GTK+ input | 2479 | this variable specifies the packages that contain the GTK+ input |
2480 | method modules being installed when the modules are in packages other | 2480 | method modules being installed when the modules are in packages other |
2481 | than the main package. | 2481 | than the main package. |
@@ -2486,7 +2486,7 @@ system and gives an overview of their function and contents. | |||
2486 | 2486 | ||
2487 | HOST_ARCH | 2487 | HOST_ARCH |
2488 | The name of the target architecture, which is normally the same as | 2488 | The name of the target architecture, which is normally the same as |
2489 | ```TARGET_ARCH`` <#var-TARGET_ARCH>`__. The OpenEmbedded build system | 2489 | :term:`TARGET_ARCH`. The OpenEmbedded build system |
2490 | supports many architectures. Here is an example list of architectures | 2490 | supports many architectures. Here is an example list of architectures |
2491 | supported. This list is by no means complete as the architecture is | 2491 | supported. This list is by no means complete as the architecture is |
2492 | configurable: arm i586 x86_64 powerpc powerpc64 mips mipsel | 2492 | configurable: arm i586 x86_64 powerpc powerpc64 mips mipsel |
@@ -2498,7 +2498,7 @@ system and gives an overview of their function and contents. | |||
2498 | Default initialization for ``HOST_CC_ARCH`` varies depending on what | 2498 | Default initialization for ``HOST_CC_ARCH`` varies depending on what |
2499 | is being built: | 2499 | is being built: |
2500 | 2500 | ||
2501 | - ```TARGET_CC_ARCH`` <#var-TARGET_CC_ARCH>`__ when building for the | 2501 | - :term:`TARGET_CC_ARCH` when building for the |
2502 | target | 2502 | target |
2503 | 2503 | ||
2504 | - ``BUILD_CC_ARCH`` when building for the build host (i.e. | 2504 | - ``BUILD_CC_ARCH`` when building for the build host (i.e. |
@@ -2509,14 +2509,14 @@ system and gives an overview of their function and contents. | |||
2509 | 2509 | ||
2510 | HOST_OS | 2510 | HOST_OS |
2511 | Specifies the name of the target operating system, which is normally | 2511 | Specifies the name of the target operating system, which is normally |
2512 | the same as the ```TARGET_OS`` <#var-TARGET_OS>`__. The variable can | 2512 | the same as the :term:`TARGET_OS`. The variable can |
2513 | be set to "linux" for ``glibc``-based systems and to "linux-musl" for | 2513 | be set to "linux" for ``glibc``-based systems and to "linux-musl" for |
2514 | ``musl``. For ARM/EABI targets, there are also "linux-gnueabi" and | 2514 | ``musl``. For ARM/EABI targets, there are also "linux-gnueabi" and |
2515 | "linux-musleabi" values possible. | 2515 | "linux-musleabi" values possible. |
2516 | 2516 | ||
2517 | HOST_PREFIX | 2517 | HOST_PREFIX |
2518 | Specifies the prefix for the cross-compile toolchain. ``HOST_PREFIX`` | 2518 | Specifies the prefix for the cross-compile toolchain. ``HOST_PREFIX`` |
2519 | is normally the same as ```TARGET_PREFIX`` <#var-TARGET_PREFIX>`__. | 2519 | is normally the same as :term:`TARGET_PREFIX`. |
2520 | 2520 | ||
2521 | HOST_SYS | 2521 | HOST_SYS |
2522 | Specifies the system, including the architecture and the operating | 2522 | Specifies the system, including the architecture and the operating |
@@ -2524,9 +2524,9 @@ system and gives an overview of their function and contents. | |||
2524 | current recipe. | 2524 | current recipe. |
2525 | 2525 | ||
2526 | The OpenEmbedded build system automatically sets this variable based | 2526 | The OpenEmbedded build system automatically sets this variable based |
2527 | on ```HOST_ARCH`` <#var-HOST_ARCH>`__, | 2527 | on :term:`HOST_ARCH`, |
2528 | ```HOST_VENDOR`` <#var-HOST_VENDOR>`__, and | 2528 | :term:`HOST_VENDOR`, and |
2529 | ```HOST_OS`` <#var-HOST_OS>`__ variables. | 2529 | :term:`HOST_OS` variables. |
2530 | 2530 | ||
2531 | .. note:: | 2531 | .. note:: |
2532 | 2532 | ||
@@ -2549,25 +2549,25 @@ system and gives an overview of their function and contents. | |||
2549 | is not started. | 2549 | is not started. |
2550 | 2550 | ||
2551 | For additional information, see | 2551 | For additional information, see |
2552 | ```HOSTTOOLS_NONFATAL`` <#var-HOSTTOOLS_NONFATAL>`__. | 2552 | :term:`HOSTTOOLS_NONFATAL`. |
2553 | 2553 | ||
2554 | HOSTTOOLS_NONFATAL | 2554 | HOSTTOOLS_NONFATAL |
2555 | A space-separated list (filter) of tools on the build host that | 2555 | A space-separated list (filter) of tools on the build host that |
2556 | should be allowed to be called from within build tasks. Using this | 2556 | should be allowed to be called from within build tasks. Using this |
2557 | filter helps reduce the possibility of host contamination. Unlike | 2557 | filter helps reduce the possibility of host contamination. Unlike |
2558 | ```HOSTTOOLS`` <#var-HOSTTOOLS>`__, the OpenEmbedded build system | 2558 | :term:`HOSTTOOLS`, the OpenEmbedded build system |
2559 | does not produce an error if a tool specified in the value of | 2559 | does not produce an error if a tool specified in the value of |
2560 | ``HOSTTOOLS_NONFATAL`` is not found on the build host. Thus, you can | 2560 | ``HOSTTOOLS_NONFATAL`` is not found on the build host. Thus, you can |
2561 | use ``HOSTTOOLS_NONFATAL`` to filter optional host tools. | 2561 | use ``HOSTTOOLS_NONFATAL`` to filter optional host tools. |
2562 | 2562 | ||
2563 | HOST_VENDOR | 2563 | HOST_VENDOR |
2564 | Specifies the name of the vendor. ``HOST_VENDOR`` is normally the | 2564 | Specifies the name of the vendor. ``HOST_VENDOR`` is normally the |
2565 | same as ```TARGET_VENDOR`` <#var-TARGET_VENDOR>`__. | 2565 | same as :term:`TARGET_VENDOR`. |
2566 | 2566 | ||
2567 | ICECC_DISABLED | 2567 | ICECC_DISABLED |
2568 | Disables or enables the ``icecc`` (Icecream) function. For more | 2568 | Disables or enables the ``icecc`` (Icecream) function. For more |
2569 | information on this function and best practices for using this | 2569 | information on this function and best practices for using this |
2570 | variable, see the "```icecc.bbclass`` <#ref-classes-icecc>`__" | 2570 | variable, see the ":ref:`icecc.bbclass <ref-classes-icecc>`" |
2571 | section. | 2571 | section. |
2572 | 2572 | ||
2573 | Setting this variable to "1" in your ``local.conf`` disables the | 2573 | Setting this variable to "1" in your ``local.conf`` disables the |
@@ -2576,7 +2576,7 @@ system and gives an overview of their function and contents. | |||
2576 | 2576 | ||
2577 | ICECC_ENV_EXEC | 2577 | ICECC_ENV_EXEC |
2578 | Points to the ``icecc-create-env`` script that you provide. This | 2578 | Points to the ``icecc-create-env`` script that you provide. This |
2579 | variable is used by the ```icecc`` <#ref-classes-icecc>`__ class. You | 2579 | variable is used by the :ref:`icecc <ref-classes-icecc>` class. You |
2580 | set this variable in your ``local.conf`` file. | 2580 | set this variable in your ``local.conf`` file. |
2581 | 2581 | ||
2582 | If you do not point to a script that you provide, the OpenEmbedded | 2582 | If you do not point to a script that you provide, the OpenEmbedded |
@@ -2586,7 +2586,7 @@ system and gives an overview of their function and contents. | |||
2586 | 2586 | ||
2587 | ICECC_PARALLEL_MAKE | 2587 | ICECC_PARALLEL_MAKE |
2588 | Extra options passed to the ``make`` command during the | 2588 | Extra options passed to the ``make`` command during the |
2589 | ```do_compile`` <#ref-tasks-compile>`__ task that specify parallel | 2589 | :ref:`ref-tasks-compile` task that specify parallel |
2590 | compilation. This variable usually takes the form of "-j x", where x | 2590 | compilation. This variable usually takes the form of "-j x", where x |
2591 | represents the maximum number of parallel threads ``make`` can run. | 2591 | represents the maximum number of parallel threads ``make`` can run. |
2592 | 2592 | ||
@@ -2602,7 +2602,7 @@ system and gives an overview of their function and contents. | |||
2602 | performance could take some experimentation since machine speed, | 2602 | performance could take some experimentation since machine speed, |
2603 | network lag, available memory, and existing machine loads can all | 2603 | network lag, available memory, and existing machine loads can all |
2604 | affect build time. Consequently, unlike the | 2604 | affect build time. Consequently, unlike the |
2605 | ```PARALLEL_MAKE`` <#var-PARALLEL_MAKE>`__ variable, there is no | 2605 | :term:`PARALLEL_MAKE` variable, there is no |
2606 | rule-of-thumb for setting ``ICECC_PARALLEL_MAKE`` to achieve optimal | 2606 | rule-of-thumb for setting ``ICECC_PARALLEL_MAKE`` to achieve optimal |
2607 | performance. | 2607 | performance. |
2608 | 2608 | ||
@@ -2613,13 +2613,13 @@ system and gives an overview of their function and contents. | |||
2613 | ICECC_PATH | 2613 | ICECC_PATH |
2614 | The location of the ``icecc`` binary. You can set this variable in | 2614 | The location of the ``icecc`` binary. You can set this variable in |
2615 | your ``local.conf`` file. If your ``local.conf`` file does not define | 2615 | your ``local.conf`` file. If your ``local.conf`` file does not define |
2616 | this variable, the ```icecc`` <#ref-classes-icecc>`__ class attempts | 2616 | this variable, the :ref:`icecc <ref-classes-icecc>` class attempts |
2617 | to define it by locating ``icecc`` using ``which``. | 2617 | to define it by locating ``icecc`` using ``which``. |
2618 | 2618 | ||
2619 | ICECC_USER_CLASS_BL | 2619 | ICECC_USER_CLASS_BL |
2620 | Identifies user classes that you do not want the Icecream distributed | 2620 | Identifies user classes that you do not want the Icecream distributed |
2621 | compile support to consider. This variable is used by the | 2621 | compile support to consider. This variable is used by the |
2622 | ```icecc`` <#ref-classes-icecc>`__ class. You set this variable in | 2622 | :ref:`icecc <ref-classes-icecc>` class. You set this variable in |
2623 | your ``local.conf`` file. | 2623 | your ``local.conf`` file. |
2624 | 2624 | ||
2625 | When you list classes using this variable, you are "blacklisting" | 2625 | When you list classes using this variable, you are "blacklisting" |
@@ -2629,7 +2629,7 @@ system and gives an overview of their function and contents. | |||
2629 | ICECC_USER_PACKAGE_BL | 2629 | ICECC_USER_PACKAGE_BL |
2630 | Identifies user recipes that you do not want the Icecream distributed | 2630 | Identifies user recipes that you do not want the Icecream distributed |
2631 | compile support to consider. This variable is used by the | 2631 | compile support to consider. This variable is used by the |
2632 | ```icecc`` <#ref-classes-icecc>`__ class. You set this variable in | 2632 | :ref:`icecc <ref-classes-icecc>` class. You set this variable in |
2633 | your ``local.conf`` file. | 2633 | your ``local.conf`` file. |
2634 | 2634 | ||
2635 | When you list packages using this variable, you are "blacklisting" | 2635 | When you list packages using this variable, you are "blacklisting" |
@@ -2638,15 +2638,15 @@ system and gives an overview of their function and contents. | |||
2638 | 2638 | ||
2639 | ICECC_USER_PACKAGE_WL | 2639 | ICECC_USER_PACKAGE_WL |
2640 | Identifies user recipes that use an empty | 2640 | Identifies user recipes that use an empty |
2641 | ```PARALLEL_MAKE`` <#var-PARALLEL_MAKE>`__ variable that you want to | 2641 | :term:`PARALLEL_MAKE` variable that you want to |
2642 | force remote distributed compilation on using the Icecream | 2642 | force remote distributed compilation on using the Icecream |
2643 | distributed compile support. This variable is used by the | 2643 | distributed compile support. This variable is used by the |
2644 | ```icecc`` <#ref-classes-icecc>`__ class. You set this variable in | 2644 | :ref:`icecc <ref-classes-icecc>` class. You set this variable in |
2645 | your ``local.conf`` file. | 2645 | your ``local.conf`` file. |
2646 | 2646 | ||
2647 | IMAGE_BASENAME | 2647 | IMAGE_BASENAME |
2648 | The base name of image output files. This variable defaults to the | 2648 | The base name of image output files. This variable defaults to the |
2649 | recipe name (``${``\ ```PN`` <#var-PN>`__\ ``}``). | 2649 | recipe name (``${``\ :term:`PN`\ ``}``). |
2650 | 2650 | ||
2651 | IMAGE_BOOT_FILES | 2651 | IMAGE_BOOT_FILES |
2652 | A space-separated list of files installed into the boot partition | 2652 | A space-separated list of files installed into the boot partition |
@@ -2656,7 +2656,7 @@ system and gives an overview of their function and contents. | |||
2656 | installed under the same name as the source files. To change the | 2656 | installed under the same name as the source files. To change the |
2657 | installed name, separate it from the original name with a semi-colon | 2657 | installed name, separate it from the original name with a semi-colon |
2658 | (;). Source files need to be located in | 2658 | (;). Source files need to be located in |
2659 | ```DEPLOY_DIR_IMAGE`` <#var-DEPLOY_DIR_IMAGE>`__. Here are two | 2659 | :term:`DEPLOY_DIR_IMAGE`. Here are two |
2660 | examples: IMAGE_BOOT_FILES = "u-boot.img uImage;kernel" | 2660 | examples: IMAGE_BOOT_FILES = "u-boot.img uImage;kernel" |
2661 | IMAGE_BOOT_FILES = "u-boot.${UBOOT_SUFFIX} ${KERNEL_IMAGETYPE}" | 2661 | IMAGE_BOOT_FILES = "u-boot.${UBOOT_SUFFIX} ${KERNEL_IMAGETYPE}" |
2662 | 2662 | ||
@@ -2687,12 +2687,12 @@ system and gives an overview of their function and contents. | |||
2687 | configuration file. | 2687 | configuration file. |
2688 | 2688 | ||
2689 | For more information, see ``meta/classes/image_types.bbclass`` in the | 2689 | For more information, see ``meta/classes/image_types.bbclass`` in the |
2690 | `Source Directory <#source-directory>`__. | 2690 | :term:`Source Directory`. |
2691 | 2691 | ||
2692 | IMAGE_CMD | 2692 | IMAGE_CMD |
2693 | Specifies the command to create the image file for a specific image | 2693 | Specifies the command to create the image file for a specific image |
2694 | type, which corresponds to the value set set in | 2694 | type, which corresponds to the value set set in |
2695 | ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__, (e.g. ``ext3``, | 2695 | :term:`IMAGE_FSTYPES`, (e.g. ``ext3``, |
2696 | ``btrfs``, and so forth). When setting this variable, you should use | 2696 | ``btrfs``, and so forth). When setting this variable, you should use |
2697 | an override for the associated type. Here is an example: | 2697 | an override for the associated type. Here is an example: |
2698 | IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} \\ --faketime | 2698 | IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} \\ --faketime |
@@ -2701,7 +2701,7 @@ system and gives an overview of their function and contents. | |||
2701 | 2701 | ||
2702 | You typically do not need to set this variable unless you are adding | 2702 | You typically do not need to set this variable unless you are adding |
2703 | support for a new image type. For more examples on how to set this | 2703 | support for a new image type. For more examples on how to set this |
2704 | variable, see the ```image_types`` <#ref-classes-image_types>`__ | 2704 | variable, see the :ref:`image_types <ref-classes-image_types>` |
2705 | class file, which is ``meta/classes/image_types.bbclass``. | 2705 | class file, which is ``meta/classes/image_types.bbclass``. |
2706 | 2706 | ||
2707 | IMAGE_DEVICE_TABLES | 2707 | IMAGE_DEVICE_TABLES |
@@ -2710,7 +2710,7 @@ system and gives an overview of their function and contents. | |||
2710 | These files list basic device nodes that should be created under | 2710 | These files list basic device nodes that should be created under |
2711 | ``/dev`` within the image. If ``IMAGE_DEVICE_TABLES`` is not set, | 2711 | ``/dev`` within the image. If ``IMAGE_DEVICE_TABLES`` is not set, |
2712 | ``files/device_table-minimal.txt`` is used, which is located by | 2712 | ``files/device_table-minimal.txt`` is used, which is located by |
2713 | ```BBPATH`` <#var-BBPATH>`__. For details on how you should write | 2713 | :term:`BBPATH`. For details on how you should write |
2714 | device table files, see ``meta/files/device_table-minimal.txt`` as an | 2714 | device table files, see ``meta/files/device_table-minimal.txt`` as an |
2715 | example. | 2715 | example. |
2716 | 2716 | ||
@@ -2744,7 +2744,7 @@ system and gives an overview of their function and contents. | |||
2744 | IMAGE_FSTYPES = "ext3 tar.bz2" | 2744 | IMAGE_FSTYPES = "ext3 tar.bz2" |
2745 | 2745 | ||
2746 | For the complete list of supported image formats from which you can | 2746 | For the complete list of supported image formats from which you can |
2747 | choose, see ```IMAGE_TYPES`` <#var-IMAGE_TYPES>`__. | 2747 | choose, see :term:`IMAGE_TYPES`. |
2748 | 2748 | ||
2749 | .. note:: | 2749 | .. note:: |
2750 | 2750 | ||
@@ -2759,13 +2759,13 @@ system and gives an overview of their function and contents. | |||
2759 | 2759 | ||
2760 | IMAGE_INSTALL | 2760 | IMAGE_INSTALL |
2761 | Used by recipes to specify the packages to install into an image | 2761 | Used by recipes to specify the packages to install into an image |
2762 | through the ```image`` <#ref-classes-image>`__ class. Use the | 2762 | through the :ref:`image <ref-classes-image>` class. Use the |
2763 | ``IMAGE_INSTALL`` variable with care to avoid ordering issues. | 2763 | ``IMAGE_INSTALL`` variable with care to avoid ordering issues. |
2764 | 2764 | ||
2765 | Image recipes set ``IMAGE_INSTALL`` to specify the packages to | 2765 | Image recipes set ``IMAGE_INSTALL`` to specify the packages to |
2766 | install into an image through ``image.bbclass``. Additionally, | 2766 | install into an image through ``image.bbclass``. Additionally, |
2767 | "helper" classes such as the | 2767 | "helper" classes such as the |
2768 | ```core-image`` <#ref-classes-core-image>`__ class exist that can | 2768 | :ref:`core-image <ref-classes-core-image>` class exist that can |
2769 | take lists used with ``IMAGE_FEATURES`` and turn them into | 2769 | take lists used with ``IMAGE_FEATURES`` and turn them into |
2770 | auto-generated entries in ``IMAGE_INSTALL`` in addition to its | 2770 | auto-generated entries in ``IMAGE_INSTALL`` in addition to its |
2771 | default contents. | 2771 | default contents. |
@@ -2781,7 +2781,7 @@ system and gives an overview of their function and contents. | |||
2781 | ```core-image-minimal-initramfs`` <#images-core-image-minimal-initramfs>`__ | 2781 | ```core-image-minimal-initramfs`` <#images-core-image-minimal-initramfs>`__ |
2782 | image, do not use the ``IMAGE_INSTALL`` variable to specify | 2782 | image, do not use the ``IMAGE_INSTALL`` variable to specify |
2783 | packages for installation. Instead, use the | 2783 | packages for installation. Instead, use the |
2784 | ```PACKAGE_INSTALL`` <#var-PACKAGE_INSTALL>`__ variable, which | 2784 | :term:`PACKAGE_INSTALL` variable, which |
2785 | allows the initial RAM filesystem (initramfs) recipe to use a | 2785 | allows the initial RAM filesystem (initramfs) recipe to use a |
2786 | fixed set of packages and not be affected by ``IMAGE_INSTALL``. | 2786 | fixed set of packages and not be affected by ``IMAGE_INSTALL``. |
2787 | For information on creating an initramfs, see the "`Building an | 2787 | For information on creating an initramfs, see the "`Building an |
@@ -2820,7 +2820,7 @@ system and gives an overview of their function and contents. | |||
2820 | only provide locale files by language and not by country-specific | 2820 | only provide locale files by language and not by country-specific |
2821 | language). | 2821 | language). |
2822 | 2822 | ||
2823 | See the ```GLIBC_GENERATE_LOCALES`` <#var-GLIBC_GENERATE_LOCALES>`__ | 2823 | See the :term:`GLIBC_GENERATE_LOCALES` |
2824 | variable for information on generating GLIBC locales. | 2824 | variable for information on generating GLIBC locales. |
2825 | 2825 | ||
2826 | IMAGE_MANIFEST | 2826 | IMAGE_MANIFEST |
@@ -2829,19 +2829,19 @@ system and gives an overview of their function and contents. | |||
2829 | information on a line-per-package basis as follows: packagename | 2829 | information on a line-per-package basis as follows: packagename |
2830 | packagearch version | 2830 | packagearch version |
2831 | 2831 | ||
2832 | The ```image`` <#ref-classes-image>`__ class defines the manifest | 2832 | The :ref:`image <ref-classes-image>` class defines the manifest |
2833 | file as follows: IMAGE_MANIFEST = | 2833 | file as follows: IMAGE_MANIFEST = |
2834 | "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.manifest" The location is | 2834 | "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.manifest" The location is |
2835 | derived using the ```DEPLOY_DIR_IMAGE`` <#var-DEPLOY_DIR_IMAGE>`__ | 2835 | derived using the :term:`DEPLOY_DIR_IMAGE` |
2836 | and ```IMAGE_NAME`` <#var-IMAGE_NAME>`__ variables. You can find | 2836 | and :term:`IMAGE_NAME` variables. You can find |
2837 | information on how the image is created in the "`Image | 2837 | information on how the image is created in the "`Image |
2838 | Generation <&YOCTO_DOCS_OM_URL;#image-generation-dev-environment>`__" | 2838 | Generation <&YOCTO_DOCS_OM_URL;#image-generation-dev-environment>`__" |
2839 | section in the Yocto Project Overview and Concepts Manual. | 2839 | section in the Yocto Project Overview and Concepts Manual. |
2840 | 2840 | ||
2841 | IMAGE_NAME | 2841 | IMAGE_NAME |
2842 | The name of the output image files minus the extension. This variable | 2842 | The name of the output image files minus the extension. This variable |
2843 | is derived using the ```IMAGE_BASENAME`` <#var-IMAGE_BASENAME>`__, | 2843 | is derived using the :term:`IMAGE_BASENAME`, |
2844 | ```MACHINE`` <#var-MACHINE>`__, and ```DATETIME`` <#var-DATETIME>`__ | 2844 | :term:`MACHINE`, and :term:`DATETIME` |
2845 | variables: IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" | 2845 | variables: IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" |
2846 | 2846 | ||
2847 | IMAGE_OVERHEAD_FACTOR | 2847 | IMAGE_OVERHEAD_FACTOR |
@@ -2874,10 +2874,10 @@ system and gives an overview of their function and contents. | |||
2874 | IMAGE_PKGTYPE | 2874 | IMAGE_PKGTYPE |
2875 | Defines the package type (i.e. DEB, RPM, IPK, or TAR) used by the | 2875 | Defines the package type (i.e. DEB, RPM, IPK, or TAR) used by the |
2876 | OpenEmbedded build system. The variable is defined appropriately by | 2876 | OpenEmbedded build system. The variable is defined appropriately by |
2877 | the ```package_deb`` <#ref-classes-package_deb>`__, | 2877 | the :ref:`package_deb <ref-classes-package_deb>`, |
2878 | ```package_rpm`` <#ref-classes-package_rpm>`__, | 2878 | :ref:`package_rpm <ref-classes-package_rpm>`, |
2879 | ```package_ipk`` <#ref-classes-package_ipk>`__, or | 2879 | :ref:`package_ipk <ref-classes-package_ipk>`, or |
2880 | ```package_tar`` <#ref-classes-package_tar>`__ class. | 2880 | :ref:`package_tar <ref-classes-package_tar>` class. |
2881 | 2881 | ||
2882 | .. note:: | 2882 | .. note:: |
2883 | 2883 | ||
@@ -2887,13 +2887,13 @@ system and gives an overview of their function and contents. | |||
2887 | do not use it. | 2887 | do not use it. |
2888 | 2888 | ||
2889 | The ```populate_sdk_*`` <#ref-classes-populate-sdk-*>`__ and | 2889 | The ```populate_sdk_*`` <#ref-classes-populate-sdk-*>`__ and |
2890 | ```image`` <#ref-classes-image>`__ classes use the ``IMAGE_PKGTYPE`` | 2890 | :ref:`image <ref-classes-image>` classes use the ``IMAGE_PKGTYPE`` |
2891 | for packaging up images and SDKs. | 2891 | for packaging up images and SDKs. |
2892 | 2892 | ||
2893 | You should not set the ``IMAGE_PKGTYPE`` manually. Rather, the | 2893 | You should not set the ``IMAGE_PKGTYPE`` manually. Rather, the |
2894 | variable is set indirectly through the appropriate | 2894 | variable is set indirectly through the appropriate |
2895 | ```package_*`` <#ref-classes-package>`__ class using the | 2895 | ```package_*`` <#ref-classes-package>`__ class using the |
2896 | ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__ variable. The | 2896 | :term:`PACKAGE_CLASSES` variable. The |
2897 | OpenEmbedded build system uses the first package type (e.g. DEB, RPM, | 2897 | OpenEmbedded build system uses the first package type (e.g. DEB, RPM, |
2898 | or IPK) that appears with the variable | 2898 | or IPK) that appears with the variable |
2899 | 2899 | ||
@@ -2913,7 +2913,7 @@ system and gives an overview of their function and contents. | |||
2913 | If you need to pass the root filesystem path to a command within the | 2913 | If you need to pass the root filesystem path to a command within the |
2914 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 2914 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
2915 | directory that becomes the root filesystem image. See the | 2915 | directory that becomes the root filesystem image. See the |
2916 | ```IMAGE_ROOTFS`` <#var-IMAGE_ROOTFS>`__ variable for more | 2916 | :term:`IMAGE_ROOTFS` variable for more |
2917 | information. | 2917 | information. |
2918 | 2918 | ||
2919 | IMAGE_PREPROCESS_COMMAND | 2919 | IMAGE_PREPROCESS_COMMAND |
@@ -2925,19 +2925,19 @@ system and gives an overview of their function and contents. | |||
2925 | If you need to pass the root filesystem path to a command within the | 2925 | If you need to pass the root filesystem path to a command within the |
2926 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 2926 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
2927 | directory that becomes the root filesystem image. See the | 2927 | directory that becomes the root filesystem image. See the |
2928 | ```IMAGE_ROOTFS`` <#var-IMAGE_ROOTFS>`__ variable for more | 2928 | :term:`IMAGE_ROOTFS` variable for more |
2929 | information. | 2929 | information. |
2930 | 2930 | ||
2931 | IMAGE_ROOTFS | 2931 | IMAGE_ROOTFS |
2932 | The location of the root filesystem while it is under construction | 2932 | The location of the root filesystem while it is under construction |
2933 | (i.e. during the ```do_rootfs`` <#ref-tasks-rootfs>`__ task). This | 2933 | (i.e. during the :ref:`ref-tasks-rootfs` task). This |
2934 | variable is not configurable. Do not change it. | 2934 | variable is not configurable. Do not change it. |
2935 | 2935 | ||
2936 | IMAGE_ROOTFS_ALIGNMENT | 2936 | IMAGE_ROOTFS_ALIGNMENT |
2937 | Specifies the alignment for the output image file in Kbytes. If the | 2937 | Specifies the alignment for the output image file in Kbytes. If the |
2938 | size of the image is not a multiple of this value, then the size is | 2938 | size of the image is not a multiple of this value, then the size is |
2939 | rounded up to the nearest multiple of the value. The default value is | 2939 | rounded up to the nearest multiple of the value. The default value is |
2940 | "1". See ```IMAGE_ROOTFS_SIZE`` <#var-IMAGE_ROOTFS_SIZE>`__ for | 2940 | "1". See :term:`IMAGE_ROOTFS_SIZE` for |
2941 | additional information. | 2941 | additional information. |
2942 | 2942 | ||
2943 | IMAGE_ROOTFS_EXTRA_SPACE | 2943 | IMAGE_ROOTFS_EXTRA_SPACE |
@@ -2971,17 +2971,17 @@ system and gives an overview of their function and contents. | |||
2971 | internal-rootfs-size = Initial root filesystem size before any | 2971 | internal-rootfs-size = Initial root filesystem size before any |
2972 | modifications. xspace = IMAGE_ROOTFS_EXTRA_SPACE | 2972 | modifications. xspace = IMAGE_ROOTFS_EXTRA_SPACE |
2973 | 2973 | ||
2974 | See the ```IMAGE_OVERHEAD_FACTOR`` <#var-IMAGE_OVERHEAD_FACTOR>`__ | 2974 | See the :term:`IMAGE_OVERHEAD_FACTOR` |
2975 | and ```IMAGE_ROOTFS_EXTRA_SPACE`` <#var-IMAGE_ROOTFS_EXTRA_SPACE>`__ | 2975 | and :term:`IMAGE_ROOTFS_EXTRA_SPACE` |
2976 | variables for related information. | 2976 | variables for related information. |
2977 | 2977 | ||
2978 | IMAGE_TYPEDEP | 2978 | IMAGE_TYPEDEP |
2979 | Specifies a dependency from one image type on another. Here is an | 2979 | Specifies a dependency from one image type on another. Here is an |
2980 | example from the ```image-live`` <#ref-classes-image-live>`__ class: | 2980 | example from the :ref:`image-live <ref-classes-image-live>` class: |
2981 | IMAGE_TYPEDEP_live = "ext3" | 2981 | IMAGE_TYPEDEP_live = "ext3" |
2982 | 2982 | ||
2983 | In the previous example, the variable ensures that when "live" is | 2983 | In the previous example, the variable ensures that when "live" is |
2984 | listed with the ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ variable, | 2984 | listed with the :term:`IMAGE_FSTYPES` variable, |
2985 | the OpenEmbedded build system produces an ``ext3`` image first since | 2985 | the OpenEmbedded build system produces an ``ext3`` image first since |
2986 | one of the components of the live image is an ``ext3`` formatted | 2986 | one of the components of the live image is an ``ext3`` formatted |
2987 | partition containing the root filesystem. | 2987 | partition containing the root filesystem. |
@@ -3005,7 +3005,7 @@ system and gives an overview of their function and contents. | |||
3005 | 3005 | ||
3006 | Suppose, for example, you have a set of recipes that are used across | 3006 | Suppose, for example, you have a set of recipes that are used across |
3007 | several projects. And, within each of those recipes the revision (its | 3007 | several projects. And, within each of those recipes the revision (its |
3008 | ```PR`` <#var-PR>`__ value) is set accordingly. In this case, when | 3008 | :term:`PR` value) is set accordingly. In this case, when |
3009 | the revision of those recipes changes, the burden is on you to find | 3009 | the revision of those recipes changes, the burden is on you to find |
3010 | all those recipes and be sure that they get changed to reflect the | 3010 | all those recipes and be sure that they get changed to reflect the |
3011 | updated version of the recipe. In this scenario, it can get | 3011 | updated version of the recipe. In this scenario, it can get |
@@ -3034,7 +3034,7 @@ system and gives an overview of their function and contents. | |||
3034 | 3034 | ||
3035 | INCOMPATIBLE_LICENSE | 3035 | INCOMPATIBLE_LICENSE |
3036 | Specifies a space-separated list of license names (as they would | 3036 | Specifies a space-separated list of license names (as they would |
3037 | appear in ```LICENSE`` <#var-LICENSE>`__) that should be excluded | 3037 | appear in :term:`LICENSE`) that should be excluded |
3038 | from the build. Recipes that provide no alternatives to listed | 3038 | from the build. Recipes that provide no alternatives to listed |
3039 | incompatible licenses are not built. Packages that are individually | 3039 | incompatible licenses are not built. Packages that are individually |
3040 | licensed with the specified incompatible licenses will be deleted. | 3040 | licensed with the specified incompatible licenses will be deleted. |
@@ -3095,7 +3095,7 @@ system and gives an overview of their function and contents. | |||
3095 | 3095 | ||
3096 | INHIBIT_DEFAULT_DEPS | 3096 | INHIBIT_DEFAULT_DEPS |
3097 | Prevents the default dependencies, namely the C compiler and standard | 3097 | Prevents the default dependencies, namely the C compiler and standard |
3098 | C library (libc), from being added to ```DEPENDS`` <#var-DEPENDS>`__. | 3098 | C library (libc), from being added to :term:`DEPENDS`. |
3099 | This variable is usually used within recipes that do not require any | 3099 | This variable is usually used within recipes that do not require any |
3100 | compilation using the C compiler. | 3100 | compilation using the C compiler. |
3101 | 3101 | ||
@@ -3106,9 +3106,9 @@ system and gives an overview of their function and contents. | |||
3106 | Prevents the OpenEmbedded build system from splitting out debug | 3106 | Prevents the OpenEmbedded build system from splitting out debug |
3107 | information during packaging. By default, the build system splits out | 3107 | information during packaging. By default, the build system splits out |
3108 | debugging information during the | 3108 | debugging information during the |
3109 | ```do_package`` <#ref-tasks-package>`__ task. For more information on | 3109 | :ref:`ref-tasks-package` task. For more information on |
3110 | how debug information is split out, see the | 3110 | how debug information is split out, see the |
3111 | ```PACKAGE_DEBUG_SPLIT_STYLE`` <#var-PACKAGE_DEBUG_SPLIT_STYLE>`__ | 3111 | :term:`PACKAGE_DEBUG_SPLIT_STYLE` |
3112 | variable. | 3112 | variable. |
3113 | 3113 | ||
3114 | To prevent the build system from splitting out debug information | 3114 | To prevent the build system from splitting out debug information |
@@ -3121,7 +3121,7 @@ system and gives an overview of their function and contents. | |||
3121 | files. | 3121 | files. |
3122 | 3122 | ||
3123 | By default, the OpenEmbedded build system strips binaries and puts | 3123 | By default, the OpenEmbedded build system strips binaries and puts |
3124 | the debugging symbols into ``${``\ ```PN`` <#var-PN>`__\ ``}-dbg``. | 3124 | the debugging symbols into ``${``\ :term:`PN`\ ``}-dbg``. |
3125 | Consequently, you should not set ``INHIBIT_PACKAGE_STRIP`` when you | 3125 | Consequently, you should not set ``INHIBIT_PACKAGE_STRIP`` when you |
3126 | plan to debug in general. | 3126 | plan to debug in general. |
3127 | 3127 | ||
@@ -3135,7 +3135,7 @@ system and gives an overview of their function and contents. | |||
3135 | this stripping. | 3135 | this stripping. |
3136 | 3136 | ||
3137 | If you want to use this variable, include the | 3137 | If you want to use this variable, include the |
3138 | ```staging`` <#ref-classes-staging>`__ class. This class uses a | 3138 | :ref:`staging <ref-classes-staging>` class. This class uses a |
3139 | ``sys_strip()`` function to test for the variable and acts | 3139 | ``sys_strip()`` function to test for the variable and acts |
3140 | accordingly. | 3140 | accordingly. |
3141 | 3141 | ||
@@ -3153,7 +3153,7 @@ system and gives an overview of their function and contents. | |||
3153 | Defines the format for the output image of an initial RAM filesystem | 3153 | Defines the format for the output image of an initial RAM filesystem |
3154 | (initramfs), which is used during boot. Supported formats are the | 3154 | (initramfs), which is used during boot. Supported formats are the |
3155 | same as those supported by the | 3155 | same as those supported by the |
3156 | ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ variable. | 3156 | :term:`IMAGE_FSTYPES` variable. |
3157 | 3157 | ||
3158 | The default value of this variable, which is set in the | 3158 | The default value of this variable, which is set in the |
3159 | ``meta/conf/bitbake.conf`` configuration file in the `Source | 3159 | ``meta/conf/bitbake.conf`` configuration file in the `Source |
@@ -3163,14 +3163,14 @@ system and gives an overview of their function and contents. | |||
3163 | an optionally compressed cpio archive. | 3163 | an optionally compressed cpio archive. |
3164 | 3164 | ||
3165 | INITRAMFS_IMAGE | 3165 | INITRAMFS_IMAGE |
3166 | Specifies the ```PROVIDES`` <#var-PROVIDES>`__ name of an image | 3166 | Specifies the :term:`PROVIDES` name of an image |
3167 | recipe that is used to build an initial RAM filesystem (initramfs) | 3167 | recipe that is used to build an initial RAM filesystem (initramfs) |
3168 | image. In other words, the ``INITRAMFS_IMAGE`` variable causes an | 3168 | image. In other words, the ``INITRAMFS_IMAGE`` variable causes an |
3169 | additional recipe to be built as a dependency to whatever root | 3169 | additional recipe to be built as a dependency to whatever root |
3170 | filesystem recipe you might be using (e.g. ``core-image-sato``). The | 3170 | filesystem recipe you might be using (e.g. ``core-image-sato``). The |
3171 | initramfs image recipe you provide should set | 3171 | initramfs image recipe you provide should set |
3172 | ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ to | 3172 | :term:`IMAGE_FSTYPES` to |
3173 | ```INITRAMFS_FSTYPES`` <#var-INITRAMFS_FSTYPES>`__. | 3173 | :term:`INITRAMFS_FSTYPES`. |
3174 | 3174 | ||
3175 | An initramfs image provides a temporary root filesystem used for | 3175 | An initramfs image provides a temporary root filesystem used for |
3176 | early system initialization (e.g. loading of modules needed to locate | 3176 | early system initialization (e.g. loading of modules needed to locate |
@@ -3189,15 +3189,15 @@ system and gives an overview of their function and contents. | |||
3189 | 3189 | ||
3190 | You can also find more information by referencing the | 3190 | You can also find more information by referencing the |
3191 | ``meta-poky/conf/local.conf.sample.extended`` configuration file in | 3191 | ``meta-poky/conf/local.conf.sample.extended`` configuration file in |
3192 | the Source Directory, the ```image`` <#ref-classes-image>`__ class, | 3192 | the Source Directory, the :ref:`image <ref-classes-image>` class, |
3193 | and the ```kernel`` <#ref-classes-kernel>`__ class to see how to use | 3193 | and the :ref:`kernel <ref-classes-kernel>` class to see how to use |
3194 | the ``INITRAMFS_IMAGE`` variable. | 3194 | the ``INITRAMFS_IMAGE`` variable. |
3195 | 3195 | ||
3196 | If ``INITRAMFS_IMAGE`` is empty, which is the default, then no | 3196 | If ``INITRAMFS_IMAGE`` is empty, which is the default, then no |
3197 | initramfs image is built. | 3197 | initramfs image is built. |
3198 | 3198 | ||
3199 | For more information, you can also see the | 3199 | For more information, you can also see the |
3200 | ```INITRAMFS_IMAGE_BUNDLE`` <#var-INITRAMFS_IMAGE_BUNDLE>`__ | 3200 | :term:`INITRAMFS_IMAGE_BUNDLE` |
3201 | variable, which allows the generated image to be bundled inside the | 3201 | variable, which allows the generated image to be bundled inside the |
3202 | kernel image. Additionally, for information on creating an initramfs | 3202 | kernel image. Additionally, for information on creating an initramfs |
3203 | image, see the "`Building an Initial RAM Filesystem (initramfs) | 3203 | image, see the "`Building an Initial RAM Filesystem (initramfs) |
@@ -3206,13 +3206,13 @@ system and gives an overview of their function and contents. | |||
3206 | 3206 | ||
3207 | INITRAMFS_IMAGE_BUNDLE | 3207 | INITRAMFS_IMAGE_BUNDLE |
3208 | Controls whether or not the image recipe specified by | 3208 | Controls whether or not the image recipe specified by |
3209 | ```INITRAMFS_IMAGE`` <#var-INITRAMFS_IMAGE>`__ is run through an | 3209 | :term:`INITRAMFS_IMAGE` is run through an |
3210 | extra pass | 3210 | extra pass |
3211 | (```do_bundle_initramfs`` <#ref-tasks-bundle_initramfs>`__) during | 3211 | (:ref:`ref-tasks-bundle_initramfs`) during |
3212 | kernel compilation in order to build a single binary that contains | 3212 | kernel compilation in order to build a single binary that contains |
3213 | both the kernel image and the initial RAM filesystem (initramfs) | 3213 | both the kernel image and the initial RAM filesystem (initramfs) |
3214 | image. This makes use of the | 3214 | image. This makes use of the |
3215 | ```CONFIG_INITRAMFS_SOURCE`` <#var-CONFIG_INITRAMFS_SOURCE>`__ kernel | 3215 | :term:`CONFIG_INITRAMFS_SOURCE` kernel |
3216 | feature. | 3216 | feature. |
3217 | 3217 | ||
3218 | .. note:: | 3218 | .. note:: |
@@ -3225,13 +3225,13 @@ system and gives an overview of their function and contents. | |||
3225 | since the initramfs is bundled inside the kernel image. | 3225 | since the initramfs is bundled inside the kernel image. |
3226 | 3226 | ||
3227 | The combined binary is deposited into the ``tmp/deploy`` directory, | 3227 | The combined binary is deposited into the ``tmp/deploy`` directory, |
3228 | which is part of the `Build Directory <#build-directory>`__. | 3228 | which is part of the :term:`Build Directory`. |
3229 | 3229 | ||
3230 | Setting the variable to "1" in a configuration file causes the | 3230 | Setting the variable to "1" in a configuration file causes the |
3231 | OpenEmbedded build system to generate a kernel image with the | 3231 | OpenEmbedded build system to generate a kernel image with the |
3232 | initramfs specified in ``INITRAMFS_IMAGE`` bundled within: | 3232 | initramfs specified in ``INITRAMFS_IMAGE`` bundled within: |
3233 | INITRAMFS_IMAGE_BUNDLE = "1" By default, the | 3233 | INITRAMFS_IMAGE_BUNDLE = "1" By default, the |
3234 | ```kernel`` <#ref-classes-kernel>`__ class sets this variable to a | 3234 | :ref:`kernel <ref-classes-kernel>` class sets this variable to a |
3235 | null string as follows: INITRAMFS_IMAGE_BUNDLE ?= "" | 3235 | null string as follows: INITRAMFS_IMAGE_BUNDLE ?= "" |
3236 | 3236 | ||
3237 | .. note:: | 3237 | .. note:: |
@@ -3257,14 +3257,14 @@ system and gives an overview of their function and contents. | |||
3257 | file, has the following value: KERNEL_ARTIFACT_LINK_NAME ?= | 3257 | file, has the following value: KERNEL_ARTIFACT_LINK_NAME ?= |
3258 | "${MACHINE}" | 3258 | "${MACHINE}" |
3259 | 3259 | ||
3260 | See the ```MACHINE`` <#var-MACHINE>`__ variable for additional | 3260 | See the :term:`MACHINE` variable for additional |
3261 | information. | 3261 | information. |
3262 | 3262 | ||
3263 | INITRAMFS_NAME | 3263 | INITRAMFS_NAME |
3264 | The base name of the initial RAM filesystem image. This variable is | 3264 | The base name of the initial RAM filesystem image. This variable is |
3265 | set in the ``meta/classes/kernel-artifact-names.bbclass`` file as | 3265 | set in the ``meta/classes/kernel-artifact-names.bbclass`` file as |
3266 | follows: INITRAMFS_NAME ?= "initramfs-${KERNEL_ARTIFACT_NAME}" The | 3266 | follows: INITRAMFS_NAME ?= "initramfs-${KERNEL_ARTIFACT_NAME}" The |
3267 | value of the ```KERNEL_ARTIFACT_NAME`` <#var-KERNEL_ARTIFACT_NAME>`__ | 3267 | value of the :term:`KERNEL_ARTIFACT_NAME` |
3268 | variable, which is set in the same file, has the following value: | 3268 | variable, which is set in the same file, has the following value: |
3269 | KERNEL_ARTIFACT_NAME ?= | 3269 | KERNEL_ARTIFACT_NAME ?= |
3270 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 3270 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
@@ -3274,16 +3274,16 @@ system and gives an overview of their function and contents. | |||
3274 | initial RAM disk (``initrd``). | 3274 | initial RAM disk (``initrd``). |
3275 | 3275 | ||
3276 | The ``INITRD`` variable is an optional variable used with the | 3276 | The ``INITRD`` variable is an optional variable used with the |
3277 | ```image-live`` <#ref-classes-image-live>`__ class. | 3277 | :ref:`image-live <ref-classes-image-live>` class. |
3278 | 3278 | ||
3279 | INITRD_IMAGE | 3279 | INITRD_IMAGE |
3280 | When building a "live" bootable image (i.e. when | 3280 | When building a "live" bootable image (i.e. when |
3281 | ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ contains "live"), | 3281 | :term:`IMAGE_FSTYPES` contains "live"), |
3282 | ``INITRD_IMAGE`` specifies the image recipe that should be built to | 3282 | ``INITRD_IMAGE`` specifies the image recipe that should be built to |
3283 | provide the initial RAM disk image. The default value is | 3283 | provide the initial RAM disk image. The default value is |
3284 | "core-image-minimal-initramfs". | 3284 | "core-image-minimal-initramfs". |
3285 | 3285 | ||
3286 | See the ```image-live`` <#ref-classes-image-live>`__ class for more | 3286 | See the :ref:`image-live <ref-classes-image-live>` class for more |
3287 | information. | 3287 | information. |
3288 | 3288 | ||
3289 | INITSCRIPT_NAME | 3289 | INITSCRIPT_NAME |
@@ -3299,7 +3299,7 @@ system and gives an overview of their function and contents. | |||
3299 | ``INITSCRIPT_*`` as an override. | 3299 | ``INITSCRIPT_*`` as an override. |
3300 | 3300 | ||
3301 | This variable is used in recipes when using ``update-rc.d.bbclass``. | 3301 | This variable is used in recipes when using ``update-rc.d.bbclass``. |
3302 | The variable is optional and defaults to the ```PN`` <#var-PN>`__ | 3302 | The variable is optional and defaults to the :term:`PN` |
3303 | variable. | 3303 | variable. |
3304 | 3304 | ||
3305 | INITSCRIPT_PARAMS | 3305 | INITSCRIPT_PARAMS |
@@ -3310,7 +3310,7 @@ system and gives an overview of their function and contents. | |||
3310 | in initlevels 2 and 5, and stops the script in levels 0, 1 and 6. | 3310 | in initlevels 2 and 5, and stops the script in levels 0, 1 and 6. |
3311 | 3311 | ||
3312 | The variable's default value is "defaults", which is set in the | 3312 | The variable's default value is "defaults", which is set in the |
3313 | ```update-rc.d`` <#ref-classes-update-rc.d>`__ class. | 3313 | :ref:`update-rc.d <ref-classes-update-rc.d>` class. |
3314 | 3314 | ||
3315 | The value in ``INITSCRIPT_PARAMS`` is passed through to the | 3315 | The value in ``INITSCRIPT_PARAMS`` is passed through to the |
3316 | ``update-rc.d`` command. For more information on valid parameters, | 3316 | ``update-rc.d`` command. For more information on valid parameters, |
@@ -3324,7 +3324,7 @@ system and gives an overview of their function and contents. | |||
3324 | recipe. The package name override must be used, which in this example | 3324 | recipe. The package name override must be used, which in this example |
3325 | is ``${PN}``: INSANE_SKIP_${PN} += "dev-so" | 3325 | is ``${PN}``: INSANE_SKIP_${PN} += "dev-so" |
3326 | 3326 | ||
3327 | See the "```insane.bbclass`` <#ref-classes-insane>`__" section for a | 3327 | See the ":ref:`insane.bbclass <ref-classes-insane>`" section for a |
3328 | list of the valid QA checks you can specify using this variable. | 3328 | list of the valid QA checks you can specify using this variable. |
3329 | 3329 | ||
3330 | INSTALL_TIMEZONE_FILE | 3330 | INSTALL_TIMEZONE_FILE |
@@ -3376,7 +3376,7 @@ system and gives an overview of their function and contents. | |||
3376 | BSP. | 3376 | BSP. |
3377 | 3377 | ||
3378 | KBUILD_DEFCONFIG | 3378 | KBUILD_DEFCONFIG |
3379 | When used with the ```kernel-yocto`` <#ref-classes-kernel-yocto>`__ | 3379 | When used with the :ref:`kernel-yocto <ref-classes-kernel-yocto>` |
3380 | class, specifies an "in-tree" kernel configuration file for use | 3380 | class, specifies an "in-tree" kernel configuration file for use |
3381 | during a kernel build. | 3381 | during a kernel build. |
3382 | 3382 | ||
@@ -3386,7 +3386,7 @@ system and gives an overview of their function and contents. | |||
3386 | "out-of-tree"). However, if you want to use a ``defconfig`` file that | 3386 | "out-of-tree"). However, if you want to use a ``defconfig`` file that |
3387 | is part of the kernel tree (i.e. "in-tree"), you can use the | 3387 | is part of the kernel tree (i.e. "in-tree"), you can use the |
3388 | ``KBUILD_DEFCONFIG`` variable and append the | 3388 | ``KBUILD_DEFCONFIG`` variable and append the |
3389 | ```KMACHINE`` <#var-KMACHINE>`__ variable to point to the | 3389 | :term:`KMACHINE` variable to point to the |
3390 | ``defconfig`` file. | 3390 | ``defconfig`` file. |
3391 | 3391 | ||
3392 | To use the variable, set it in the append file for your kernel recipe | 3392 | To use the variable, set it in the append file for your kernel recipe |
@@ -3404,7 +3404,7 @@ system and gives an overview of their function and contents. | |||
3404 | KERNEL_ALT_IMAGETYPE | 3404 | KERNEL_ALT_IMAGETYPE |
3405 | Specifies an alternate kernel image type for creation in addition to | 3405 | Specifies an alternate kernel image type for creation in addition to |
3406 | the kernel image type specified using the | 3406 | the kernel image type specified using the |
3407 | ```KERNEL_IMAGETYPE`` <#var-KERNEL_IMAGETYPE>`__ variable. | 3407 | :term:`KERNEL_IMAGETYPE` variable. |
3408 | 3408 | ||
3409 | KERNEL_ARTIFACT_NAME | 3409 | KERNEL_ARTIFACT_NAME |
3410 | Specifies the name of all of the build artifacts. You can change the | 3410 | Specifies the name of all of the build artifacts. You can change the |
@@ -3416,8 +3416,8 @@ system and gives an overview of their function and contents. | |||
3416 | following default value: KERNEL_ARTIFACT_NAME ?= | 3416 | following default value: KERNEL_ARTIFACT_NAME ?= |
3417 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 3417 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
3418 | 3418 | ||
3419 | See the ```PKGE`` <#var-PKGE>`__, ```PKGV`` <#var-PKGV>`__, | 3419 | See the :term:`PKGE`, :term:`PKGV`, |
3420 | ```PKGR`` <#var-PKGR>`__, and ```MACHINE`` <#var-MACHINE>`__ | 3420 | :term:`PKGR`, and :term:`MACHINE` |
3421 | variables for additional information. | 3421 | variables for additional information. |
3422 | 3422 | ||
3423 | .. note:: | 3423 | .. note:: |
@@ -3430,7 +3430,7 @@ system and gives an overview of their function and contents. | |||
3430 | 3430 | ||
3431 | KERNEL_CLASSES | 3431 | KERNEL_CLASSES |
3432 | A list of classes defining kernel image types that the | 3432 | A list of classes defining kernel image types that the |
3433 | ```kernel`` <#ref-classes-kernel>`__ class should inherit. You | 3433 | :ref:`kernel <ref-classes-kernel>` class should inherit. You |
3434 | typically append this variable to enable extended image types. An | 3434 | typically append this variable to enable extended image types. An |
3435 | example is the "kernel-fitimage", which enables fitImage support and | 3435 | example is the "kernel-fitimage", which enables fitImage support and |
3436 | resides in ``meta/classes/kernel-fitimage.bbclass``. You can register | 3436 | resides in ``meta/classes/kernel-fitimage.bbclass``. You can register |
@@ -3449,7 +3449,7 @@ system and gives an overview of their function and contents. | |||
3449 | file is preferred. | 3449 | file is preferred. |
3450 | 3450 | ||
3451 | In order to use this variable, the | 3451 | In order to use this variable, the |
3452 | ```kernel-devicetree`` <#ref-classes-kernel-devicetree>`__ class must | 3452 | :ref:`kernel-devicetree <ref-classes-kernel-devicetree>` class must |
3453 | be inherited. | 3453 | be inherited. |
3454 | 3454 | ||
3455 | KERNEL_DTB_LINK_NAME | 3455 | KERNEL_DTB_LINK_NAME |
@@ -3460,14 +3460,14 @@ system and gives an overview of their function and contents. | |||
3460 | the same file, has the following value: KERNEL_ARTIFACT_LINK_NAME ?= | 3460 | the same file, has the following value: KERNEL_ARTIFACT_LINK_NAME ?= |
3461 | "${MACHINE}" | 3461 | "${MACHINE}" |
3462 | 3462 | ||
3463 | See the ```MACHINE`` <#var-MACHINE>`__ variable for additional | 3463 | See the :term:`MACHINE` variable for additional |
3464 | information. | 3464 | information. |
3465 | 3465 | ||
3466 | KERNEL_DTB_NAME | 3466 | KERNEL_DTB_NAME |
3467 | The base name of the kernel device tree binary (DTB). This variable | 3467 | The base name of the kernel device tree binary (DTB). This variable |
3468 | is set in the ``meta/classes/kernel-artifact-names.bbclass`` file as | 3468 | is set in the ``meta/classes/kernel-artifact-names.bbclass`` file as |
3469 | follows: KERNEL_DTB_NAME ?= "${KERNEL_ARTIFACT_NAME}" The value of | 3469 | follows: KERNEL_DTB_NAME ?= "${KERNEL_ARTIFACT_NAME}" The value of |
3470 | the ```KERNEL_ARTIFACT_NAME`` <#var-KERNEL_ARTIFACT_NAME>`__ | 3470 | the :term:`KERNEL_ARTIFACT_NAME` |
3471 | variable, which is set in the same file, has the following value: | 3471 | variable, which is set in the same file, has the following value: |
3472 | KERNEL_ARTIFACT_NAME ?= | 3472 | KERNEL_ARTIFACT_NAME ?= |
3473 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 3473 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
@@ -3479,8 +3479,8 @@ system and gives an overview of their function and contents. | |||
3479 | KERNEL_FEATURES | 3479 | KERNEL_FEATURES |
3480 | Includes additional kernel metadata. In the OpenEmbedded build | 3480 | Includes additional kernel metadata. In the OpenEmbedded build |
3481 | system, the default Board Support Packages (BSPs) | 3481 | system, the default Board Support Packages (BSPs) |
3482 | `Metadata <#metadata>`__ is provided through the | 3482 | :term:`Metadata` is provided through the |
3483 | ```KMACHINE`` <#var-KMACHINE>`__ and ```KBRANCH`` <#var-KBRANCH>`__ | 3483 | :term:`KMACHINE` and :term:`KBRANCH` |
3484 | variables. You can use the ``KERNEL_FEATURES`` variable from within | 3484 | variables. You can use the ``KERNEL_FEATURES`` variable from within |
3485 | the kernel recipe or kernel append file to further add metadata for | 3485 | the kernel recipe or kernel append file to further add metadata for |
3486 | all BSPs or specific BSPs. | 3486 | all BSPs or specific BSPs. |
@@ -3511,14 +3511,14 @@ system and gives an overview of their function and contents. | |||
3511 | file, has the following value: KERNEL_ARTIFACT_LINK_NAME ?= | 3511 | file, has the following value: KERNEL_ARTIFACT_LINK_NAME ?= |
3512 | "${MACHINE}" | 3512 | "${MACHINE}" |
3513 | 3513 | ||
3514 | See the ```MACHINE`` <#var-MACHINE>`__ variable for additional | 3514 | See the :term:`MACHINE` variable for additional |
3515 | information. | 3515 | information. |
3516 | 3516 | ||
3517 | KERNEL_FIT_NAME | 3517 | KERNEL_FIT_NAME |
3518 | The base name of the kernel flattened image tree (FIT) image. This | 3518 | The base name of the kernel flattened image tree (FIT) image. This |
3519 | variable is set in the ``meta/classes/kernel-artifact-names.bbclass`` | 3519 | variable is set in the ``meta/classes/kernel-artifact-names.bbclass`` |
3520 | file as follows: KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}" The | 3520 | file as follows: KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}" The |
3521 | value of the ```KERNEL_ARTIFACT_NAME`` <#var-KERNEL_ARTIFACT_NAME>`__ | 3521 | value of the :term:`KERNEL_ARTIFACT_NAME` |
3522 | variable, which is set in the same file, has the following value: | 3522 | variable, which is set in the same file, has the following value: |
3523 | KERNEL_ARTIFACT_NAME ?= | 3523 | KERNEL_ARTIFACT_NAME ?= |
3524 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 3524 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
@@ -3531,14 +3531,14 @@ system and gives an overview of their function and contents. | |||
3531 | file, has the following value: KERNEL_ARTIFACT_LINK_NAME ?= | 3531 | file, has the following value: KERNEL_ARTIFACT_LINK_NAME ?= |
3532 | "${MACHINE}" | 3532 | "${MACHINE}" |
3533 | 3533 | ||
3534 | See the ```MACHINE`` <#var-MACHINE>`__ variable for additional | 3534 | See the :term:`MACHINE` variable for additional |
3535 | information. | 3535 | information. |
3536 | 3536 | ||
3537 | KERNEL_IMAGE_MAXSIZE | 3537 | KERNEL_IMAGE_MAXSIZE |
3538 | Specifies the maximum size of the kernel image file in kilobytes. If | 3538 | Specifies the maximum size of the kernel image file in kilobytes. If |
3539 | ``KERNEL_IMAGE_MAXSIZE`` is set, the size of the kernel image file is | 3539 | ``KERNEL_IMAGE_MAXSIZE`` is set, the size of the kernel image file is |
3540 | checked against the set value during the | 3540 | checked against the set value during the |
3541 | ```do_sizecheck`` <#ref-tasks-sizecheck>`__ task. The task fails if | 3541 | :ref:`ref-tasks-sizecheck` task. The task fails if |
3542 | the kernel image file is larger than the setting. | 3542 | the kernel image file is larger than the setting. |
3543 | 3543 | ||
3544 | ``KERNEL_IMAGE_MAXSIZE`` is useful for target devices that have a | 3544 | ``KERNEL_IMAGE_MAXSIZE`` is useful for target devices that have a |
@@ -3551,7 +3551,7 @@ system and gives an overview of their function and contents. | |||
3551 | The base name of the kernel image. This variable is set in the | 3551 | The base name of the kernel image. This variable is set in the |
3552 | ``meta/classes/kernel-artifact-names.bbclass`` file as follows: | 3552 | ``meta/classes/kernel-artifact-names.bbclass`` file as follows: |
3553 | KERNEL_IMAGE_NAME ?= "${KERNEL_ARTIFACT_NAME}" The value of the | 3553 | KERNEL_IMAGE_NAME ?= "${KERNEL_ARTIFACT_NAME}" The value of the |
3554 | ```KERNEL_ARTIFACT_NAME`` <#var-KERNEL_ARTIFACT_NAME>`__ variable, | 3554 | :term:`KERNEL_ARTIFACT_NAME` variable, |
3555 | which is set in the same file, has the following value: | 3555 | which is set in the same file, has the following value: |
3556 | KERNEL_ARTIFACT_NAME ?= | 3556 | KERNEL_ARTIFACT_NAME ?= |
3557 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 3557 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
@@ -3563,7 +3563,7 @@ system and gives an overview of their function and contents. | |||
3563 | build. | 3563 | build. |
3564 | 3564 | ||
3565 | If you want to build an alternate kernel image type, use the | 3565 | If you want to build an alternate kernel image type, use the |
3566 | ```KERNEL_ALT_IMAGETYPE`` <#var-KERNEL_ALT_IMAGETYPE>`__ variable. | 3566 | :term:`KERNEL_ALT_IMAGETYPE` variable. |
3567 | 3567 | ||
3568 | KERNEL_MODULE_AUTOLOAD | 3568 | KERNEL_MODULE_AUTOLOAD |
3569 | Lists kernel modules that need to be auto-loaded during boot. | 3569 | Lists kernel modules that need to be auto-loaded during boot. |
@@ -3591,7 +3591,7 @@ system and gives an overview of their function and contents. | |||
3591 | 3591 | ||
3592 | For information on how to populate the ``modname.conf`` file with | 3592 | For information on how to populate the ``modname.conf`` file with |
3593 | ``modprobe.d`` syntax lines, see the | 3593 | ``modprobe.d`` syntax lines, see the |
3594 | ```KERNEL_MODULE_PROBECONF`` <#var-KERNEL_MODULE_PROBECONF>`__ | 3594 | :term:`KERNEL_MODULE_PROBECONF` |
3595 | variable. | 3595 | variable. |
3596 | 3596 | ||
3597 | KERNEL_MODULE_PROBECONF | 3597 | KERNEL_MODULE_PROBECONF |
@@ -3603,29 +3603,29 @@ system and gives an overview of their function and contents. | |||
3603 | 3603 | ||
3604 | KERNEL_PATH | 3604 | KERNEL_PATH |
3605 | The location of the kernel sources. This variable is set to the value | 3605 | The location of the kernel sources. This variable is set to the value |
3606 | of the ```STAGING_KERNEL_DIR`` <#var-STAGING_KERNEL_DIR>`__ within | 3606 | of the :term:`STAGING_KERNEL_DIR` within |
3607 | the ```module`` <#ref-classes-module>`__ class. For information on | 3607 | the :ref:`module <ref-classes-module>` class. For information on |
3608 | how this variable is used, see the "`Incorporating Out-of-Tree | 3608 | how this variable is used, see the "`Incorporating Out-of-Tree |
3609 | Modules <&YOCTO_DOCS_KERNEL_DEV_URL;#incorporating-out-of-tree-modules>`__" | 3609 | Modules <&YOCTO_DOCS_KERNEL_DEV_URL;#incorporating-out-of-tree-modules>`__" |
3610 | section in the Yocto Project Linux Kernel Development Manual. | 3610 | section in the Yocto Project Linux Kernel Development Manual. |
3611 | 3611 | ||
3612 | To help maximize compatibility with out-of-tree drivers used to build | 3612 | To help maximize compatibility with out-of-tree drivers used to build |
3613 | modules, the OpenEmbedded build system also recognizes and uses the | 3613 | modules, the OpenEmbedded build system also recognizes and uses the |
3614 | ```KERNEL_SRC`` <#var-KERNEL_SRC>`__ variable, which is identical to | 3614 | :term:`KERNEL_SRC` variable, which is identical to |
3615 | the ``KERNEL_PATH`` variable. Both variables are common variables | 3615 | the ``KERNEL_PATH`` variable. Both variables are common variables |
3616 | used by external Makefiles to point to the kernel source directory. | 3616 | used by external Makefiles to point to the kernel source directory. |
3617 | 3617 | ||
3618 | KERNEL_SRC | 3618 | KERNEL_SRC |
3619 | The location of the kernel sources. This variable is set to the value | 3619 | The location of the kernel sources. This variable is set to the value |
3620 | of the ```STAGING_KERNEL_DIR`` <#var-STAGING_KERNEL_DIR>`__ within | 3620 | of the :term:`STAGING_KERNEL_DIR` within |
3621 | the ```module`` <#ref-classes-module>`__ class. For information on | 3621 | the :ref:`module <ref-classes-module>` class. For information on |
3622 | how this variable is used, see the "`Incorporating Out-of-Tree | 3622 | how this variable is used, see the "`Incorporating Out-of-Tree |
3623 | Modules <&YOCTO_DOCS_KERNEL_DEV_URL;#incorporating-out-of-tree-modules>`__" | 3623 | Modules <&YOCTO_DOCS_KERNEL_DEV_URL;#incorporating-out-of-tree-modules>`__" |
3624 | section in the Yocto Project Linux Kernel Development Manual. | 3624 | section in the Yocto Project Linux Kernel Development Manual. |
3625 | 3625 | ||
3626 | To help maximize compatibility with out-of-tree drivers used to build | 3626 | To help maximize compatibility with out-of-tree drivers used to build |
3627 | modules, the OpenEmbedded build system also recognizes and uses the | 3627 | modules, the OpenEmbedded build system also recognizes and uses the |
3628 | ```KERNEL_PATH`` <#var-KERNEL_PATH>`__ variable, which is identical | 3628 | :term:`KERNEL_PATH` variable, which is identical |
3629 | to the ``KERNEL_SRC`` variable. Both variables are common variables | 3629 | to the ``KERNEL_SRC`` variable. Both variables are common variables |
3630 | used by external Makefiles to point to the kernel source directory. | 3630 | used by external Makefiles to point to the kernel source directory. |
3631 | 3631 | ||
@@ -3638,7 +3638,7 @@ system and gives an overview of their function and contents. | |||
3638 | 3638 | ||
3639 | KERNELDEPMODDEPEND | 3639 | KERNELDEPMODDEPEND |
3640 | Specifies whether the data referenced through | 3640 | Specifies whether the data referenced through |
3641 | ```PKGDATA_DIR`` <#var-PKGDATA_DIR>`__ is needed or not. The | 3641 | :term:`PKGDATA_DIR` is needed or not. The |
3642 | ``KERNELDEPMODDEPEND`` does not control whether or not that data | 3642 | ``KERNELDEPMODDEPEND`` does not control whether or not that data |
3643 | exists, but simply whether or not it is used. If you do not need to | 3643 | exists, but simply whether or not it is used. If you do not need to |
3644 | use the data, set the ``KERNELDEPMODDEPEND`` variable in your | 3644 | use the data, set the ``KERNELDEPMODDEPEND`` variable in your |
@@ -3690,13 +3690,13 @@ system and gives an overview of their function and contents. | |||
3690 | You define the ``KTYPE`` variable in the `BSP | 3690 | You define the ``KTYPE`` variable in the `BSP |
3691 | Descriptions <&YOCTO_DOCS_KERNEL_DEV_URL;#bsp-descriptions>`__. The | 3691 | Descriptions <&YOCTO_DOCS_KERNEL_DEV_URL;#bsp-descriptions>`__. The |
3692 | value you use must match the value used for the | 3692 | value you use must match the value used for the |
3693 | ```LINUX_KERNEL_TYPE`` <#var-LINUX_KERNEL_TYPE>`__ value used by the | 3693 | :term:`LINUX_KERNEL_TYPE` value used by the |
3694 | kernel recipe. | 3694 | kernel recipe. |
3695 | 3695 | ||
3696 | LABELS | 3696 | LABELS |
3697 | Provides a list of targets for automatic configuration. | 3697 | Provides a list of targets for automatic configuration. |
3698 | 3698 | ||
3699 | See the ```grub-efi`` <#ref-classes-grub-efi>`__ class for more | 3699 | See the :ref:`grub-efi <ref-classes-grub-efi>` class for more |
3700 | information on how this variable is used. | 3700 | information on how this variable is used. |
3701 | 3701 | ||
3702 | LAYERDEPENDS | 3702 | LAYERDEPENDS |
@@ -3705,7 +3705,7 @@ system and gives an overview of their function and contents. | |||
3705 | by adding it to the end of the layer name. Here is an example: | 3705 | by adding it to the end of the layer name. Here is an example: |
3706 | LAYERDEPENDS_mylayer = "anotherlayer (=3)" In this previous example, | 3706 | LAYERDEPENDS_mylayer = "anotherlayer (=3)" In this previous example, |
3707 | version 3 of "anotherlayer" is compared against | 3707 | version 3 of "anotherlayer" is compared against |
3708 | ```LAYERVERSION`` <#var-LAYERVERSION>`__\ ``_anotherlayer``. | 3708 | :term:`LAYERVERSION`\ ``_anotherlayer``. |
3709 | 3709 | ||
3710 | An error is produced if any dependency is missing or the version | 3710 | An error is produced if any dependency is missing or the version |
3711 | numbers (if specified) do not match exactly. This variable is used in | 3711 | numbers (if specified) do not match exactly. This variable is used in |
@@ -3733,7 +3733,7 @@ system and gives an overview of their function and contents. | |||
3733 | ``LAYERRECOMMENDS_mylayer``). | 3733 | ``LAYERRECOMMENDS_mylayer``). |
3734 | 3734 | ||
3735 | LAYERSERIES_COMPAT | 3735 | LAYERSERIES_COMPAT |
3736 | Lists the versions of the `OpenEmbedded-Core <#oe-core>`__ for which | 3736 | Lists the versions of the :term:`OpenEmbedded-Core (OE-Core)` for which |
3737 | a layer is compatible. Using the ``LAYERSERIES_COMPAT`` variable | 3737 | a layer is compatible. Using the ``LAYERSERIES_COMPAT`` variable |
3738 | allows the layer maintainer to indicate which combinations of the | 3738 | allows the layer maintainer to indicate which combinations of the |
3739 | layer and OE-Core can be expected to work. The variable gives the | 3739 | layer and OE-Core can be expected to work. The variable gives the |
@@ -3762,7 +3762,7 @@ system and gives an overview of their function and contents. | |||
3762 | 3762 | ||
3763 | LAYERVERSION | 3763 | LAYERVERSION |
3764 | Optionally specifies the version of a layer as a single number. You | 3764 | Optionally specifies the version of a layer as a single number. You |
3765 | can use this within ```LAYERDEPENDS`` <#var-LAYERDEPENDS>`__ for | 3765 | can use this within :term:`LAYERDEPENDS` for |
3766 | another layer in order to depend on a specific version of the layer. | 3766 | another layer in order to depend on a specific version of the layer. |
3767 | This variable is used in the ``conf/layer.conf`` file and must be | 3767 | This variable is used in the ``conf/layer.conf`` file and must be |
3768 | suffixed with the name of the specific layer (e.g. | 3768 | suffixed with the name of the specific layer (e.g. |
@@ -3779,18 +3779,18 @@ system and gives an overview of their function and contents. | |||
3779 | Default initialization for ``LDFLAGS`` varies depending on what is | 3779 | Default initialization for ``LDFLAGS`` varies depending on what is |
3780 | being built: | 3780 | being built: |
3781 | 3781 | ||
3782 | - ```TARGET_LDFLAGS`` <#var-TARGET_LDFLAGS>`__ when building for the | 3782 | - :term:`TARGET_LDFLAGS` when building for the |
3783 | target | 3783 | target |
3784 | 3784 | ||
3785 | - ```BUILD_LDFLAGS`` <#var-BUILD_LDFLAGS>`__ when building for the | 3785 | - :term:`BUILD_LDFLAGS` when building for the |
3786 | build host (i.e. ``-native``) | 3786 | build host (i.e. ``-native``) |
3787 | 3787 | ||
3788 | - ```BUILDSDK_LDFLAGS`` <#var-BUILDSDK_LDFLAGS>`__ when building for | 3788 | - :term:`BUILDSDK_LDFLAGS` when building for |
3789 | an SDK (i.e. ``nativesdk-``) | 3789 | an SDK (i.e. ``nativesdk-``) |
3790 | 3790 | ||
3791 | LEAD_SONAME | 3791 | LEAD_SONAME |
3792 | Specifies the lead (or primary) compiled library file (i.e. ``.so``) | 3792 | Specifies the lead (or primary) compiled library file (i.e. ``.so``) |
3793 | that the ```debian`` <#ref-classes-debian>`__ class applies its | 3793 | that the :ref:`debian <ref-classes-debian>` class applies its |
3794 | naming policy to given a recipe that packages multiple libraries. | 3794 | naming policy to given a recipe that packages multiple libraries. |
3795 | 3795 | ||
3796 | This variable works in conjunction with the ``debian`` class. | 3796 | This variable works in conjunction with the ``debian`` class. |
@@ -3804,7 +3804,7 @@ system and gives an overview of their function and contents. | |||
3804 | license change. | 3804 | license change. |
3805 | 3805 | ||
3806 | This variable must be defined for all recipes (unless | 3806 | This variable must be defined for all recipes (unless |
3807 | ```LICENSE`` <#var-LICENSE>`__ is set to "CLOSED"). | 3807 | :term:`LICENSE` is set to "CLOSED"). |
3808 | 3808 | ||
3809 | For more information, see the "`Tracking License | 3809 | For more information, see the "`Tracking License |
3810 | Changes <&YOCTO_DOCS_DEV_URL;#usingpoky-configuring-LIC_FILES_CHKSUM>`__" | 3810 | Changes <&YOCTO_DOCS_DEV_URL;#usingpoky-configuring-LIC_FILES_CHKSUM>`__" |
@@ -3825,7 +3825,7 @@ system and gives an overview of their function and contents. | |||
3825 | 3825 | ||
3826 | - For standard licenses, use the names of the files in | 3826 | - For standard licenses, use the names of the files in |
3827 | ``meta/files/common-licenses/`` or the | 3827 | ``meta/files/common-licenses/`` or the |
3828 | ```SPDXLICENSEMAP`` <#var-SPDXLICENSEMAP>`__ flag names defined in | 3828 | :term:`SPDXLICENSEMAP` flag names defined in |
3829 | ``meta/conf/licenses.conf``. | 3829 | ``meta/conf/licenses.conf``. |
3830 | 3830 | ||
3831 | Here are some examples: LICENSE = "LGPLv2.1 \| GPLv3" LICENSE = | 3831 | Here are some examples: LICENSE = "LGPLv2.1 \| GPLv3" LICENSE = |
@@ -3847,34 +3847,34 @@ system and gives an overview of their function and contents. | |||
3847 | LICENSE_CREATE_PACKAGE | 3847 | LICENSE_CREATE_PACKAGE |
3848 | Setting ``LICENSE_CREATE_PACKAGE`` to "1" causes the OpenEmbedded | 3848 | Setting ``LICENSE_CREATE_PACKAGE`` to "1" causes the OpenEmbedded |
3849 | build system to create an extra package (i.e. | 3849 | build system to create an extra package (i.e. |
3850 | ``${``\ ```PN`` <#var-PN>`__\ ``}-lic``) for each recipe and to add | 3850 | ``${``\ :term:`PN`\ ``}-lic``) for each recipe and to add |
3851 | those packages to the | 3851 | those packages to the |
3852 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__\ ``_${PN}``. | 3852 | :term:`RRECOMMENDS`\ ``_${PN}``. |
3853 | 3853 | ||
3854 | The ``${PN}-lic`` package installs a directory in | 3854 | The ``${PN}-lic`` package installs a directory in |
3855 | ``/usr/share/licenses`` named ``${PN}``, which is the recipe's base | 3855 | ``/usr/share/licenses`` named ``${PN}``, which is the recipe's base |
3856 | name, and installs files in that directory that contain license and | 3856 | name, and installs files in that directory that contain license and |
3857 | copyright information (i.e. copies of the appropriate license files | 3857 | copyright information (i.e. copies of the appropriate license files |
3858 | from ``meta/common-licenses`` that match the licenses specified in | 3858 | from ``meta/common-licenses`` that match the licenses specified in |
3859 | the ```LICENSE`` <#var-LICENSE>`__ variable of the recipe metadata | 3859 | the :term:`LICENSE` variable of the recipe metadata |
3860 | and copies of files marked in | 3860 | and copies of files marked in |
3861 | ```LIC_FILES_CHKSUM`` <#var-LIC_FILES_CHKSUM>`__ as containing | 3861 | :term:`LIC_FILES_CHKSUM` as containing |
3862 | license text). | 3862 | license text). |
3863 | 3863 | ||
3864 | For related information on providing license text, see the | 3864 | For related information on providing license text, see the |
3865 | ```COPY_LIC_DIRS`` <#var-COPY_LIC_DIRS>`__ variable, the | 3865 | :term:`COPY_LIC_DIRS` variable, the |
3866 | ```COPY_LIC_MANIFEST`` <#var-COPY_LIC_MANIFEST>`__ variable, and the | 3866 | :term:`COPY_LIC_MANIFEST` variable, and the |
3867 | "`Providing License | 3867 | "`Providing License |
3868 | Text <&YOCTO_DOCS_DEV_URL;#providing-license-text>`__" section in the | 3868 | Text <&YOCTO_DOCS_DEV_URL;#providing-license-text>`__" section in the |
3869 | Yocto Project Development Tasks Manual. | 3869 | Yocto Project Development Tasks Manual. |
3870 | 3870 | ||
3871 | LICENSE_FLAGS | 3871 | LICENSE_FLAGS |
3872 | Specifies additional flags for a recipe you must whitelist through | 3872 | Specifies additional flags for a recipe you must whitelist through |
3873 | ```LICENSE_FLAGS_WHITELIST`` <#var-LICENSE_FLAGS_WHITELIST>`__ in | 3873 | :term:`LICENSE_FLAGS_WHITELIST` in |
3874 | order to allow the recipe to be built. When providing multiple flags, | 3874 | order to allow the recipe to be built. When providing multiple flags, |
3875 | separate them with spaces. | 3875 | separate them with spaces. |
3876 | 3876 | ||
3877 | This value is independent of ```LICENSE`` <#var-LICENSE>`__ and is | 3877 | This value is independent of :term:`LICENSE` and is |
3878 | typically used to mark recipes that might require additional licenses | 3878 | typically used to mark recipes that might require additional licenses |
3879 | in order to be used in a commercial product. For more information, | 3879 | in order to be used in a commercial product. For more information, |
3880 | see the "`Enabling Commercially Licensed | 3880 | see the "`Enabling Commercially Licensed |
@@ -3883,7 +3883,7 @@ system and gives an overview of their function and contents. | |||
3883 | 3883 | ||
3884 | LICENSE_FLAGS_WHITELIST | 3884 | LICENSE_FLAGS_WHITELIST |
3885 | Lists license flags that when specified in | 3885 | Lists license flags that when specified in |
3886 | ```LICENSE_FLAGS`` <#var-LICENSE_FLAGS>`__ within a recipe should not | 3886 | :term:`LICENSE_FLAGS` within a recipe should not |
3887 | prevent that recipe from being built. This practice is otherwise | 3887 | prevent that recipe from being built. This practice is otherwise |
3888 | known as "whitelisting" license flags. For more information, see the | 3888 | known as "whitelisting" license flags. For more information, see the |
3889 | "`Enabling Commercially Licensed | 3889 | "`Enabling Commercially Licensed |
@@ -3907,10 +3907,10 @@ system and gives an overview of their function and contents. | |||
3907 | kernel types. | 3907 | kernel types. |
3908 | 3908 | ||
3909 | If you do not specify a ``LINUX_KERNEL_TYPE``, it defaults to | 3909 | If you do not specify a ``LINUX_KERNEL_TYPE``, it defaults to |
3910 | "standard". Together with ```KMACHINE`` <#var-KMACHINE>`__, the | 3910 | "standard". Together with :term:`KMACHINE`, the |
3911 | ``LINUX_KERNEL_TYPE`` variable defines the search arguments used by | 3911 | ``LINUX_KERNEL_TYPE`` variable defines the search arguments used by |
3912 | the kernel tools to find the appropriate description within the | 3912 | the kernel tools to find the appropriate description within the |
3913 | kernel `Metadata <#metadata>`__ with which to build out the sources | 3913 | kernel :term:`Metadata` with which to build out the sources |
3914 | and configuration. | 3914 | and configuration. |
3915 | 3915 | ||
3916 | LINUX_VERSION | 3916 | LINUX_VERSION |
@@ -3921,7 +3921,7 @@ system and gives an overview of their function and contents. | |||
3921 | ``meta/recipes-kernel/linux`` defines the variables as follows: | 3921 | ``meta/recipes-kernel/linux`` defines the variables as follows: |
3922 | LINUX_VERSION ?= "3.4.24" | 3922 | LINUX_VERSION ?= "3.4.24" |
3923 | 3923 | ||
3924 | The ``LINUX_VERSION`` variable is used to define ```PV`` <#var-PV>`__ | 3924 | The ``LINUX_VERSION`` variable is used to define :term:`PV` |
3925 | for the recipe: PV = "${LINUX_VERSION}+git${SRCPV}" | 3925 | for the recipe: PV = "${LINUX_VERSION}+git${SRCPV}" |
3926 | 3926 | ||
3927 | LINUX_VERSION_EXTENSION | 3927 | LINUX_VERSION_EXTENSION |
@@ -3929,7 +3929,7 @@ system and gives an overview of their function and contents. | |||
3929 | kernel built with the OpenEmbedded build system. You define this | 3929 | kernel built with the OpenEmbedded build system. You define this |
3930 | variable in the kernel recipe. For example, the linux-yocto kernel | 3930 | variable in the kernel recipe. For example, the linux-yocto kernel |
3931 | recipes all define the variable as follows: LINUX_VERSION_EXTENSION | 3931 | recipes all define the variable as follows: LINUX_VERSION_EXTENSION |
3932 | ?= "-yocto-${`LINUX_KERNEL_TYPE <#var-LINUX_KERNEL_TYPE>`__}" | 3932 | ?= "-yocto-${:term:`LINUX_KERNEL_TYPE`}" |
3933 | 3933 | ||
3934 | Defining this variable essentially sets the Linux kernel | 3934 | Defining this variable essentially sets the Linux kernel |
3935 | configuration item ``CONFIG_LOCALVERSION``, which is visible through | 3935 | configuration item ``CONFIG_LOCALVERSION``, which is visible through |
@@ -3941,7 +3941,7 @@ system and gives an overview of their function and contents. | |||
3941 | overall log files. The default directory is ``${TMPDIR}/log``. | 3941 | overall log files. The default directory is ``${TMPDIR}/log``. |
3942 | 3942 | ||
3943 | For the directory containing logs specific to each task, see the | 3943 | For the directory containing logs specific to each task, see the |
3944 | ```T`` <#var-T>`__ variable. | 3944 | :term:`T` variable. |
3945 | 3945 | ||
3946 | MACHINE | 3946 | MACHINE |
3947 | Specifies the target device for which the image is built. You define | 3947 | Specifies the target device for which the image is built. You define |
@@ -3954,7 +3954,7 @@ system and gives an overview of their function and contents. | |||
3954 | name, through which machine-specific configurations are set. Thus, | 3954 | name, through which machine-specific configurations are set. Thus, |
3955 | when ``MACHINE`` is set to "qemux86" there exists the corresponding | 3955 | when ``MACHINE`` is set to "qemux86" there exists the corresponding |
3956 | ``qemux86.conf`` machine configuration file, which can be found in | 3956 | ``qemux86.conf`` machine configuration file, which can be found in |
3957 | the `Source Directory <#source-directory>`__ in | 3957 | the :term:`Source Directory` in |
3958 | ``meta/conf/machine``. | 3958 | ``meta/conf/machine``. |
3959 | 3959 | ||
3960 | The list of machines supported by the Yocto Project as shipped | 3960 | The list of machines supported by the Yocto Project as shipped |
@@ -3974,8 +3974,8 @@ system and gives an overview of their function and contents. | |||
3974 | 3974 | ||
3975 | MACHINE_ARCH | 3975 | MACHINE_ARCH |
3976 | Specifies the name of the machine-specific architecture. This | 3976 | Specifies the name of the machine-specific architecture. This |
3977 | variable is set automatically from ```MACHINE`` <#var-MACHINE>`__ or | 3977 | variable is set automatically from :term:`MACHINE` or |
3978 | ```TUNE_PKGARCH`` <#var-TUNE_PKGARCH>`__. You should not hand-edit | 3978 | :term:`TUNE_PKGARCH`. You should not hand-edit |
3979 | the ``MACHINE_ARCH`` variable. | 3979 | the ``MACHINE_ARCH`` variable. |
3980 | 3980 | ||
3981 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS | 3981 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS |
@@ -4094,11 +4094,11 @@ system and gives an overview of their function and contents. | |||
4094 | 4094 | ||
4095 | MACHINE_FEATURES | 4095 | MACHINE_FEATURES |
4096 | Specifies the list of hardware features the | 4096 | Specifies the list of hardware features the |
4097 | ```MACHINE`` <#var-MACHINE>`__ is capable of supporting. For related | 4097 | :term:`MACHINE` is capable of supporting. For related |
4098 | information on enabling features, see the | 4098 | information on enabling features, see the |
4099 | ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__, | 4099 | :term:`DISTRO_FEATURES`, |
4100 | ```COMBINED_FEATURES`` <#var-COMBINED_FEATURES>`__, and | 4100 | :term:`COMBINED_FEATURES`, and |
4101 | ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__ variables. | 4101 | :term:`IMAGE_FEATURES` variables. |
4102 | 4102 | ||
4103 | For a list of hardware features supported by the Yocto Project as | 4103 | For a list of hardware features supported by the Yocto Project as |
4104 | shipped, see the "`Machine Features <#ref-features-machine>`__" | 4104 | shipped, see the "`Machine Features <#ref-features-machine>`__" |
@@ -4124,7 +4124,7 @@ system and gives an overview of their function and contents. | |||
4124 | MACHINEOVERRIDES | 4124 | MACHINEOVERRIDES |
4125 | A colon-separated list of overrides that apply to the current | 4125 | A colon-separated list of overrides that apply to the current |
4126 | machine. By default, this list includes the value of | 4126 | machine. By default, this list includes the value of |
4127 | ```MACHINE`` <#var-MACHINE>`__. | 4127 | :term:`MACHINE`. |
4128 | 4128 | ||
4129 | You can extend ``MACHINEOVERRIDES`` to add extra overrides that | 4129 | You can extend ``MACHINEOVERRIDES`` to add extra overrides that |
4130 | should apply to a machine. For example, all machines emulated in QEMU | 4130 | should apply to a machine. For example, all machines emulated in QEMU |
@@ -4136,7 +4136,7 @@ system and gives an overview of their function and contents. | |||
4136 | recipe: SRC_URI_append_qemuall = "file://wired.config \\ | 4136 | recipe: SRC_URI_append_qemuall = "file://wired.config \\ |
4137 | file://wired-setup \\ " The underlying mechanism behind | 4137 | file://wired-setup \\ " The underlying mechanism behind |
4138 | ``MACHINEOVERRIDES`` is simply that it is included in the default | 4138 | ``MACHINEOVERRIDES`` is simply that it is included in the default |
4139 | value of ```OVERRIDES`` <#var-OVERRIDES>`__. | 4139 | value of :term:`OVERRIDES`. |
4140 | 4140 | ||
4141 | MAINTAINER | 4141 | MAINTAINER |
4142 | The email address of the distribution maintainer. | 4142 | The email address of the distribution maintainer. |
@@ -4146,18 +4146,18 @@ system and gives an overview of their function and contents. | |||
4146 | gets source code. When the build system searches for source code, it | 4146 | gets source code. When the build system searches for source code, it |
4147 | first tries the local download directory. If that location fails, the | 4147 | first tries the local download directory. If that location fails, the |
4148 | build system tries locations defined by | 4148 | build system tries locations defined by |
4149 | ```PREMIRRORS`` <#var-PREMIRRORS>`__, the upstream source, and then | 4149 | :term:`PREMIRRORS`, the upstream source, and then |
4150 | locations specified by ``MIRRORS`` in that order. | 4150 | locations specified by ``MIRRORS`` in that order. |
4151 | 4151 | ||
4152 | Assuming your distribution (```DISTRO`` <#var-DISTRO>`__) is "poky", | 4152 | Assuming your distribution (:term:`DISTRO`) is "poky", |
4153 | the default value for ``MIRRORS`` is defined in the | 4153 | the default value for ``MIRRORS`` is defined in the |
4154 | ``conf/distro/poky.conf`` file in the ``meta-poky`` Git repository. | 4154 | ``conf/distro/poky.conf`` file in the ``meta-poky`` Git repository. |
4155 | 4155 | ||
4156 | MLPREFIX | 4156 | MLPREFIX |
4157 | Specifies a prefix has been added to ```PN`` <#var-PN>`__ to create a | 4157 | Specifies a prefix has been added to :term:`PN` to create a |
4158 | special version of a recipe or package (i.e. a Multilib version). The | 4158 | special version of a recipe or package (i.e. a Multilib version). The |
4159 | variable is used in places where the prefix needs to be added to or | 4159 | variable is used in places where the prefix needs to be added to or |
4160 | removed from a the name (e.g. the ```BPN`` <#var-BPN>`__ variable). | 4160 | removed from a the name (e.g. the :term:`BPN` variable). |
4161 | ``MLPREFIX`` gets set when a prefix has been added to ``PN``. | 4161 | ``MLPREFIX`` gets set when a prefix has been added to ``PN``. |
4162 | 4162 | ||
4163 | .. note:: | 4163 | .. note:: |
@@ -4174,10 +4174,10 @@ system and gives an overview of their function and contents. | |||
4174 | for it as well. | 4174 | for it as well. |
4175 | 4175 | ||
4176 | To help understand when ``MLPREFIX`` might be needed, consider when | 4176 | To help understand when ``MLPREFIX`` might be needed, consider when |
4177 | ```BBCLASSEXTEND`` <#var-BBCLASSEXTEND>`__ is used to provide a | 4177 | :term:`BBCLASSEXTEND` is used to provide a |
4178 | ``nativesdk`` version of a recipe in addition to the target version. | 4178 | ``nativesdk`` version of a recipe in addition to the target version. |
4179 | If that recipe declares build-time dependencies on tasks in other | 4179 | If that recipe declares build-time dependencies on tasks in other |
4180 | recipes by using ```DEPENDS`` <#var-DEPENDS>`__, then a dependency on | 4180 | recipes by using :term:`DEPENDS`, then a dependency on |
4181 | "foo" will automatically get rewritten to a dependency on | 4181 | "foo" will automatically get rewritten to a dependency on |
4182 | "nativesdk-foo". However, dependencies like the following will not | 4182 | "nativesdk-foo". However, dependencies like the following will not |
4183 | get rewritten automatically: do_foo[depends] += "recipe:do_foo" If | 4183 | get rewritten automatically: do_foo[depends] += "recipe:do_foo" If |
@@ -4191,7 +4191,7 @@ system and gives an overview of their function and contents. | |||
4191 | module_autoload_rfcomm = "rfcomm" | 4191 | module_autoload_rfcomm = "rfcomm" |
4192 | 4192 | ||
4193 | should now be replaced with: KERNEL_MODULE_AUTOLOAD += "rfcomm" See | 4193 | should now be replaced with: KERNEL_MODULE_AUTOLOAD += "rfcomm" See |
4194 | the ```KERNEL_MODULE_AUTOLOAD`` <#var-KERNEL_MODULE_AUTOLOAD>`__ | 4194 | the :term:`KERNEL_MODULE_AUTOLOAD` |
4195 | variable for more information. | 4195 | variable for more information. |
4196 | 4196 | ||
4197 | module_conf | 4197 | module_conf |
@@ -4204,7 +4204,7 @@ system and gives an overview of their function and contents. | |||
4204 | configuration file, a distribution configuration file, an append file | 4204 | configuration file, a distribution configuration file, an append file |
4205 | for the recipe, or the recipe itself). If you use this variable, you | 4205 | for the recipe, or the recipe itself). If you use this variable, you |
4206 | must also be sure to list the module name in the | 4206 | must also be sure to list the module name in the |
4207 | ```KERNEL_MODULE_AUTOLOAD`` <#var-KERNEL_MODULE_AUTOLOAD>`__ | 4207 | :term:`KERNEL_MODULE_AUTOLOAD` |
4208 | variable. | 4208 | variable. |
4209 | 4209 | ||
4210 | Here is the general syntax: module_conf_module_name = | 4210 | Here is the general syntax: module_conf_module_name = |
@@ -4221,7 +4221,7 @@ system and gives an overview of their function and contents. | |||
4221 | 4221 | ||
4222 | For information on how to specify kernel modules to auto-load on | 4222 | For information on how to specify kernel modules to auto-load on |
4223 | boot, see the | 4223 | boot, see the |
4224 | ```KERNEL_MODULE_AUTOLOAD`` <#var-KERNEL_MODULE_AUTOLOAD>`__ | 4224 | :term:`KERNEL_MODULE_AUTOLOAD` |
4225 | variable. | 4225 | variable. |
4226 | 4226 | ||
4227 | MODULE_TARBALL_DEPLOY | 4227 | MODULE_TARBALL_DEPLOY |
@@ -4237,14 +4237,14 @@ system and gives an overview of their function and contents. | |||
4237 | same file, has the following value: KERNEL_ARTIFACT_LINK_NAME ?= | 4237 | same file, has the following value: KERNEL_ARTIFACT_LINK_NAME ?= |
4238 | "${MACHINE}" | 4238 | "${MACHINE}" |
4239 | 4239 | ||
4240 | See the ```MACHINE`` <#var-MACHINE>`__ variable for additional | 4240 | See the :term:`MACHINE` variable for additional |
4241 | information. | 4241 | information. |
4242 | 4242 | ||
4243 | MODULE_TARBALL_NAME | 4243 | MODULE_TARBALL_NAME |
4244 | The base name of the kernel module tarball. This variable is set in | 4244 | The base name of the kernel module tarball. This variable is set in |
4245 | the ``meta/classes/kernel-artifact-names.bbclass`` file as follows: | 4245 | the ``meta/classes/kernel-artifact-names.bbclass`` file as follows: |
4246 | MODULE_TARBALL_NAME ?= "${KERNEL_ARTIFACT_NAME}" The value of the | 4246 | MODULE_TARBALL_NAME ?= "${KERNEL_ARTIFACT_NAME}" The value of the |
4247 | ```KERNEL_ARTIFACT_NAME`` <#var-KERNEL_ARTIFACT_NAME>`__ variable, | 4247 | :term:`KERNEL_ARTIFACT_NAME` variable, |
4248 | which is set in the same file, has the following value: | 4248 | which is set in the same file, has the following value: |
4249 | KERNEL_ARTIFACT_NAME ?= | 4249 | KERNEL_ARTIFACT_NAME ?= |
4250 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 4250 | "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
@@ -4257,11 +4257,11 @@ system and gives an overview of their function and contents. | |||
4257 | 4257 | ||
4258 | The default value of this variable is: | 4258 | The default value of this variable is: |
4259 | ${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS} Some classes (e.g. | 4259 | ${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS} Some classes (e.g. |
4260 | ```cross-canadian`` <#ref-classes-cross-canadian>`__) modify the | 4260 | :ref:`cross-canadian <ref-classes-cross-canadian>`) modify the |
4261 | ``MULTIMACH_TARGET_SYS`` value. | 4261 | ``MULTIMACH_TARGET_SYS`` value. |
4262 | 4262 | ||
4263 | See the ```STAMP`` <#var-STAMP>`__ variable for an example. See the | 4263 | See the :term:`STAMP` variable for an example. See the |
4264 | ```STAGING_DIR_TARGET`` <#var-STAGING_DIR_TARGET>`__ variable for | 4264 | :term:`STAGING_DIR_TARGET` variable for |
4265 | more information. | 4265 | more information. |
4266 | 4266 | ||
4267 | NATIVELSBSTRING | 4267 | NATIVELSBSTRING |
@@ -4276,7 +4276,7 @@ system and gives an overview of their function and contents. | |||
4276 | packages for different distributions (e.g. to avoid problems with | 4276 | packages for different distributions (e.g. to avoid problems with |
4277 | ``glibc`` version incompatibilities). Additionally, the variable is | 4277 | ``glibc`` version incompatibilities). Additionally, the variable is |
4278 | checked against | 4278 | checked against |
4279 | ```SANITY_TESTED_DISTROS`` <#var-SANITY_TESTED_DISTROS>`__ if that | 4279 | :term:`SANITY_TESTED_DISTROS` if that |
4280 | variable is set. | 4280 | variable is set. |
4281 | 4281 | ||
4282 | NM | 4282 | NM |
@@ -4300,7 +4300,7 @@ system and gives an overview of their function and contents. | |||
4300 | NO_RECOMMENDATIONS | 4300 | NO_RECOMMENDATIONS |
4301 | Prevents installation of all "recommended-only" packages. | 4301 | Prevents installation of all "recommended-only" packages. |
4302 | Recommended-only packages are packages installed only through the | 4302 | Recommended-only packages are packages installed only through the |
4303 | ```RRECOMMENDS`` <#var-RRECOMMENDS>`__ variable). Setting the | 4303 | :term:`RRECOMMENDS` variable). Setting the |
4304 | ``NO_RECOMMENDATIONS`` variable to "1" turns this feature on: | 4304 | ``NO_RECOMMENDATIONS`` variable to "1" turns this feature on: |
4305 | NO_RECOMMENDATIONS = "1" | 4305 | NO_RECOMMENDATIONS = "1" |
4306 | 4306 | ||
@@ -4310,7 +4310,7 @@ system and gives an overview of their function and contents. | |||
4310 | 4310 | ||
4311 | It is important to realize that if you choose to not install packages | 4311 | It is important to realize that if you choose to not install packages |
4312 | using this variable and some other packages are dependent on them | 4312 | using this variable and some other packages are dependent on them |
4313 | (i.e. listed in a recipe's ```RDEPENDS`` <#var-RDEPENDS>`__ | 4313 | (i.e. listed in a recipe's :term:`RDEPENDS` |
4314 | variable), the OpenEmbedded build system ignores your request and | 4314 | variable), the OpenEmbedded build system ignores your request and |
4315 | will install the packages to avoid dependency errors. | 4315 | will install the packages to avoid dependency errors. |
4316 | 4316 | ||
@@ -4325,8 +4325,8 @@ system and gives an overview of their function and contents. | |||
4325 | Support for this variable exists only when using the IPK and RPM | 4325 | Support for this variable exists only when using the IPK and RPM |
4326 | packaging backend. Support does not exist for DEB. | 4326 | packaging backend. Support does not exist for DEB. |
4327 | 4327 | ||
4328 | See the ```BAD_RECOMMENDATIONS`` <#var-BAD_RECOMMENDATIONS>`__ and | 4328 | See the :term:`BAD_RECOMMENDATIONS` and |
4329 | the ```PACKAGE_EXCLUDE`` <#var-PACKAGE_EXCLUDE>`__ variables for | 4329 | the :term:`PACKAGE_EXCLUDE` variables for |
4330 | related information. | 4330 | related information. |
4331 | 4331 | ||
4332 | NOAUTOPACKAGEDEBUG | 4332 | NOAUTOPACKAGEDEBUG |
@@ -4345,7 +4345,7 @@ system and gives an overview of their function and contents. | |||
4345 | The minimal command and arguments to run ``objdump``. | 4345 | The minimal command and arguments to run ``objdump``. |
4346 | 4346 | ||
4347 | OE_BINCONFIG_EXTRA_MANGLE | 4347 | OE_BINCONFIG_EXTRA_MANGLE |
4348 | When inheriting the ```binconfig`` <#ref-classes-binconfig>`__ class, | 4348 | When inheriting the :ref:`binconfig <ref-classes-binconfig>` class, |
4349 | this variable specifies additional arguments passed to the "sed" | 4349 | this variable specifies additional arguments passed to the "sed" |
4350 | command. The sed command alters any paths in configuration scripts | 4350 | command. The sed command alters any paths in configuration scripts |
4351 | that have been set up during compilation. Inheriting this class | 4351 | that have been set up during compilation. Inheriting this class |
@@ -4357,7 +4357,7 @@ system and gives an overview of their function and contents. | |||
4357 | Directory <#source-directory>`__ for details on how this class | 4357 | Directory <#source-directory>`__ for details on how this class |
4358 | applies these additional sed command arguments. For general | 4358 | applies these additional sed command arguments. For general |
4359 | information on the ``binconfig`` class, see the | 4359 | information on the ``binconfig`` class, see the |
4360 | "```binconfig.bbclass`` <#ref-classes-binconfig>`__" section. | 4360 | ":ref:`binconfig.bbclass <ref-classes-binconfig>`" section. |
4361 | 4361 | ||
4362 | OE_IMPORTS | 4362 | OE_IMPORTS |
4363 | An internal variable used to tell the OpenEmbedded build system what | 4363 | An internal variable used to tell the OpenEmbedded build system what |
@@ -4424,9 +4424,9 @@ system and gives an overview of their function and contents. | |||
4424 | overrides mechanism. | 4424 | overrides mechanism. |
4425 | 4425 | ||
4426 | The default value of ``OVERRIDES`` includes the values of the | 4426 | The default value of ``OVERRIDES`` includes the values of the |
4427 | ```CLASSOVERRIDE`` <#var-CLASSOVERRIDE>`__, | 4427 | :term:`CLASSOVERRIDE`, |
4428 | ```MACHINEOVERRIDES`` <#var-MACHINEOVERRIDES>`__, and | 4428 | :term:`MACHINEOVERRIDES`, and |
4429 | ```DISTROOVERRIDES`` <#var-DISTROOVERRIDES>`__ variables. Another | 4429 | :term:`DISTROOVERRIDES` variables. Another |
4430 | important override included by default is ``pn-${PN}``. This override | 4430 | important override included by default is ``pn-${PN}``. This override |
4431 | allows variables to be set for a single recipe within configuration | 4431 | allows variables to be set for a single recipe within configuration |
4432 | (``.conf``) files. Here is an example: FOO_pn-myrecipe = | 4432 | (``.conf``) files. Here is an example: FOO_pn-myrecipe = |
@@ -4468,8 +4468,8 @@ system and gives an overview of their function and contents. | |||
4468 | The architecture of the resulting package or packages. | 4468 | The architecture of the resulting package or packages. |
4469 | 4469 | ||
4470 | By default, the value of this variable is set to | 4470 | By default, the value of this variable is set to |
4471 | ```TUNE_PKGARCH`` <#var-TUNE_PKGARCH>`__ when building for the | 4471 | :term:`TUNE_PKGARCH` when building for the |
4472 | target, ```BUILD_ARCH`` <#var-BUILD_ARCH>`__ when building for the | 4472 | target, :term:`BUILD_ARCH` when building for the |
4473 | build host, and "${SDK_ARCH}-${SDKPKGSUFFIX}" when building for the | 4473 | build host, and "${SDK_ARCH}-${SDKPKGSUFFIX}" when building for the |
4474 | SDK. | 4474 | SDK. |
4475 | 4475 | ||
@@ -4482,7 +4482,7 @@ system and gives an overview of their function and contents. | |||
4482 | However, if your recipe's output packages are built specific to the | 4482 | However, if your recipe's output packages are built specific to the |
4483 | target machine rather than generally for the architecture of the | 4483 | target machine rather than generally for the architecture of the |
4484 | machine, you should set ``PACKAGE_ARCH`` to the value of | 4484 | machine, you should set ``PACKAGE_ARCH`` to the value of |
4485 | ```MACHINE_ARCH`` <#var-MACHINE_ARCH>`__ in the recipe as follows: | 4485 | :term:`MACHINE_ARCH` in the recipe as follows: |
4486 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 4486 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
4487 | 4487 | ||
4488 | PACKAGE_ARCHS | 4488 | PACKAGE_ARCHS |
@@ -4524,7 +4524,7 @@ system and gives an overview of their function and contents. | |||
4524 | 4524 | ||
4525 | For information on packaging and build performance effects as a | 4525 | For information on packaging and build performance effects as a |
4526 | result of the package manager in use, see the | 4526 | result of the package manager in use, see the |
4527 | "```package.bbclass`` <#ref-classes-package>`__" section. | 4527 | ":ref:`package.bbclass <ref-classes-package>`" section. |
4528 | 4528 | ||
4529 | PACKAGE_DEBUG_SPLIT_STYLE | 4529 | PACKAGE_DEBUG_SPLIT_STYLE |
4530 | Determines how to split up the binary and debug information when | 4530 | Determines how to split up the binary and debug information when |
@@ -4566,7 +4566,7 @@ system and gives an overview of their function and contents. | |||
4566 | 4566 | ||
4567 | You might find that you want to prevent installing certain packages | 4567 | You might find that you want to prevent installing certain packages |
4568 | when you are installing complementary packages. For example, if you | 4568 | when you are installing complementary packages. For example, if you |
4569 | are using ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__ to install | 4569 | are using :term:`IMAGE_FEATURES` to install |
4570 | ``dev-pkgs``, you might not want to install all packages from a | 4570 | ``dev-pkgs``, you might not want to install all packages from a |
4571 | particular multilib. If you find yourself in this situation, you can | 4571 | particular multilib. If you find yourself in this situation, you can |
4572 | use the ``PACKAGE_EXCLUDE_COMPLEMENTARY`` variable to specify regular | 4572 | use the ``PACKAGE_EXCLUDE_COMPLEMENTARY`` variable to specify regular |
@@ -4583,7 +4583,7 @@ system and gives an overview of their function and contents. | |||
4583 | 4583 | ||
4584 | If you choose to not install a package using this variable and some | 4584 | If you choose to not install a package using this variable and some |
4585 | other package is dependent on it (i.e. listed in a recipe's | 4585 | other package is dependent on it (i.e. listed in a recipe's |
4586 | ```RDEPENDS`` <#var-RDEPENDS>`__ variable), the OpenEmbedded build | 4586 | :term:`RDEPENDS` variable), the OpenEmbedded build |
4587 | system generates a fatal installation error. Because the build system | 4587 | system generates a fatal installation error. Because the build system |
4588 | halts the process with a fatal error, you can use the variable with | 4588 | halts the process with a fatal error, you can use the variable with |
4589 | an iterative development process to remove specific components from a | 4589 | an iterative development process to remove specific components from a |
@@ -4592,8 +4592,8 @@ system and gives an overview of their function and contents. | |||
4592 | Support for this variable exists only when using the IPK and RPM | 4592 | Support for this variable exists only when using the IPK and RPM |
4593 | packaging backend. Support does not exist for DEB. | 4593 | packaging backend. Support does not exist for DEB. |
4594 | 4594 | ||
4595 | See the ```NO_RECOMMENDATIONS`` <#var-NO_RECOMMENDATIONS>`__ and the | 4595 | See the :term:`NO_RECOMMENDATIONS` and the |
4596 | ```BAD_RECOMMENDATIONS`` <#var-BAD_RECOMMENDATIONS>`__ variables for | 4596 | :term:`BAD_RECOMMENDATIONS` variables for |
4597 | related information. | 4597 | related information. |
4598 | 4598 | ||
4599 | PACKAGE_EXTRA_ARCHS | 4599 | PACKAGE_EXTRA_ARCHS |
@@ -4606,8 +4606,8 @@ system and gives an overview of their function and contents. | |||
4606 | package feed URIs during the build. When used, the | 4606 | package feed URIs during the build. When used, the |
4607 | ``PACKAGE_FEED_ARCHS`` variable is appended to the final package feed | 4607 | ``PACKAGE_FEED_ARCHS`` variable is appended to the final package feed |
4608 | URI, which is constructed using the | 4608 | URI, which is constructed using the |
4609 | ```PACKAGE_FEED_URIS`` <#var-PACKAGE_FEED_URIS>`__ and | 4609 | :term:`PACKAGE_FEED_URIS` and |
4610 | ```PACKAGE_FEED_BASE_PATHS`` <#var-PACKAGE_FEED_BASE_PATHS>`__ | 4610 | :term:`PACKAGE_FEED_BASE_PATHS` |
4611 | variables. | 4611 | variables. |
4612 | 4612 | ||
4613 | .. note:: | 4613 | .. note:: |
@@ -4640,8 +4640,8 @@ system and gives an overview of their function and contents. | |||
4640 | Specifies the base path used when constructing package feed URIs. The | 4640 | Specifies the base path used when constructing package feed URIs. The |
4641 | ``PACKAGE_FEED_BASE_PATHS`` variable makes up the middle portion of a | 4641 | ``PACKAGE_FEED_BASE_PATHS`` variable makes up the middle portion of a |
4642 | package feed URI used by the OpenEmbedded build system. The base path | 4642 | package feed URI used by the OpenEmbedded build system. The base path |
4643 | lies between the ```PACKAGE_FEED_URIS`` <#var-PACKAGE_FEED_URIS>`__ | 4643 | lies between the :term:`PACKAGE_FEED_URIS` |
4644 | and ```PACKAGE_FEED_ARCHS`` <#var-PACKAGE_FEED_ARCHS>`__ variables. | 4644 | and :term:`PACKAGE_FEED_ARCHS` variables. |
4645 | 4645 | ||
4646 | Consider the following example where the ``PACKAGE_FEED_URIS``, | 4646 | Consider the following example where the ``PACKAGE_FEED_URIS``, |
4647 | ``PACKAGE_FEED_BASE_PATHS``, and ``PACKAGE_FEED_ARCHS`` variables are | 4647 | ``PACKAGE_FEED_BASE_PATHS``, and ``PACKAGE_FEED_ARCHS`` variables are |
@@ -4663,8 +4663,8 @@ system and gives an overview of their function and contents. | |||
4663 | Specifies the front portion of the package feed URI used by the | 4663 | Specifies the front portion of the package feed URI used by the |
4664 | OpenEmbedded build system. Each final package feed URI is comprised | 4664 | OpenEmbedded build system. Each final package feed URI is comprised |
4665 | of ``PACKAGE_FEED_URIS``, | 4665 | of ``PACKAGE_FEED_URIS``, |
4666 | ```PACKAGE_FEED_BASE_PATHS`` <#var-PACKAGE_FEED_BASE_PATHS>`__, and | 4666 | :term:`PACKAGE_FEED_BASE_PATHS`, and |
4667 | ```PACKAGE_FEED_ARCHS`` <#var-PACKAGE_FEED_ARCHS>`__ variables. | 4667 | :term:`PACKAGE_FEED_ARCHS` variables. |
4668 | 4668 | ||
4669 | Consider the following example where the ``PACKAGE_FEED_URIS``, | 4669 | Consider the following example where the ``PACKAGE_FEED_URIS``, |
4670 | ``PACKAGE_FEED_BASE_PATHS``, and ``PACKAGE_FEED_ARCHS`` variables are | 4670 | ``PACKAGE_FEED_BASE_PATHS``, and ``PACKAGE_FEED_ARCHS`` variables are |
@@ -4691,7 +4691,7 @@ system and gives an overview of their function and contents. | |||
4691 | not the final list of packages that are actually installed. This | 4691 | not the final list of packages that are actually installed. This |
4692 | variable is internal to the image construction code. Consequently, in | 4692 | variable is internal to the image construction code. Consequently, in |
4693 | general, you should use the | 4693 | general, you should use the |
4694 | ```IMAGE_INSTALL`` <#var-IMAGE_INSTALL>`__ variable to specify | 4694 | :term:`IMAGE_INSTALL` variable to specify |
4695 | packages for installation. The exception to this is when working with | 4695 | packages for installation. The exception to this is when working with |
4696 | the | 4696 | the |
4697 | ```core-image-minimal-initramfs`` <#images-core-image-minimal-initramfs>`__ | 4697 | ```core-image-minimal-initramfs`` <#images-core-image-minimal-initramfs>`__ |
@@ -4709,7 +4709,7 @@ system and gives an overview of their function and contents. | |||
4709 | 4709 | ||
4710 | PACKAGE_PREPROCESS_FUNCS | 4710 | PACKAGE_PREPROCESS_FUNCS |
4711 | Specifies a list of functions run to pre-process the | 4711 | Specifies a list of functions run to pre-process the |
4712 | ```PKGD`` <#var-PKGD>`__ directory prior to splitting the files out | 4712 | :term:`PKGD` directory prior to splitting the files out |
4713 | to individual packages. | 4713 | to individual packages. |
4714 | 4714 | ||
4715 | PACKAGE_WRITE_DEPS | 4715 | PACKAGE_WRITE_DEPS |
@@ -4744,21 +4744,21 @@ system and gives an overview of their function and contents. | |||
4744 | order is important and specifies the following: | 4744 | order is important and specifies the following: |
4745 | 4745 | ||
4746 | 1. Extra arguments that should be added to the configure script | 4746 | 1. Extra arguments that should be added to the configure script |
4747 | argument list (```EXTRA_OECONF`` <#var-EXTRA_OECONF>`__ or | 4747 | argument list (:term:`EXTRA_OECONF` or |
4748 | ```PACKAGECONFIG_CONFARGS`` <#var-PACKAGECONFIG_CONFARGS>`__) if | 4748 | :term:`PACKAGECONFIG_CONFARGS`) if |
4749 | the feature is enabled. | 4749 | the feature is enabled. |
4750 | 4750 | ||
4751 | 2. Extra arguments that should be added to ``EXTRA_OECONF`` or | 4751 | 2. Extra arguments that should be added to ``EXTRA_OECONF`` or |
4752 | ``PACKAGECONFIG_CONFARGS`` if the feature is disabled. | 4752 | ``PACKAGECONFIG_CONFARGS`` if the feature is disabled. |
4753 | 4753 | ||
4754 | 3. Additional build dependencies (```DEPENDS`` <#var-DEPENDS>`__) | 4754 | 3. Additional build dependencies (:term:`DEPENDS`) |
4755 | that should be added if the feature is enabled. | 4755 | that should be added if the feature is enabled. |
4756 | 4756 | ||
4757 | 4. Additional runtime dependencies (```RDEPENDS`` <#var-RDEPENDS>`__) | 4757 | 4. Additional runtime dependencies (:term:`RDEPENDS`) |
4758 | that should be added if the feature is enabled. | 4758 | that should be added if the feature is enabled. |
4759 | 4759 | ||
4760 | 5. Additional runtime recommendations | 4760 | 5. Additional runtime recommendations |
4761 | (```RRECOMMENDS`` <#var-RRECOMMENDS>`__) that should be added if | 4761 | (:term:`RRECOMMENDS`) that should be added if |
4762 | the feature is enabled. | 4762 | the feature is enabled. |
4763 | 4763 | ||
4764 | 6. Any conflicting (that is, mutually exclusive) ``PACKAGECONFIG`` | 4764 | 6. Any conflicting (that is, mutually exclusive) ``PACKAGECONFIG`` |
@@ -4797,10 +4797,10 @@ system and gives an overview of their function and contents. | |||
4797 | 4797 | ||
4798 | PACKAGECONFIG_CONFARGS | 4798 | PACKAGECONFIG_CONFARGS |
4799 | A space-separated list of configuration options generated from the | 4799 | A space-separated list of configuration options generated from the |
4800 | ```PACKAGECONFIG`` <#var-PACKAGECONFIG>`__ setting. | 4800 | :term:`PACKAGECONFIG` setting. |
4801 | 4801 | ||
4802 | Classes such as ```autotools`` <#ref-classes-autotools>`__ and | 4802 | Classes such as :ref:`autotools <ref-classes-autotools>` and |
4803 | ```cmake`` <#ref-classes-cmake>`__ use ``PACKAGECONFIG_CONFARGS`` to | 4803 | :ref:`cmake <ref-classes-cmake>` use ``PACKAGECONFIG_CONFARGS`` to |
4804 | pass ``PACKAGECONFIG`` options to ``configure`` and ``cmake``, | 4804 | pass ``PACKAGECONFIG`` options to ``configure`` and ``cmake``, |
4805 | respectively. If you are using ``PACKAGECONFIG`` but not a class that | 4805 | respectively. If you are using ``PACKAGECONFIG`` but not a class that |
4806 | handles the ``do_configure`` task, then you need to use | 4806 | handles the ``do_configure`` task, then you need to use |
@@ -4808,7 +4808,7 @@ system and gives an overview of their function and contents. | |||
4808 | 4808 | ||
4809 | PACKAGEGROUP_DISABLE_COMPLEMENTARY | 4809 | PACKAGEGROUP_DISABLE_COMPLEMENTARY |
4810 | For recipes inheriting the | 4810 | For recipes inheriting the |
4811 | ```packagegroup`` <#ref-classes-packagegroup>`__ class, setting | 4811 | :ref:`packagegroup <ref-classes-packagegroup>` class, setting |
4812 | ``PACKAGEGROUP_DISABLE_COMPLEMENTARY`` to "1" specifies that the | 4812 | ``PACKAGEGROUP_DISABLE_COMPLEMENTARY`` to "1" specifies that the |
4813 | normal complementary packages (i.e. ``-dev``, ``-dbg``, and so forth) | 4813 | normal complementary packages (i.e. ``-dev``, ``-dbg``, and so forth) |
4814 | should not be automatically created by the ``packagegroup`` recipe, | 4814 | should not be automatically created by the ``packagegroup`` recipe, |
@@ -4819,8 +4819,8 @@ system and gives an overview of their function and contents. | |||
4819 | following: ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale | 4819 | following: ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale |
4820 | ${PACKAGE_BEFORE_PN} ${PN} | 4820 | ${PACKAGE_BEFORE_PN} ${PN} |
4821 | 4821 | ||
4822 | During packaging, the ```do_package`` <#ref-tasks-package>`__ task | 4822 | During packaging, the :ref:`ref-tasks-package` task |
4823 | goes through ``PACKAGES`` and uses the ```FILES`` <#var-FILES>`__ | 4823 | goes through ``PACKAGES`` and uses the :term:`FILES` |
4824 | variable corresponding to each package to assign files to the | 4824 | variable corresponding to each package to assign files to the |
4825 | package. If a file matches the ``FILES`` variable for more than one | 4825 | package. If a file matches the ``FILES`` variable for more than one |
4826 | package in ``PACKAGES``, it will be assigned to the earliest | 4826 | package in ``PACKAGES``, it will be assigned to the earliest |
@@ -4828,26 +4828,26 @@ system and gives an overview of their function and contents. | |||
4828 | 4828 | ||
4829 | Packages in the variable's list that are empty (i.e. where none of | 4829 | Packages in the variable's list that are empty (i.e. where none of |
4830 | the patterns in ``FILES_``\ pkg match any files installed by the | 4830 | the patterns in ``FILES_``\ pkg match any files installed by the |
4831 | ```do_install`` <#ref-tasks-install>`__ task) are not generated, | 4831 | :ref:`ref-tasks-install` task) are not generated, |
4832 | unless generation is forced through the | 4832 | unless generation is forced through the |
4833 | ```ALLOW_EMPTY`` <#var-ALLOW_EMPTY>`__ variable. | 4833 | :term:`ALLOW_EMPTY` variable. |
4834 | 4834 | ||
4835 | PACKAGES_DYNAMIC | 4835 | PACKAGES_DYNAMIC |
4836 | A promise that your recipe satisfies runtime dependencies for | 4836 | A promise that your recipe satisfies runtime dependencies for |
4837 | optional modules that are found in other recipes. | 4837 | optional modules that are found in other recipes. |
4838 | ``PACKAGES_DYNAMIC`` does not actually satisfy the dependencies, it | 4838 | ``PACKAGES_DYNAMIC`` does not actually satisfy the dependencies, it |
4839 | only states that they should be satisfied. For example, if a hard, | 4839 | only states that they should be satisfied. For example, if a hard, |
4840 | runtime dependency (```RDEPENDS`` <#var-RDEPENDS>`__) of another | 4840 | runtime dependency (:term:`RDEPENDS`) of another |
4841 | package is satisfied at build time through the ``PACKAGES_DYNAMIC`` | 4841 | package is satisfied at build time through the ``PACKAGES_DYNAMIC`` |
4842 | variable, but a package with the module name is never actually | 4842 | variable, but a package with the module name is never actually |
4843 | produced, then the other package will be broken. Thus, if you attempt | 4843 | produced, then the other package will be broken. Thus, if you attempt |
4844 | to include that package in an image, you will get a dependency | 4844 | to include that package in an image, you will get a dependency |
4845 | failure from the packaging system during the | 4845 | failure from the packaging system during the |
4846 | ```do_rootfs`` <#ref-tasks-rootfs>`__ task. | 4846 | :ref:`ref-tasks-rootfs` task. |
4847 | 4847 | ||
4848 | Typically, if there is a chance that such a situation can occur and | 4848 | Typically, if there is a chance that such a situation can occur and |
4849 | the package that is not created is valid without the dependency being | 4849 | the package that is not created is valid without the dependency being |
4850 | satisfied, then you should use ```RRECOMMENDS`` <#var-RRECOMMENDS>`__ | 4850 | satisfied, then you should use :term:`RRECOMMENDS` |
4851 | (a soft runtime dependency) instead of ``RDEPENDS``. | 4851 | (a soft runtime dependency) instead of ``RDEPENDS``. |
4852 | 4852 | ||
4853 | For an example of how to use the ``PACKAGES_DYNAMIC`` variable when | 4853 | For an example of how to use the ``PACKAGES_DYNAMIC`` variable when |
@@ -4860,14 +4860,14 @@ system and gives an overview of their function and contents. | |||
4860 | files into individual packages. Recipes can either prepend to this | 4860 | files into individual packages. Recipes can either prepend to this |
4861 | variable or prepend to the ``populate_packages`` function in order to | 4861 | variable or prepend to the ``populate_packages`` function in order to |
4862 | perform additional package splitting. In either case, the function | 4862 | perform additional package splitting. In either case, the function |
4863 | should set ```PACKAGES`` <#var-PACKAGES>`__, | 4863 | should set :term:`PACKAGES`, |
4864 | ```FILES`` <#var-FILES>`__, ```RDEPENDS`` <#var-RDEPENDS>`__ and | 4864 | :term:`FILES`, :term:`RDEPENDS` and |
4865 | other packaging variables appropriately in order to perform the | 4865 | other packaging variables appropriately in order to perform the |
4866 | desired splitting. | 4866 | desired splitting. |
4867 | 4867 | ||
4868 | PARALLEL_MAKE | 4868 | PARALLEL_MAKE |
4869 | Extra options passed to the ``make`` command during the | 4869 | Extra options passed to the ``make`` command during the |
4870 | ```do_compile`` <#ref-tasks-compile>`__ task in order to specify | 4870 | :ref:`ref-tasks-compile` task in order to specify |
4871 | parallel compilation on the local build host. This variable is | 4871 | parallel compilation on the local build host. This variable is |
4872 | usually in the form "-j x", where x represents the maximum number of | 4872 | usually in the form "-j x", where x represents the maximum number of |
4873 | parallel threads ``make`` can run. | 4873 | parallel threads ``make`` can run. |
@@ -4913,15 +4913,15 @@ system and gives an overview of their function and contents. | |||
4913 | 4913 | ||
4914 | PARALLEL_MAKEINST | 4914 | PARALLEL_MAKEINST |
4915 | Extra options passed to the ``make install`` command during the | 4915 | Extra options passed to the ``make install`` command during the |
4916 | ```do_install`` <#ref-tasks-install>`__ task in order to specify | 4916 | :ref:`ref-tasks-install` task in order to specify |
4917 | parallel installation. This variable defaults to the value of | 4917 | parallel installation. This variable defaults to the value of |
4918 | ```PARALLEL_MAKE`` <#var-PARALLEL_MAKE>`__. | 4918 | :term:`PARALLEL_MAKE`. |
4919 | 4919 | ||
4920 | .. note:: | 4920 | .. note:: |
4921 | 4921 | ||
4922 | In order for ``PARALLEL_MAKEINST`` to be effective, ``make`` must | 4922 | In order for ``PARALLEL_MAKEINST`` to be effective, ``make`` must |
4923 | be called with | 4923 | be called with |
4924 | ``${``\ ```EXTRA_OEMAKE`` <#var-EXTRA_OEMAKE>`__\ ``}``. An easy | 4924 | ``${``\ :term:`EXTRA_OEMAKE`\ ``}``. An easy |
4925 | way to ensure this is to use the ``oe_runmake`` function. | 4925 | way to ensure this is to use the ``oe_runmake`` function. |
4926 | 4926 | ||
4927 | If the software being built experiences dependency issues during | 4927 | If the software being built experiences dependency issues during |
@@ -4946,7 +4946,7 @@ system and gives an overview of their function and contents. | |||
4946 | 4946 | ||
4947 | PATCHTOOL | 4947 | PATCHTOOL |
4948 | Specifies the utility used to apply patches for a recipe during the | 4948 | Specifies the utility used to apply patches for a recipe during the |
4949 | ```do_patch`` <#ref-tasks-patch>`__ task. You can specify one of | 4949 | :ref:`ref-tasks-patch` task. You can specify one of |
4950 | three utilities: "patch", "quilt", or "git". The default utility used | 4950 | three utilities: "patch", "quilt", or "git". The default utility used |
4951 | is "quilt" except for the quilt-native recipe itself. Because the | 4951 | is "quilt" except for the quilt-native recipe itself. Because the |
4952 | quilt tool is not available at the time quilt-native is being | 4952 | quilt tool is not available at the time quilt-native is being |
@@ -4961,20 +4961,20 @@ system and gives an overview of their function and contents. | |||
4961 | variable is used to make upgrades possible when the versioning scheme | 4961 | variable is used to make upgrades possible when the versioning scheme |
4962 | changes in some backwards incompatible way. | 4962 | changes in some backwards incompatible way. |
4963 | 4963 | ||
4964 | ``PE`` is the default value of the ```PKGE`` <#var-PKGE>`__ variable. | 4964 | ``PE`` is the default value of the :term:`PKGE` variable. |
4965 | 4965 | ||
4966 | PF | 4966 | PF |
4967 | Specifies the recipe or package name and includes all version and | 4967 | Specifies the recipe or package name and includes all version and |
4968 | revision numbers (i.e. ``glibc-2.13-r20+svnr15508/`` and | 4968 | revision numbers (i.e. ``glibc-2.13-r20+svnr15508/`` and |
4969 | ``bash-4.2-r1/``). This variable is comprised of the following: | 4969 | ``bash-4.2-r1/``). This variable is comprised of the following: |
4970 | ${`PN <#var-PN>`__}-${`EXTENDPE <#var-EXTENDPE>`__}${`PV <#var-PV>`__}-${`PR <#var-PR>`__} | 4970 | ${:term:`PN`}-${:term:`EXTENDPE`}${:term:`PV`}-${:term:`PR`} |
4971 | 4971 | ||
4972 | PIXBUF_PACKAGES | 4972 | PIXBUF_PACKAGES |
4973 | When inheriting the ```pixbufcache`` <#ref-classes-pixbufcache>`__ | 4973 | When inheriting the :ref:`pixbufcache <ref-classes-pixbufcache>` |
4974 | class, this variable identifies packages that contain the pixbuf | 4974 | class, this variable identifies packages that contain the pixbuf |
4975 | loaders used with ``gdk-pixbuf``. By default, the ``pixbufcache`` | 4975 | loaders used with ``gdk-pixbuf``. By default, the ``pixbufcache`` |
4976 | class assumes that the loaders are in the recipe's main package (i.e. | 4976 | class assumes that the loaders are in the recipe's main package (i.e. |
4977 | ``${``\ ```PN`` <#var-PN>`__\ ``}``). Use this variable if the | 4977 | ``${``\ :term:`PN`\ ``}``). Use this variable if the |
4978 | loaders you need are in a package other than that main package. | 4978 | loaders you need are in a package other than that main package. |
4979 | 4979 | ||
4980 | PKG | 4980 | PKG |
@@ -4987,7 +4987,7 @@ system and gives an overview of their function and contents. | |||
4987 | PKG | 4987 | PKG |
4988 | variable, you must use a package name override. | 4988 | variable, you must use a package name override. |
4989 | 4989 | ||
4990 | For example, when the ```debian`` <#ref-classes-debian>`__ class | 4990 | For example, when the :ref:`debian <ref-classes-debian>` class |
4991 | renames the output package, it does so by setting | 4991 | renames the output package, it does so by setting |
4992 | ``PKG_packagename``. | 4992 | ``PKG_packagename``. |
4993 | 4993 | ||
@@ -5005,7 +5005,7 @@ system and gives an overview of their function and contents. | |||
5005 | PKGDATA_DIR | 5005 | PKGDATA_DIR |
5006 | Points to a shared, global-state directory that holds data generated | 5006 | Points to a shared, global-state directory that holds data generated |
5007 | during the packaging process. During the packaging process, the | 5007 | during the packaging process. During the packaging process, the |
5008 | ```do_packagedata`` <#ref-tasks-packagedata>`__ task packages data | 5008 | :ref:`ref-tasks-packagedata` task packages data |
5009 | for each recipe and installs it into this temporary, shared area. | 5009 | for each recipe and installs it into this temporary, shared area. |
5010 | This directory defaults to the following, which you should not | 5010 | This directory defaults to the following, which you should not |
5011 | change: ${STAGING_DIR_HOST}/pkgdata For examples of how this data is | 5011 | change: ${STAGING_DIR_HOST}/pkgdata For examples of how this data is |
@@ -5016,7 +5016,7 @@ system and gives an overview of their function and contents. | |||
5016 | ``oe-pkgdata-util`` <&YOCTO_DOCS_DEV_URL;#viewing-package-information-with-oe-pkgdata-util>`__" | 5016 | ``oe-pkgdata-util`` <&YOCTO_DOCS_DEV_URL;#viewing-package-information-with-oe-pkgdata-util>`__" |
5017 | section in the Yocto Project Development Tasks Manual. For more | 5017 | section in the Yocto Project Development Tasks Manual. For more |
5018 | information on the shared, global-state directory, see | 5018 | information on the shared, global-state directory, see |
5019 | ```STAGING_DIR_HOST`` <#var-STAGING_DIR_HOST>`__. | 5019 | :term:`STAGING_DIR_HOST`. |
5020 | 5020 | ||
5021 | PKGDEST | 5021 | PKGDEST |
5022 | Points to the parent directory for files to be packaged after they | 5022 | Points to the parent directory for files to be packaged after they |
@@ -5024,30 +5024,30 @@ system and gives an overview of their function and contents. | |||
5024 | the following: ${WORKDIR}/packages-split | 5024 | the following: ${WORKDIR}/packages-split |
5025 | 5025 | ||
5026 | Under this directory, the build system creates directories for each | 5026 | Under this directory, the build system creates directories for each |
5027 | package specified in ```PACKAGES`` <#var-PACKAGES>`__. Do not change | 5027 | package specified in :term:`PACKAGES`. Do not change |
5028 | this default. | 5028 | this default. |
5029 | 5029 | ||
5030 | PKGDESTWORK | 5030 | PKGDESTWORK |
5031 | Points to a temporary work area where the | 5031 | Points to a temporary work area where the |
5032 | ```do_package`` <#ref-tasks-package>`__ task saves package metadata. | 5032 | :ref:`ref-tasks-package` task saves package metadata. |
5033 | The ``PKGDESTWORK`` location defaults to the following: | 5033 | The ``PKGDESTWORK`` location defaults to the following: |
5034 | ${WORKDIR}/pkgdata Do not change this default. | 5034 | ${WORKDIR}/pkgdata Do not change this default. |
5035 | 5035 | ||
5036 | The ```do_packagedata`` <#ref-tasks-packagedata>`__ task copies the | 5036 | The :ref:`ref-tasks-packagedata` task copies the |
5037 | package metadata from ``PKGDESTWORK`` to | 5037 | package metadata from ``PKGDESTWORK`` to |
5038 | ```PKGDATA_DIR`` <#var-PKGDATA_DIR>`__ to make it available globally. | 5038 | :term:`PKGDATA_DIR` to make it available globally. |
5039 | 5039 | ||
5040 | PKGE | 5040 | PKGE |
5041 | The epoch of the package(s) built by the recipe. By default, ``PKGE`` | 5041 | The epoch of the package(s) built by the recipe. By default, ``PKGE`` |
5042 | is set to ```PE`` <#var-PE>`__. | 5042 | is set to :term:`PE`. |
5043 | 5043 | ||
5044 | PKGR | 5044 | PKGR |
5045 | The revision of the package(s) built by the recipe. By default, | 5045 | The revision of the package(s) built by the recipe. By default, |
5046 | ``PKGR`` is set to ```PR`` <#var-PR>`__. | 5046 | ``PKGR`` is set to :term:`PR`. |
5047 | 5047 | ||
5048 | PKGV | 5048 | PKGV |
5049 | The version of the package(s) built by the recipe. By default, | 5049 | The version of the package(s) built by the recipe. By default, |
5050 | ``PKGV`` is set to ```PV`` <#var-PV>`__. | 5050 | ``PKGV`` is set to :term:`PV`. |
5051 | 5051 | ||
5052 | PN | 5052 | PN |
5053 | This variable can have two separate functions depending on the | 5053 | This variable can have two separate functions depending on the |
@@ -5071,7 +5071,7 @@ system and gives an overview of their function and contents. | |||
5071 | PNBLACKLIST | 5071 | PNBLACKLIST |
5072 | Lists recipes you do not want the OpenEmbedded build system to build. | 5072 | Lists recipes you do not want the OpenEmbedded build system to build. |
5073 | This variable works in conjunction with the | 5073 | This variable works in conjunction with the |
5074 | ```blacklist`` <#ref-classes-blacklist>`__ class, which is inherited | 5074 | :ref:`blacklist <ref-classes-blacklist>` class, which is inherited |
5075 | globally. | 5075 | globally. |
5076 | 5076 | ||
5077 | To prevent a recipe from being built, use the ``PNBLACKLIST`` | 5077 | To prevent a recipe from being built, use the ``PNBLACKLIST`` |
@@ -5088,7 +5088,7 @@ system and gives an overview of their function and contents. | |||
5088 | If you need to pass the SDK path to a command within a function, you | 5088 | If you need to pass the SDK path to a command within a function, you |
5089 | can use ``${SDK_DIR}``, which points to the parent directory used by | 5089 | can use ``${SDK_DIR}``, which points to the parent directory used by |
5090 | the OpenEmbedded build system when creating SDK output. See the | 5090 | the OpenEmbedded build system when creating SDK output. See the |
5091 | ```SDK_DIR`` <#var-SDK_DIR>`__ variable for more information. | 5091 | :term:`SDK_DIR` variable for more information. |
5092 | 5092 | ||
5093 | POPULATE_SDK_POST_TARGET_COMMAND | 5093 | POPULATE_SDK_POST_TARGET_COMMAND |
5094 | Specifies a list of functions to call once the OpenEmbedded build | 5094 | Specifies a list of functions to call once the OpenEmbedded build |
@@ -5099,12 +5099,12 @@ system and gives an overview of their function and contents. | |||
5099 | If you need to pass the SDK path to a command within a function, you | 5099 | If you need to pass the SDK path to a command within a function, you |
5100 | can use ``${SDK_DIR}``, which points to the parent directory used by | 5100 | can use ``${SDK_DIR}``, which points to the parent directory used by |
5101 | the OpenEmbedded build system when creating SDK output. See the | 5101 | the OpenEmbedded build system when creating SDK output. See the |
5102 | ```SDK_DIR`` <#var-SDK_DIR>`__ variable for more information. | 5102 | :term:`SDK_DIR` variable for more information. |
5103 | 5103 | ||
5104 | PR | 5104 | PR |
5105 | The revision of the recipe. The default value for this variable is | 5105 | The revision of the recipe. The default value for this variable is |
5106 | "r0". Subsequent revisions of the recipe conventionally have the | 5106 | "r0". Subsequent revisions of the recipe conventionally have the |
5107 | values "r1", "r2", and so forth. When ```PV`` <#var-PV>`__ increases, | 5107 | values "r1", "r2", and so forth. When :term:`PV` increases, |
5108 | ``PR`` is conventionally reset to "r0". | 5108 | ``PR`` is conventionally reset to "r0". |
5109 | 5109 | ||
5110 | .. note:: | 5110 | .. note:: |
@@ -5122,7 +5122,7 @@ system and gives an overview of their function and contents. | |||
5122 | The ``PR`` variable primarily becomes significant when a package | 5122 | The ``PR`` variable primarily becomes significant when a package |
5123 | manager dynamically installs packages on an already built image. In | 5123 | manager dynamically installs packages on an already built image. In |
5124 | this case, ``PR``, which is the default value of | 5124 | this case, ``PR``, which is the default value of |
5125 | ```PKGR`` <#var-PKGR>`__, helps the package manager distinguish which | 5125 | :term:`PKGR`, helps the package manager distinguish which |
5126 | package is the most recent one in cases where many packages have the | 5126 | package is the most recent one in cases where many packages have the |
5127 | same ``PV`` (i.e. ``PKGV``). A component having many packages with | 5127 | same ``PV`` (i.e. ``PKGV``). A component having many packages with |
5128 | the same ``PV`` usually means that the packages all install the same | 5128 | the same ``PV`` usually means that the packages all install the same |
@@ -5145,7 +5145,7 @@ system and gives an overview of their function and contents. | |||
5145 | which recipe is preferred and thus provides the item (i.e. the | 5145 | which recipe is preferred and thus provides the item (i.e. the |
5146 | preferred provider). You should always suffix this variable with the | 5146 | preferred provider). You should always suffix this variable with the |
5147 | name of the provided item. And, you should define the variable using | 5147 | name of the provided item. And, you should define the variable using |
5148 | the preferred recipe's name (```PN`` <#var-PN>`__). Here is a common | 5148 | the preferred recipe's name (:term:`PN`). Here is a common |
5149 | example: PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" In the | 5149 | example: PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" In the |
5150 | previous example, multiple recipes are providing "virtual/kernel". | 5150 | previous example, multiple recipes are providing "virtual/kernel". |
5151 | The ``PREFERRED_PROVIDER`` variable is set with the name (``PN``) of | 5151 | The ``PREFERRED_PROVIDER`` variable is set with the name (``PN``) of |
@@ -5174,8 +5174,8 @@ system and gives an overview of their function and contents. | |||
5174 | PREFERRED_VERSION | 5174 | PREFERRED_VERSION |
5175 | If multiple versions of recipes exist, this variable determines which | 5175 | If multiple versions of recipes exist, this variable determines which |
5176 | version is given preference. You must always suffix the variable with | 5176 | version is given preference. You must always suffix the variable with |
5177 | the ```PN`` <#var-PN>`__ you want to select, and you should set the | 5177 | the :term:`PN` you want to select, and you should set the |
5178 | ```PV`` <#var-PV>`__ accordingly for precedence. | 5178 | :term:`PV` accordingly for precedence. |
5179 | 5179 | ||
5180 | The ``PREFERRED_VERSION`` variable supports limited wildcard use | 5180 | The ``PREFERRED_VERSION`` variable supports limited wildcard use |
5181 | through the "``%``" character. You can use the character to match any | 5181 | through the "``%``" character. You can use the character to match any |
@@ -5192,7 +5192,7 @@ system and gives an overview of their function and contents. | |||
5192 | string. You cannot use the wildcard character in any other | 5192 | string. You cannot use the wildcard character in any other |
5193 | location of the string. | 5193 | location of the string. |
5194 | 5194 | ||
5195 | The specified version is matched against ```PV`` <#var-PV>`__, which | 5195 | The specified version is matched against :term:`PV`, which |
5196 | does not necessarily match the version part of the recipe's filename. | 5196 | does not necessarily match the version part of the recipe's filename. |
5197 | For example, consider two recipes ``foo_1.2.bb`` and ``foo_git.bb`` | 5197 | For example, consider two recipes ``foo_1.2.bb`` and ``foo_git.bb`` |
5198 | where ``foo_git.bb`` contains the following assignment: PV = | 5198 | where ``foo_git.bb`` contains the following assignment: PV = |
@@ -5204,7 +5204,7 @@ system and gives an overview of their function and contents. | |||
5204 | 5204 | ||
5205 | Sometimes the ``PREFERRED_VERSION`` variable can be set by | 5205 | Sometimes the ``PREFERRED_VERSION`` variable can be set by |
5206 | configuration files in a way that is hard to change. You can use | 5206 | configuration files in a way that is hard to change. You can use |
5207 | ```OVERRIDES`` <#var-OVERRIDES>`__ to set a machine-specific | 5207 | :term:`OVERRIDES` to set a machine-specific |
5208 | override. Here is an example: PREFERRED_VERSION_linux-yocto_qemux86 = | 5208 | override. Here is an example: PREFERRED_VERSION_linux-yocto_qemux86 = |
5209 | "5.0%" Although not recommended, worst case, you can also use the | 5209 | "5.0%" Although not recommended, worst case, you can also use the |
5210 | "forcevariable" override, which is the strongest override possible. | 5210 | "forcevariable" override, which is the strongest override possible. |
@@ -5226,9 +5226,9 @@ system and gives an overview of their function and contents. | |||
5226 | first tries the local download directory. If that location fails, the | 5226 | first tries the local download directory. If that location fails, the |
5227 | build system tries locations defined by ``PREMIRRORS``, the upstream | 5227 | build system tries locations defined by ``PREMIRRORS``, the upstream |
5228 | source, and then locations specified by | 5228 | source, and then locations specified by |
5229 | ```MIRRORS`` <#var-MIRRORS>`__ in that order. | 5229 | :term:`MIRRORS` in that order. |
5230 | 5230 | ||
5231 | Assuming your distribution (```DISTRO`` <#var-DISTRO>`__) is "poky", | 5231 | Assuming your distribution (:term:`DISTRO`) is "poky", |
5232 | the default value for ``PREMIRRORS`` is defined in the | 5232 | the default value for ``PREMIRRORS`` is defined in the |
5233 | ``conf/distro/poky.conf`` file in the ``meta-poky`` Git repository. | 5233 | ``conf/distro/poky.conf`` file in the ``meta-poky`` Git repository. |
5234 | 5234 | ||
@@ -5315,7 +5315,7 @@ system and gives an overview of their function and contents. | |||
5315 | "virtual/function" (e.g. "virtual/kernel"). The slash is simply part | 5315 | "virtual/function" (e.g. "virtual/kernel"). The slash is simply part |
5316 | of the name and has no syntactical significance. | 5316 | of the name and has no syntactical significance. |
5317 | 5317 | ||
5318 | The ```PREFERRED_PROVIDER`` <#var-PREFERRED_PROVIDER>`__ variable is | 5318 | The :term:`PREFERRED_PROVIDER` variable is |
5319 | used to select which particular recipe provides a virtual target. | 5319 | used to select which particular recipe provides a virtual target. |
5320 | 5320 | ||
5321 | .. note:: | 5321 | .. note:: |
@@ -5335,10 +5335,10 @@ system and gives an overview of their function and contents. | |||
5335 | 5335 | ||
5336 | 5336 | ||
5337 | PRSERV_HOST | 5337 | PRSERV_HOST |
5338 | The network based ```PR`` <#var-PR>`__ service host and port. | 5338 | The network based :term:`PR` service host and port. |
5339 | 5339 | ||
5340 | The ``conf/local.conf.sample.extended`` configuration file in the | 5340 | The ``conf/local.conf.sample.extended`` configuration file in the |
5341 | `Source Directory <#source-directory>`__ shows how the | 5341 | :term:`Source Directory` shows how the |
5342 | ``PRSERV_HOST`` variable is set: PRSERV_HOST = "localhost:0" You must | 5342 | ``PRSERV_HOST`` variable is set: PRSERV_HOST = "localhost:0" You must |
5343 | set the variable if you want to automatically start a local `PR | 5343 | set the variable if you want to automatically start a local `PR |
5344 | service <&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service>`__. You can | 5344 | service <&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service>`__. You can |
@@ -5350,7 +5350,7 @@ system and gives an overview of their function and contents. | |||
5350 | functionality is enabled when building a recipe. You should not set | 5350 | functionality is enabled when building a recipe. You should not set |
5351 | this variable directly. Enabling and disabling building Package Tests | 5351 | this variable directly. Enabling and disabling building Package Tests |
5352 | at build time should be done by adding "ptest" to (or removing it | 5352 | at build time should be done by adding "ptest" to (or removing it |
5353 | from) ```DISTRO_FEATURES`` <#var-DISTRO_FEATURES>`__. | 5353 | from) :term:`DISTRO_FEATURES`. |
5354 | 5354 | ||
5355 | PV | 5355 | PV |
5356 | The version of the recipe. The version is normally extracted from the | 5356 | The version of the recipe. The version is normally extracted from the |
@@ -5360,14 +5360,14 @@ system and gives an overview of their function and contents. | |||
5360 | building an unstable (i.e. development) version from a source code | 5360 | building an unstable (i.e. development) version from a source code |
5361 | repository (e.g. Git or Subversion). | 5361 | repository (e.g. Git or Subversion). |
5362 | 5362 | ||
5363 | ``PV`` is the default value of the ```PKGV`` <#var-PKGV>`__ variable. | 5363 | ``PV`` is the default value of the :term:`PKGV` variable. |
5364 | 5364 | ||
5365 | PYTHON_ABI | 5365 | PYTHON_ABI |
5366 | When used by recipes that inherit the | 5366 | When used by recipes that inherit the |
5367 | ```distutils3`` <#ref-classes-distutils3>`__, | 5367 | ```distutils3`` <#ref-classes-distutils3>`__, |
5368 | ```setuptools3`` <#ref-classes-setuptools3>`__, | 5368 | ```setuptools3`` <#ref-classes-setuptools3>`__, |
5369 | ```distutils`` <#ref-classes-distutils>`__, or | 5369 | :ref:`distutils <ref-classes-distutils>`, or |
5370 | ```setuptools`` <#ref-classes-setuptools>`__ classes, denotes the | 5370 | :ref:`setuptools <ref-classes-setuptools>` classes, denotes the |
5371 | Application Binary Interface (ABI) currently in use for Python. By | 5371 | Application Binary Interface (ABI) currently in use for Python. By |
5372 | default, the ABI is "m". You do not have to set this variable as the | 5372 | default, the ABI is "m". You do not have to set this variable as the |
5373 | OpenEmbedded build system sets it for you. | 5373 | OpenEmbedded build system sets it for you. |
@@ -5384,8 +5384,8 @@ system and gives an overview of their function and contents. | |||
5384 | When used by recipes that inherit the | 5384 | When used by recipes that inherit the |
5385 | ```distutils3`` <#ref-classes-distutils3>`__, | 5385 | ```distutils3`` <#ref-classes-distutils3>`__, |
5386 | ```setuptools3`` <#ref-classes-setuptools3>`__, | 5386 | ```setuptools3`` <#ref-classes-setuptools3>`__, |
5387 | ```distutils`` <#ref-classes-distutils>`__, or | 5387 | :ref:`distutils <ref-classes-distutils>`, or |
5388 | ```setuptools`` <#ref-classes-setuptools>`__ classes, specifies the | 5388 | :ref:`setuptools <ref-classes-setuptools>` classes, specifies the |
5389 | major Python version being built. For Python 3.x, ``PYTHON_PN`` would | 5389 | major Python version being built. For Python 3.x, ``PYTHON_PN`` would |
5390 | be "python3". You do not have to set this variable as the | 5390 | be "python3". You do not have to set this variable as the |
5391 | OpenEmbedded build system automatically sets it for you. | 5391 | OpenEmbedded build system automatically sets it for you. |
@@ -5432,15 +5432,15 @@ system and gives an overview of their function and contents. | |||
5432 | ```do_package_write_*`` <#ref-tasks-package_write_deb>`__ tasks. | 5432 | ```do_package_write_*`` <#ref-tasks-package_write_deb>`__ tasks. |
5433 | Exactly how this is done depends on which package format is used, | 5433 | Exactly how this is done depends on which package format is used, |
5434 | which is determined by | 5434 | which is determined by |
5435 | ```PACKAGE_CLASSES`` <#var-PACKAGE_CLASSES>`__. When the | 5435 | :term:`PACKAGE_CLASSES`. When the |
5436 | corresponding package manager installs the package, it will know to | 5436 | corresponding package manager installs the package, it will know to |
5437 | also install the packages on which it depends. | 5437 | also install the packages on which it depends. |
5438 | 5438 | ||
5439 | To ensure that the packages ``bar`` and ``baz`` get built, the | 5439 | To ensure that the packages ``bar`` and ``baz`` get built, the |
5440 | previous ``RDEPENDS`` assignment also causes a task dependency to be | 5440 | previous ``RDEPENDS`` assignment also causes a task dependency to be |
5441 | added. This dependency is from the recipe's | 5441 | added. This dependency is from the recipe's |
5442 | ```do_build`` <#ref-tasks-build>`__ (not to be confused with | 5442 | :ref:`ref-tasks-build` (not to be confused with |
5443 | ```do_compile`` <#ref-tasks-compile>`__) task to the | 5443 | :ref:`ref-tasks-compile`) task to the |
5444 | ``do_package_write_*`` task of the recipes that build ``bar`` and | 5444 | ``do_package_write_*`` task of the recipes that build ``bar`` and |
5445 | ``baz``. | 5445 | ``baz``. |
5446 | 5446 | ||
@@ -5449,7 +5449,7 @@ system and gives an overview of their function and contents. | |||
5449 | package names and recipe names usually match, the important point | 5449 | package names and recipe names usually match, the important point |
5450 | here is that you are providing package names within the ``RDEPENDS`` | 5450 | here is that you are providing package names within the ``RDEPENDS`` |
5451 | variable. For an example of the default list of packages created from | 5451 | variable. For an example of the default list of packages created from |
5452 | a recipe, see the ```PACKAGES`` <#var-PACKAGES>`__ variable. | 5452 | a recipe, see the :term:`PACKAGES` variable. |
5453 | 5453 | ||
5454 | Because the ``RDEPENDS`` variable applies to packages being built, | 5454 | Because the ``RDEPENDS`` variable applies to packages being built, |
5455 | you should always use the variable in a form with an attached package | 5455 | you should always use the variable in a form with an attached package |
@@ -5478,9 +5478,9 @@ system and gives an overview of their function and contents. | |||
5478 | . Use the "+=" operator rather than the "=" operator. | 5478 | . Use the "+=" operator rather than the "=" operator. |
5479 | 5479 | ||
5480 | The package names you use with ``RDEPENDS`` must appear as they would | 5480 | The package names you use with ``RDEPENDS`` must appear as they would |
5481 | in the ``PACKAGES`` variable. The ```PKG`` <#var-PKG>`__ variable | 5481 | in the ``PACKAGES`` variable. The :term:`PKG` variable |
5482 | allows a different name to be used for the final package (e.g. the | 5482 | allows a different name to be used for the final package (e.g. the |
5483 | ```debian`` <#ref-classes-debian>`__ class uses this to rename | 5483 | :ref:`debian <ref-classes-debian>` class uses this to rename |
5484 | packages), but this final package name cannot be used with | 5484 | packages), but this final package name cannot be used with |
5485 | ``RDEPENDS``, which makes sense as ``RDEPENDS`` is meant to be | 5485 | ``RDEPENDS``, which makes sense as ``RDEPENDS`` is meant to be |
5486 | independent of the package format used. | 5486 | independent of the package format used. |
@@ -5503,7 +5503,7 @@ system and gives an overview of their function and contents. | |||
5503 | greater of the package ``foo``: RDEPENDS_${PN} = "foo (>= 1.2)" | 5503 | greater of the package ``foo``: RDEPENDS_${PN} = "foo (>= 1.2)" |
5504 | 5504 | ||
5505 | For information on build-time dependencies, see the | 5505 | For information on build-time dependencies, see the |
5506 | ```DEPENDS`` <#var-DEPENDS>`__ variable. You can also see the | 5506 | :term:`DEPENDS` variable. You can also see the |
5507 | "`Tasks <&YOCTO_DOCS_BB_URL;#tasks>`__" and | 5507 | "`Tasks <&YOCTO_DOCS_BB_URL;#tasks>`__" and |
5508 | "`Dependencies <&YOCTO_DOCS_BB_URL;#dependencies>`__" sections in the | 5508 | "`Dependencies <&YOCTO_DOCS_BB_URL;#dependencies>`__" sections in the |
5509 | BitBake User Manual for additional information on tasks and | 5509 | BitBake User Manual for additional information on tasks and |
@@ -5511,7 +5511,7 @@ system and gives an overview of their function and contents. | |||
5511 | 5511 | ||
5512 | REQUIRED_DISTRO_FEATURES | 5512 | REQUIRED_DISTRO_FEATURES |
5513 | When inheriting the | 5513 | When inheriting the |
5514 | ```distro_features_check`` <#ref-classes-distro_features_check>`__ | 5514 | :ref:`distro_features_check <ref-classes-distro_features_check>` |
5515 | class, this variable identifies distribution features that must exist | 5515 | class, this variable identifies distribution features that must exist |
5516 | in the current configuration in order for the OpenEmbedded build | 5516 | in the current configuration in order for the OpenEmbedded build |
5517 | system to build the recipe. In other words, if the | 5517 | system to build the recipe. In other words, if the |
@@ -5546,7 +5546,7 @@ system and gives an overview of their function and contents. | |||
5546 | Indicates a filesystem image to include as the root filesystem. | 5546 | Indicates a filesystem image to include as the root filesystem. |
5547 | 5547 | ||
5548 | The ``ROOTFS`` variable is an optional variable used with the | 5548 | The ``ROOTFS`` variable is an optional variable used with the |
5549 | ```image-live`` <#ref-classes-image-live>`__ class. | 5549 | :ref:`image-live <ref-classes-image-live>` class. |
5550 | 5550 | ||
5551 | ROOTFS_POSTINSTALL_COMMAND | 5551 | ROOTFS_POSTINSTALL_COMMAND |
5552 | Specifies a list of functions to call after the OpenEmbedded build | 5552 | Specifies a list of functions to call after the OpenEmbedded build |
@@ -5556,7 +5556,7 @@ system and gives an overview of their function and contents. | |||
5556 | If you need to pass the root filesystem path to a command within a | 5556 | If you need to pass the root filesystem path to a command within a |
5557 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 5557 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
5558 | directory that becomes the root filesystem image. See the | 5558 | directory that becomes the root filesystem image. See the |
5559 | ```IMAGE_ROOTFS`` <#var-IMAGE_ROOTFS>`__ variable for more | 5559 | :term:`IMAGE_ROOTFS` variable for more |
5560 | information. | 5560 | information. |
5561 | 5561 | ||
5562 | ROOTFS_POSTPROCESS_COMMAND | 5562 | ROOTFS_POSTPROCESS_COMMAND |
@@ -5568,7 +5568,7 @@ system and gives an overview of their function and contents. | |||
5568 | If you need to pass the root filesystem path to a command within a | 5568 | If you need to pass the root filesystem path to a command within a |
5569 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 5569 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
5570 | directory that becomes the root filesystem image. See the | 5570 | directory that becomes the root filesystem image. See the |
5571 | ```IMAGE_ROOTFS`` <#var-IMAGE_ROOTFS>`__ variable for more | 5571 | :term:`IMAGE_ROOTFS` variable for more |
5572 | information. | 5572 | information. |
5573 | 5573 | ||
5574 | ROOTFS_POSTUNINSTALL_COMMAND | 5574 | ROOTFS_POSTUNINSTALL_COMMAND |
@@ -5582,7 +5582,7 @@ system and gives an overview of their function and contents. | |||
5582 | If you need to pass the root filesystem path to a command within a | 5582 | If you need to pass the root filesystem path to a command within a |
5583 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 5583 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
5584 | directory that becomes the root filesystem image. See the | 5584 | directory that becomes the root filesystem image. See the |
5585 | ```IMAGE_ROOTFS`` <#var-IMAGE_ROOTFS>`__ variable for more | 5585 | :term:`IMAGE_ROOTFS` variable for more |
5586 | information. | 5586 | information. |
5587 | 5587 | ||
5588 | ROOTFS_PREPROCESS_COMMAND | 5588 | ROOTFS_PREPROCESS_COMMAND |
@@ -5594,7 +5594,7 @@ system and gives an overview of their function and contents. | |||
5594 | If you need to pass the root filesystem path to a command within a | 5594 | If you need to pass the root filesystem path to a command within a |
5595 | function, you can use ``${IMAGE_ROOTFS}``, which points to the | 5595 | function, you can use ``${IMAGE_ROOTFS}``, which points to the |
5596 | directory that becomes the root filesystem image. See the | 5596 | directory that becomes the root filesystem image. See the |
5597 | ```IMAGE_ROOTFS`` <#var-IMAGE_ROOTFS>`__ variable for more | 5597 | :term:`IMAGE_ROOTFS` variable for more |
5598 | information. | 5598 | information. |
5599 | 5599 | ||
5600 | RPROVIDES | 5600 | RPROVIDES |
@@ -5623,15 +5623,15 @@ system and gives an overview of their function and contents. | |||
5623 | The package manager will automatically install the ``RRECOMMENDS`` | 5623 | The package manager will automatically install the ``RRECOMMENDS`` |
5624 | list of packages when installing the built package. However, you can | 5624 | list of packages when installing the built package. However, you can |
5625 | prevent listed packages from being installed by using the | 5625 | prevent listed packages from being installed by using the |
5626 | ```BAD_RECOMMENDATIONS`` <#var-BAD_RECOMMENDATIONS>`__, | 5626 | :term:`BAD_RECOMMENDATIONS`, |
5627 | ```NO_RECOMMENDATIONS`` <#var-NO_RECOMMENDATIONS>`__, and | 5627 | :term:`NO_RECOMMENDATIONS`, and |
5628 | ```PACKAGE_EXCLUDE`` <#var-PACKAGE_EXCLUDE>`__ variables. | 5628 | :term:`PACKAGE_EXCLUDE` variables. |
5629 | 5629 | ||
5630 | Packages specified in ``RRECOMMENDS`` need not actually be produced. | 5630 | Packages specified in ``RRECOMMENDS`` need not actually be produced. |
5631 | However, a recipe must exist that provides each package, either | 5631 | However, a recipe must exist that provides each package, either |
5632 | through the ```PACKAGES`` <#var-PACKAGES>`__ or | 5632 | through the :term:`PACKAGES` or |
5633 | ```PACKAGES_DYNAMIC`` <#var-PACKAGES_DYNAMIC>`__ variables or the | 5633 | :term:`PACKAGES_DYNAMIC` variables or the |
5634 | ```RPROVIDES`` <#var-RPROVIDES>`__ variable, or an error will occur | 5634 | :term:`RPROVIDES` variable, or an error will occur |
5635 | during the build. If such a recipe does exist and the package is not | 5635 | during the build. If such a recipe does exist and the package is not |
5636 | produced, the build continues without error. | 5636 | produced, the build continues without error. |
5637 | 5637 | ||
@@ -5684,9 +5684,9 @@ system and gives an overview of their function and contents. | |||
5684 | example: RSUGGESTS_${PN} = "useful_package another_package" | 5684 | example: RSUGGESTS_${PN} = "useful_package another_package" |
5685 | 5685 | ||
5686 | S | 5686 | S |
5687 | The location in the `Build Directory <#build-directory>`__ where | 5687 | The location in the :term:`Build Directory` where |
5688 | unpacked recipe source code resides. By default, this directory is | 5688 | unpacked recipe source code resides. By default, this directory is |
5689 | ``${``\ ```WORKDIR`` <#var-WORKDIR>`__\ ``}/${``\ ```BPN`` <#var-BPN>`__\ ``}-${``\ ```PV`` <#var-PV>`__\ ``}``, | 5689 | ``${``\ :term:`WORKDIR`\ ``}/${``\ :term:`BPN`\ ``}-${``\ :term:`PV`\ ``}``, |
5690 | where ``${BPN}`` is the base recipe name and ``${PV}`` is the recipe | 5690 | where ``${BPN}`` is the base recipe name and ``${PV}`` is the recipe |
5691 | version. If the source tarball extracts the code to a directory named | 5691 | version. If the source tarball extracts the code to a directory named |
5692 | anything other than ``${BPN}-${PV}``, or if the source code is | 5692 | anything other than ``${BPN}-${PV}``, or if the source code is |
@@ -5694,7 +5694,7 @@ system and gives an overview of their function and contents. | |||
5694 | ``S`` in the recipe so that the OpenEmbedded build system knows where | 5694 | ``S`` in the recipe so that the OpenEmbedded build system knows where |
5695 | to find the unpacked source. | 5695 | to find the unpacked source. |
5696 | 5696 | ||
5697 | As an example, assume a `Source Directory <#source-directory>`__ | 5697 | As an example, assume a :term:`Source Directory` |
5698 | top-level folder named ``poky`` and a default Build Directory at | 5698 | top-level folder named ``poky`` and a default Build Directory at |
5699 | ``poky/build``. In this case, the work directory the build system | 5699 | ``poky/build``. In this case, the work directory the build system |
5700 | uses to keep the unpacked recipe for ``db`` is the following: | 5700 | uses to keep the unpacked recipe for ``db`` is the following: |
@@ -5703,7 +5703,7 @@ system and gives an overview of their function and contents. | |||
5703 | 5703 | ||
5704 | This next example assumes a Git repository. By default, Git | 5704 | This next example assumes a Git repository. By default, Git |
5705 | repositories are cloned to ``${WORKDIR}/git`` during | 5705 | repositories are cloned to ``${WORKDIR}/git`` during |
5706 | ```do_fetch`` <#ref-tasks-fetch>`__. Since this path is different | 5706 | :ref:`ref-tasks-fetch`. Since this path is different |
5707 | from the default value of ``S``, you must set it specifically so the | 5707 | from the default value of ``S``, you must set it specifically so the |
5708 | source can be located: SRC_URI = "git://path/to/repo.git" S = | 5708 | source can be located: SRC_URI = "git://path/to/repo.git" S = |
5709 | "${WORKDIR}/git" | 5709 | "${WORKDIR}/git" |
@@ -5721,13 +5721,13 @@ system and gives an overview of their function and contents. | |||
5721 | as read from ``/etc/lsb-release``. Separate the list items with | 5721 | as read from ``/etc/lsb-release``. Separate the list items with |
5722 | explicit newline characters (``\n``). If ``SANITY_TESTED_DISTROS`` is | 5722 | explicit newline characters (``\n``). If ``SANITY_TESTED_DISTROS`` is |
5723 | not empty and the current value of | 5723 | not empty and the current value of |
5724 | ```NATIVELSBSTRING`` <#var-NATIVELSBSTRING>`__ does not appear in the | 5724 | :term:`NATIVELSBSTRING` does not appear in the |
5725 | list, then the build system reports a warning that indicates the | 5725 | list, then the build system reports a warning that indicates the |
5726 | current host distribution has not been tested as a build host. | 5726 | current host distribution has not been tested as a build host. |
5727 | 5727 | ||
5728 | SDK_ARCH | 5728 | SDK_ARCH |
5729 | The target architecture for the SDK. Typically, you do not directly | 5729 | The target architecture for the SDK. Typically, you do not directly |
5730 | set this variable. Instead, use ```SDKMACHINE`` <#var-SDKMACHINE>`__. | 5730 | set this variable. Instead, use :term:`SDKMACHINE`. |
5731 | 5731 | ||
5732 | SDK_DEPLOY | 5732 | SDK_DEPLOY |
5733 | The directory set up and used by the | 5733 | The directory set up and used by the |
@@ -5773,8 +5773,8 @@ system and gives an overview of their function and contents. | |||
5773 | The ```populate_sdk_base`` <#ref-classes-populate-sdk-*>`__ class | 5773 | The ```populate_sdk_base`` <#ref-classes-populate-sdk-*>`__ class |
5774 | defines the manifest file as follows: SDK_HOST_MANIFEST = | 5774 | defines the manifest file as follows: SDK_HOST_MANIFEST = |
5775 | "${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.host.manifest" The location is | 5775 | "${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.host.manifest" The location is |
5776 | derived using the ```SDK_DEPLOY`` <#var-SDK_DEPLOY>`__ and | 5776 | derived using the :term:`SDK_DEPLOY` and |
5777 | ```TOOLCHAIN_OUTPUTNAME`` <#var-TOOLCHAIN_OUTPUTNAME>`__ variables. | 5777 | :term:`TOOLCHAIN_OUTPUTNAME` variables. |
5778 | 5778 | ||
5779 | SDK_INCLUDE_PKGDATA | 5779 | SDK_INCLUDE_PKGDATA |
5780 | When set to "1", specifies to include the packagedata for all recipes | 5780 | When set to "1", specifies to include the packagedata for all recipes |
@@ -5794,7 +5794,7 @@ system and gives an overview of their function and contents. | |||
5794 | SDK_INCLUDE_TOOLCHAIN | 5794 | SDK_INCLUDE_TOOLCHAIN |
5795 | When set to "1", specifies to include the toolchain in the extensible | 5795 | When set to "1", specifies to include the toolchain in the extensible |
5796 | SDK. Including the toolchain is useful particularly when | 5796 | SDK. Including the toolchain is useful particularly when |
5797 | ```SDK_EXT_TYPE`` <#var-SDK_EXT_TYPE>`__ is set to "minimal" to keep | 5797 | :term:`SDK_EXT_TYPE` is set to "minimal" to keep |
5798 | the SDK reasonably small but you still want to provide a usable | 5798 | the SDK reasonably small but you still want to provide a usable |
5799 | toolchain. For example, suppose you want to use the toolchain from an | 5799 | toolchain. For example, suppose you want to use the toolchain from an |
5800 | IDE or from other tools and you do not want to perform additional | 5800 | IDE or from other tools and you do not want to perform additional |
@@ -5805,7 +5805,7 @@ system and gives an overview of their function and contents. | |||
5805 | ``SDK_EXT_TYPE`` is set to "full". | 5805 | ``SDK_EXT_TYPE`` is set to "full". |
5806 | 5806 | ||
5807 | SDK_INHERIT_BLACKLIST | 5807 | SDK_INHERIT_BLACKLIST |
5808 | A list of classes to remove from the ```INHERIT`` <#var-INHERIT>`__ | 5808 | A list of classes to remove from the :term:`INHERIT` |
5809 | value globally within the extensible SDK configuration. The | 5809 | value globally within the extensible SDK configuration. The |
5810 | ```populate-sdk-ext`` <#ref-classes-populate-sdk-*>`__ class sets the | 5810 | ```populate-sdk-ext`` <#ref-classes-populate-sdk-*>`__ class sets the |
5811 | default value: SDK_INHERIT_BLACKLIST ?= "buildhistory icecc" | 5811 | default value: SDK_INHERIT_BLACKLIST ?= "buildhistory icecc" |
@@ -5829,14 +5829,14 @@ system and gives an overview of their function and contents. | |||
5829 | By default, ``SDK_LOCAL_CONF_BLACKLIST`` is set in the | 5829 | By default, ``SDK_LOCAL_CONF_BLACKLIST`` is set in the |
5830 | ```populate-sdk-ext`` <#ref-classes-populate-sdk-*>`__ class and | 5830 | ```populate-sdk-ext`` <#ref-classes-populate-sdk-*>`__ class and |
5831 | excludes the following variables: | 5831 | excludes the following variables: |
5832 | `CONF_VERSION <#var-CONF_VERSION>`__ | 5832 | :term:`CONF_VERSION` |
5833 | `BB_NUMBER_THREADS <#var-BB_NUMBER_THREADS>`__ | 5833 | :term:`BB_NUMBER_THREADS` |
5834 | `BB_NUMBER_PARSE_THREADS <&YOCTO_DOCS_BB_URL;#var-BB_NUMBER_PARSE_THREADS>`__ | 5834 | `BB_NUMBER_PARSE_THREADS <&YOCTO_DOCS_BB_URL;#var-BB_NUMBER_PARSE_THREADS>`__ |
5835 | `PARALLEL_MAKE <#var-PARALLEL_MAKE>`__ | 5835 | :term:`PARALLEL_MAKE` |
5836 | `PRSERV_HOST <#var-PRSERV_HOST>`__ | 5836 | :term:`PRSERV_HOST` |
5837 | `SSTATE_MIRRORS <#var-SSTATE_MIRRORS>`__ `DL_DIR <#var-DL_DIR>`__ | 5837 | :term:`SSTATE_MIRRORS` :term:`DL_DIR` |
5838 | `SSTATE_DIR <#var-SSTATE_DIR>`__ `TMPDIR <#var-TMPDIR>`__ | 5838 | :term:`SSTATE_DIR` :term:`TMPDIR` |
5839 | `BB_SERVER_TIMEOUT <#var-BB_SERVER_TIMEOUT>`__ | 5839 | :term:`BB_SERVER_TIMEOUT` |
5840 | 5840 | ||
5841 | For additional information on how to customize the extensible SDK's | 5841 | For additional information on how to customize the extensible SDK's |
5842 | configuration, see the "`Configuring the Extensible | 5842 | configuration, see the "`Configuring the Extensible |
@@ -5851,7 +5851,7 @@ system and gives an overview of their function and contents. | |||
5851 | ```populate-sdk-ext`` <#ref-classes-populate-sdk-*>`__ class. | 5851 | ```populate-sdk-ext`` <#ref-classes-populate-sdk-*>`__ class. |
5852 | 5852 | ||
5853 | This list overrides the variables specified using the | 5853 | This list overrides the variables specified using the |
5854 | ```SDK_LOCAL_CONF_BLACKLIST`` <#var-SDK_LOCAL_CONF_BLACKLIST>`__ | 5854 | :term:`SDK_LOCAL_CONF_BLACKLIST` |
5855 | variable as well as any variables identified by automatic | 5855 | variable as well as any variables identified by automatic |
5856 | blacklisting due to the "/" character being found at the start of the | 5856 | blacklisting due to the "/" character being found at the start of the |
5857 | value, which is usually indicative of being a path and thus might not | 5857 | value, which is usually indicative of being a path and thus might not |
@@ -5865,15 +5865,15 @@ system and gives an overview of their function and contents. | |||
5865 | 5865 | ||
5866 | SDK_NAME | 5866 | SDK_NAME |
5867 | The base name for SDK output files. The name is derived from the | 5867 | The base name for SDK output files. The name is derived from the |
5868 | ```DISTRO`` <#var-DISTRO>`__, ```TCLIBC`` <#var-TCLIBC>`__, | 5868 | :term:`DISTRO`, :term:`TCLIBC`, |
5869 | ```SDK_ARCH`` <#var-SDK_ARCH>`__, | 5869 | :term:`SDK_ARCH`, |
5870 | ```IMAGE_BASENAME`` <#var-IMAGE_BASENAME>`__, and | 5870 | :term:`IMAGE_BASENAME`, and |
5871 | ```TUNE_PKGARCH`` <#var-TUNE_PKGARCH>`__ variables: SDK_NAME = | 5871 | :term:`TUNE_PKGARCH` variables: SDK_NAME = |
5872 | "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}" | 5872 | "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}" |
5873 | 5873 | ||
5874 | SDK_OS | 5874 | SDK_OS |
5875 | Specifies the operating system for which the SDK will be built. The | 5875 | Specifies the operating system for which the SDK will be built. The |
5876 | default value is the value of ```BUILD_OS`` <#var-BUILD_OS>`__. | 5876 | default value is the value of :term:`BUILD_OS`. |
5877 | 5877 | ||
5878 | SDK_OUTPUT | 5878 | SDK_OUTPUT |
5879 | The location used by the OpenEmbedded build system when creating SDK | 5879 | The location used by the OpenEmbedded build system when creating SDK |
@@ -5908,12 +5908,12 @@ system and gives an overview of their function and contents. | |||
5908 | If you need to pass an SDK path to a command within a function, you | 5908 | If you need to pass an SDK path to a command within a function, you |
5909 | can use ``${SDK_DIR}``, which points to the parent directory used by | 5909 | can use ``${SDK_DIR}``, which points to the parent directory used by |
5910 | the OpenEmbedded build system when creating SDK output. See the | 5910 | the OpenEmbedded build system when creating SDK output. See the |
5911 | ```SDK_DIR`` <#var-SDK_DIR>`__ variable for more information. | 5911 | :term:`SDK_DIR` variable for more information. |
5912 | 5912 | ||
5913 | SDK_PREFIX | 5913 | SDK_PREFIX |
5914 | The toolchain binary prefix used for ``nativesdk`` recipes. The | 5914 | The toolchain binary prefix used for ``nativesdk`` recipes. The |
5915 | OpenEmbedded build system uses the ``SDK_PREFIX`` value to set the | 5915 | OpenEmbedded build system uses the ``SDK_PREFIX`` value to set the |
5916 | ```TARGET_PREFIX`` <#var-TARGET_PREFIX>`__ when building | 5916 | :term:`TARGET_PREFIX` when building |
5917 | ``nativesdk`` recipes. The default value is "${SDK_SYS}-". | 5917 | ``nativesdk`` recipes. The default value is "${SDK_SYS}-". |
5918 | 5918 | ||
5919 | SDK_RECRDEP_TASKS | 5919 | SDK_RECRDEP_TASKS |
@@ -5924,16 +5924,16 @@ system and gives an overview of their function and contents. | |||
5924 | to the SDK. To specify tasks beyond these four, you need to use the | 5924 | to the SDK. To specify tasks beyond these four, you need to use the |
5925 | ``SDK_RECRDEP_TASKS`` variable (e.g. you are defining additional | 5925 | ``SDK_RECRDEP_TASKS`` variable (e.g. you are defining additional |
5926 | tasks that are needed in order to build | 5926 | tasks that are needed in order to build |
5927 | ```SDK_TARGETS`` <#var-SDK_TARGETS>`__). | 5927 | :term:`SDK_TARGETS`). |
5928 | 5928 | ||
5929 | SDK_SYS | 5929 | SDK_SYS |
5930 | Specifies the system, including the architecture and the operating | 5930 | Specifies the system, including the architecture and the operating |
5931 | system, for which the SDK will be built. | 5931 | system, for which the SDK will be built. |
5932 | 5932 | ||
5933 | The OpenEmbedded build system automatically sets this variable based | 5933 | The OpenEmbedded build system automatically sets this variable based |
5934 | on ```SDK_ARCH`` <#var-SDK_ARCH>`__, | 5934 | on :term:`SDK_ARCH`, |
5935 | ```SDK_VENDOR`` <#var-SDK_VENDOR>`__, and | 5935 | :term:`SDK_VENDOR`, and |
5936 | ```SDK_OS`` <#var-SDK_OS>`__. You do not need to set the ``SDK_SYS`` | 5936 | :term:`SDK_OS`. You do not need to set the ``SDK_SYS`` |
5937 | variable yourself. | 5937 | variable yourself. |
5938 | 5938 | ||
5939 | SDK_TARGET_MANIFEST | 5939 | SDK_TARGET_MANIFEST |
@@ -5945,8 +5945,8 @@ system and gives an overview of their function and contents. | |||
5945 | The ```populate_sdk_base`` <#ref-classes-populate-sdk-*>`__ class | 5945 | The ```populate_sdk_base`` <#ref-classes-populate-sdk-*>`__ class |
5946 | defines the manifest file as follows: SDK_TARGET_MANIFEST = | 5946 | defines the manifest file as follows: SDK_TARGET_MANIFEST = |
5947 | "${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.target.manifest" The location | 5947 | "${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.target.manifest" The location |
5948 | is derived using the ```SDK_DEPLOY`` <#var-SDK_DEPLOY>`__ and | 5948 | is derived using the :term:`SDK_DEPLOY` and |
5949 | ```TOOLCHAIN_OUTPUTNAME`` <#var-TOOLCHAIN_OUTPUTNAME>`__ variables. | 5949 | :term:`TOOLCHAIN_OUTPUTNAME` variables. |
5950 | 5950 | ||
5951 | SDK_TARGETS | 5951 | SDK_TARGETS |
5952 | A list of targets to install from shared state as part of the | 5952 | A list of targets to install from shared state as part of the |
@@ -5958,8 +5958,8 @@ system and gives an overview of their function and contents. | |||
5958 | 5958 | ||
5959 | SDK_TITLE | 5959 | SDK_TITLE |
5960 | The title to be printed when running the SDK installer. By default, | 5960 | The title to be printed when running the SDK installer. By default, |
5961 | this title is based on the ```DISTRO_NAME`` <#var-DISTRO_NAME>`__ or | 5961 | this title is based on the :term:`DISTRO_NAME` or |
5962 | ```DISTRO`` <#var-DISTRO>`__ variable and is set in the | 5962 | :term:`DISTRO` variable and is set in the |
5963 | ```populate_sdk_base`` <#ref-classes-populate-sdk-*>`__ class as | 5963 | ```populate_sdk_base`` <#ref-classes-populate-sdk-*>`__ class as |
5964 | follows: SDK_TITLE ??= "${@d.getVar('DISTRO_NAME') or | 5964 | follows: SDK_TITLE ??= "${@d.getVar('DISTRO_NAME') or |
5965 | d.getVar('DISTRO')} SDK" For the default distribution "poky", | 5965 | d.getVar('DISTRO')} SDK" For the default distribution "poky", |
@@ -5986,12 +5986,12 @@ system and gives an overview of their function and contents. | |||
5986 | "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}','snapshot')}" | 5986 | "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}','snapshot')}" |
5987 | 5987 | ||
5988 | For additional information, see the | 5988 | For additional information, see the |
5989 | ```DISTRO_VERSION`` <#var-DISTRO_VERSION>`__ and | 5989 | :term:`DISTRO_VERSION` and |
5990 | ```DATE`` <#var-DATE>`__ variables. | 5990 | :term:`DATE` variables. |
5991 | 5991 | ||
5992 | SDKEXTPATH | 5992 | SDKEXTPATH |
5993 | The default installation directory for the Extensible SDK. By | 5993 | The default installation directory for the Extensible SDK. By |
5994 | default, this directory is based on the ```DISTRO`` <#var-DISTRO>`__ | 5994 | default, this directory is based on the :term:`DISTRO` |
5995 | variable and is set in the | 5995 | variable and is set in the |
5996 | ```populate_sdk_base`` <#ref-classes-populate-sdk-*>`__ class as | 5996 | ```populate_sdk_base`` <#ref-classes-populate-sdk-*>`__ class as |
5997 | follows: SDKEXTPATH ??= "~/${@d.getVar('DISTRO')}_sdk" For the | 5997 | follows: SDKEXTPATH ??= "~/${@d.getVar('DISTRO')}_sdk" For the |
@@ -6035,7 +6035,7 @@ system and gives an overview of their function and contents. | |||
6035 | SDKTARGETSYSROOT | 6035 | SDKTARGETSYSROOT |
6036 | The full path to the sysroot used for cross-compilation within an SDK | 6036 | The full path to the sysroot used for cross-compilation within an SDK |
6037 | as it will be when installed into the default | 6037 | as it will be when installed into the default |
6038 | ```SDKPATH`` <#var-SDKPATH>`__. | 6038 | :term:`SDKPATH`. |
6039 | 6039 | ||
6040 | SECTION | 6040 | SECTION |
6041 | The section in which packages should be categorized. Package | 6041 | The section in which packages should be categorized. Package |
@@ -6044,7 +6044,7 @@ system and gives an overview of their function and contents. | |||
6044 | SELECTED_OPTIMIZATION | 6044 | SELECTED_OPTIMIZATION |
6045 | Specifies the optimization flags passed to the C compiler when | 6045 | Specifies the optimization flags passed to the C compiler when |
6046 | building for the target. The flags are passed through the default | 6046 | building for the target. The flags are passed through the default |
6047 | value of the ```TARGET_CFLAGS`` <#var-TARGET_CFLAGS>`__ variable. | 6047 | value of the :term:`TARGET_CFLAGS` variable. |
6048 | 6048 | ||
6049 | The ``SELECTED_OPTIMIZATION`` variable takes the value of | 6049 | The ``SELECTED_OPTIMIZATION`` variable takes the value of |
6050 | ``FULL_OPTIMIZATION`` unless ``DEBUG_BUILD`` = "1". If that is the | 6050 | ``FULL_OPTIMIZATION`` unless ``DEBUG_BUILD`` = "1". If that is the |
@@ -6074,7 +6074,7 @@ system and gives an overview of their function and contents. | |||
6074 | 6074 | ||
6075 | SERIAL_CONSOLES_CHECK | 6075 | SERIAL_CONSOLES_CHECK |
6076 | Specifies serial consoles, which must be listed in | 6076 | Specifies serial consoles, which must be listed in |
6077 | ```SERIAL_CONSOLES`` <#var-SERIAL_CONSOLES>`__, to check against | 6077 | :term:`SERIAL_CONSOLES`, to check against |
6078 | ``/proc/console`` before enabling them using getty. This variable | 6078 | ``/proc/console`` before enabling them using getty. This variable |
6079 | allows aliasing in the format: <device>:<alias>. If a device was | 6079 | allows aliasing in the format: <device>:<alias>. If a device was |
6080 | listed as "sclp_line0" in ``/dev/`` and "ttyS0" was listed in | 6080 | listed as "sclp_line0" in ``/dev/`` and "ttyS0" was listed in |
@@ -6175,8 +6175,8 @@ system and gives an overview of their function and contents. | |||
6175 | recipes are fetched regardless of whether or not a recipe is | 6175 | recipes are fetched regardless of whether or not a recipe is |
6176 | compatible with the configuration. A recipe is considered | 6176 | compatible with the configuration. A recipe is considered |
6177 | incompatible with the currently configured machine when either or | 6177 | incompatible with the currently configured machine when either or |
6178 | both the ```COMPATIBLE_MACHINE`` <#var-COMPATIBLE_MACHINE>`__ | 6178 | both the :term:`COMPATIBLE_MACHINE` |
6179 | variable and ```COMPATIBLE_HOST`` <#var-COMPATIBLE_HOST>`__ variables | 6179 | variable and :term:`COMPATIBLE_HOST` variables |
6180 | specify compatibility with a machine other than that of the current | 6180 | specify compatibility with a machine other than that of the current |
6181 | machine or host. | 6181 | machine or host. |
6182 | 6182 | ||
@@ -6188,12 +6188,12 @@ system and gives an overview of their function and contents. | |||
6188 | do not set the variable during a normal build. | 6188 | do not set the variable during a normal build. |
6189 | 6189 | ||
6190 | SOURCE_MIRROR_URL | 6190 | SOURCE_MIRROR_URL |
6191 | Defines your own ```PREMIRRORS`` <#var-PREMIRRORS>`__ from which to | 6191 | Defines your own :term:`PREMIRRORS` from which to |
6192 | first fetch source before attempting to fetch from the upstream | 6192 | first fetch source before attempting to fetch from the upstream |
6193 | specified in ```SRC_URI`` <#var-SRC_URI>`__. | 6193 | specified in :term:`SRC_URI`. |
6194 | 6194 | ||
6195 | To use this variable, you must globally inherit the | 6195 | To use this variable, you must globally inherit the |
6196 | ```own-mirrors`` <#ref-classes-own-mirrors>`__ class and then provide | 6196 | :ref:`own-mirrors <ref-classes-own-mirrors>` class and then provide |
6197 | the URL to your mirrors. Here is the general syntax: INHERIT += | 6197 | the URL to your mirrors. Here is the general syntax: INHERIT += |
6198 | "own-mirrors" SOURCE_MIRROR_URL = | 6198 | "own-mirrors" SOURCE_MIRROR_URL = |
6199 | "http://example.com/my_source_mirror" | 6199 | "http://example.com/my_source_mirror" |
@@ -6209,14 +6209,14 @@ system and gives an overview of their function and contents. | |||
6209 | ``meta/files/common-licenses/``. For the default ``SPDXLICENSEMAP`` | 6209 | ``meta/files/common-licenses/``. For the default ``SPDXLICENSEMAP`` |
6210 | mappings, see the ``meta/conf/licenses.conf`` file. | 6210 | mappings, see the ``meta/conf/licenses.conf`` file. |
6211 | 6211 | ||
6212 | For additional information, see the ```LICENSE`` <#var-LICENSE>`__ | 6212 | For additional information, see the :term:`LICENSE` |
6213 | variable. | 6213 | variable. |
6214 | 6214 | ||
6215 | SPECIAL_PKGSUFFIX | 6215 | SPECIAL_PKGSUFFIX |
6216 | A list of prefixes for ```PN`` <#var-PN>`__ used by the OpenEmbedded | 6216 | A list of prefixes for :term:`PN` used by the OpenEmbedded |
6217 | build system to create variants of recipes or packages. The list | 6217 | build system to create variants of recipes or packages. The list |
6218 | specifies the prefixes to strip off during certain circumstances such | 6218 | specifies the prefixes to strip off during certain circumstances such |
6219 | as the generation of the ```BPN`` <#var-BPN>`__ variable. | 6219 | as the generation of the :term:`BPN` variable. |
6220 | 6220 | ||
6221 | SPL_BINARY | 6221 | SPL_BINARY |
6222 | The file type for the Secondary Program Loader (SPL). Some devices | 6222 | The file type for the Secondary Program Loader (SPL). Some devices |
@@ -6260,9 +6260,9 @@ system and gives an overview of their function and contents. | |||
6260 | BitBake User Manual. | 6260 | BitBake User Manual. |
6261 | 6261 | ||
6262 | - *``file://`` -* Fetches files, which are usually files shipped | 6262 | - *``file://`` -* Fetches files, which are usually files shipped |
6263 | with the `Metadata <#metadata>`__, from the local machine (e.g. | 6263 | with the :term:`Metadata`, from the local machine (e.g. |
6264 | `patch <&YOCTO_DOCS_OM_URL;#patching-dev-environment>`__ files). | 6264 | `patch <&YOCTO_DOCS_OM_URL;#patching-dev-environment>`__ files). |
6265 | The path is relative to the ```FILESPATH`` <#var-FILESPATH>`__ | 6265 | The path is relative to the :term:`FILESPATH` |
6266 | variable. Thus, the build system searches, in order, from the | 6266 | variable. Thus, the build system searches, in order, from the |
6267 | following directories, which are assumed to be a subdirectories of | 6267 | following directories, which are assumed to be a subdirectories of |
6268 | the directory in which the recipe file (``.bb``) or append file | 6268 | the directory in which the recipe file (``.bb``) or append file |
@@ -6334,13 +6334,13 @@ system and gives an overview of their function and contents. | |||
6334 | patch. The default level is 1. | 6334 | patch. The default level is 1. |
6335 | 6335 | ||
6336 | - *``patchdir`` -* Specifies the directory in which the patch should | 6336 | - *``patchdir`` -* Specifies the directory in which the patch should |
6337 | be applied. The default is ``${``\ ```S`` <#var-S>`__\ ``}``. | 6337 | be applied. The default is ``${``\ :term:`S`\ ``}``. |
6338 | 6338 | ||
6339 | Here are options specific to recipes building code from a revision | 6339 | Here are options specific to recipes building code from a revision |
6340 | control system: | 6340 | control system: |
6341 | 6341 | ||
6342 | - *``mindate`` -* Apply the patch only if | 6342 | - *``mindate`` -* Apply the patch only if |
6343 | ```SRCDATE`` <#var-SRCDATE>`__ is equal to or greater than | 6343 | :term:`SRCDATE` is equal to or greater than |
6344 | ``mindate``. | 6344 | ``mindate``. |
6345 | 6345 | ||
6346 | - *``maxdate`` -* Apply the patch only if ``SRCDATE`` is not later | 6346 | - *``maxdate`` -* Apply the patch only if ``SRCDATE`` is not later |
@@ -6364,7 +6364,7 @@ system and gives an overview of their function and contents. | |||
6364 | an archive. The default action is to unpack the file. | 6364 | an archive. The default action is to unpack the file. |
6365 | 6365 | ||
6366 | - *``destsuffix`` -* Places the file (or extracts its contents) into | 6366 | - *``destsuffix`` -* Places the file (or extracts its contents) into |
6367 | the specified subdirectory of ```WORKDIR`` <#var-WORKDIR>`__ when | 6367 | the specified subdirectory of :term:`WORKDIR` when |
6368 | the Git fetcher is used. | 6368 | the Git fetcher is used. |
6369 | 6369 | ||
6370 | - *``subdir`` -* Places the file (or extracts its contents) into the | 6370 | - *``subdir`` -* Places the file (or extracts its contents) into the |
@@ -6398,10 +6398,10 @@ system and gives an overview of their function and contents. | |||
6398 | 6398 | ||
6399 | SRCPV | 6399 | SRCPV |
6400 | Returns the version string of the current package. This string is | 6400 | Returns the version string of the current package. This string is |
6401 | used to help define the value of ```PV`` <#var-PV>`__. | 6401 | used to help define the value of :term:`PV`. |
6402 | 6402 | ||
6403 | The ``SRCPV`` variable is defined in the ``meta/conf/bitbake.conf`` | 6403 | The ``SRCPV`` variable is defined in the ``meta/conf/bitbake.conf`` |
6404 | configuration file in the `Source Directory <#source-directory>`__ as | 6404 | configuration file in the :term:`Source Directory` as |
6405 | follows: SRCPV = "${@bb.fetch2.get_srcrev(d)}" | 6405 | follows: SRCPV = "${@bb.fetch2.get_srcrev(d)}" |
6406 | 6406 | ||
6407 | Recipes that need to define ``PV`` do so with the help of the | 6407 | Recipes that need to define ``PV`` do so with the help of the |
@@ -6433,7 +6433,7 @@ system and gives an overview of their function and contents. | |||
6433 | 6433 | ||
6434 | SSTATE_MIRROR_ALLOW_NETWORK | 6434 | SSTATE_MIRROR_ALLOW_NETWORK |
6435 | If set to "1", allows fetches from mirrors that are specified in | 6435 | If set to "1", allows fetches from mirrors that are specified in |
6436 | ```SSTATE_MIRRORS`` <#var-SSTATE_MIRRORS>`__ to work even when | 6436 | :term:`SSTATE_MIRRORS` to work even when |
6437 | fetching from the network is disabled by setting ``BB_NO_NETWORK`` to | 6437 | fetching from the network is disabled by setting ``BB_NO_NETWORK`` to |
6438 | "1". Using the ``SSTATE_MIRROR_ALLOW_NETWORK`` variable is useful if | 6438 | "1". Using the ``SSTATE_MIRROR_ALLOW_NETWORK`` variable is useful if |
6439 | you have set ``SSTATE_MIRRORS`` to point to an internal server for | 6439 | you have set ``SSTATE_MIRRORS`` to point to an internal server for |
@@ -6443,8 +6443,8 @@ system and gives an overview of their function and contents. | |||
6443 | SSTATE_MIRRORS | 6443 | SSTATE_MIRRORS |
6444 | Configures the OpenEmbedded build system to search other mirror | 6444 | Configures the OpenEmbedded build system to search other mirror |
6445 | locations for prebuilt cache data objects before building out the | 6445 | locations for prebuilt cache data objects before building out the |
6446 | data. This variable works like fetcher ```MIRRORS`` <#var-MIRRORS>`__ | 6446 | data. This variable works like fetcher :term:`MIRRORS` |
6447 | and ```PREMIRRORS`` <#var-PREMIRRORS>`__ and points to the cache | 6447 | and :term:`PREMIRRORS` and points to the cache |
6448 | locations to check for the shared state (sstate) objects. | 6448 | locations to check for the shared state (sstate) objects. |
6449 | 6449 | ||
6450 | You can specify a filesystem directory or a remote URL such as HTTP | 6450 | You can specify a filesystem directory or a remote URL such as HTTP |
@@ -6456,15 +6456,15 @@ system and gives an overview of their function and contents. | |||
6456 | a different GCC version for native builds, you must configure | 6456 | a different GCC version for native builds, you must configure |
6457 | ``SSTATE_MIRRORS`` with a regular expression that maps local search | 6457 | ``SSTATE_MIRRORS`` with a regular expression that maps local search |
6458 | paths to server paths. The paths need to take into account | 6458 | paths to server paths. The paths need to take into account |
6459 | ```NATIVELSBSTRING`` <#var-NATIVELSBSTRING>`__ set by the | 6459 | :term:`NATIVELSBSTRING` set by the |
6460 | ```uninative`` <#ref-classes-uninative>`__ class. For example, the | 6460 | :ref:`uninative <ref-classes-uninative>` class. For example, the |
6461 | following maps the local search path ``universal-4.9`` to the | 6461 | following maps the local search path ``universal-4.9`` to the |
6462 | server-provided path server_url_sstate_path: SSTATE_MIRRORS ?= | 6462 | server-provided path server_url_sstate_path: SSTATE_MIRRORS ?= |
6463 | file://universal-4.9/(.*) | 6463 | file://universal-4.9/(.*) |
6464 | http://server_url_sstate_path/universal-4.8/\1 \\n | 6464 | http://server_url_sstate_path/universal-4.8/\1 \\n |
6465 | 6465 | ||
6466 | If a mirror uses the same structure as | 6466 | If a mirror uses the same structure as |
6467 | ```SSTATE_DIR`` <#var-SSTATE_DIR>`__, you need to add "PATH" at the | 6467 | :term:`SSTATE_DIR`, you need to add "PATH" at the |
6468 | end as shown in the examples below. The build system substitutes the | 6468 | end as shown in the examples below. The build system substitutes the |
6469 | correct path within the directory structure. SSTATE_MIRRORS ?= "\\ | 6469 | correct path within the directory structure. SSTATE_MIRRORS ?= "\\ |
6470 | file://.\* | 6470 | file://.\* |
@@ -6484,11 +6484,11 @@ system and gives an overview of their function and contents. | |||
6484 | by the ``SSTATE_SCAN_FILES`` variable. Typically, recipes add files | 6484 | by the ``SSTATE_SCAN_FILES`` variable. Typically, recipes add files |
6485 | they want to be scanned to the value of ``SSTATE_SCAN_FILES`` rather | 6485 | they want to be scanned to the value of ``SSTATE_SCAN_FILES`` rather |
6486 | than the variable being comprehensively set. The | 6486 | than the variable being comprehensively set. The |
6487 | ```sstate`` <#ref-classes-sstate>`__ class specifies the default list | 6487 | :ref:`sstate <ref-classes-sstate>` class specifies the default list |
6488 | of files. | 6488 | of files. |
6489 | 6489 | ||
6490 | For details on the process, see the | 6490 | For details on the process, see the |
6491 | ```staging`` <#ref-classes-staging>`__ class. | 6491 | :ref:`staging <ref-classes-staging>` class. |
6492 | 6492 | ||
6493 | STAGING_BASE_LIBDIR_NATIVE | 6493 | STAGING_BASE_LIBDIR_NATIVE |
6494 | Specifies the path to the ``/lib`` subdirectory of the sysroot | 6494 | Specifies the path to the ``/lib`` subdirectory of the sysroot |
@@ -6497,12 +6497,12 @@ system and gives an overview of their function and contents. | |||
6497 | STAGING_BASELIBDIR | 6497 | STAGING_BASELIBDIR |
6498 | Specifies the path to the ``/lib`` subdirectory of the sysroot | 6498 | Specifies the path to the ``/lib`` subdirectory of the sysroot |
6499 | directory for the target for which the current recipe is being built | 6499 | directory for the target for which the current recipe is being built |
6500 | (```STAGING_DIR_HOST`` <#var-STAGING_DIR_HOST>`__). | 6500 | (:term:`STAGING_DIR_HOST`). |
6501 | 6501 | ||
6502 | STAGING_BINDIR | 6502 | STAGING_BINDIR |
6503 | Specifies the path to the ``/usr/bin`` subdirectory of the sysroot | 6503 | Specifies the path to the ``/usr/bin`` subdirectory of the sysroot |
6504 | directory for the target for which the current recipe is being built | 6504 | directory for the target for which the current recipe is being built |
6505 | (```STAGING_DIR_HOST`` <#var-STAGING_DIR_HOST>`__). | 6505 | (:term:`STAGING_DIR_HOST`). |
6506 | 6506 | ||
6507 | STAGING_BINDIR_CROSS | 6507 | STAGING_BINDIR_CROSS |
6508 | Specifies the path to the directory containing binary configuration | 6508 | Specifies the path to the directory containing binary configuration |
@@ -6528,7 +6528,7 @@ system and gives an overview of their function and contents. | |||
6528 | STAGING_DATADIR | 6528 | STAGING_DATADIR |
6529 | Specifies the path to the ``/usr/share`` subdirectory of the sysroot | 6529 | Specifies the path to the ``/usr/share`` subdirectory of the sysroot |
6530 | directory for the target for which the current recipe is being built | 6530 | directory for the target for which the current recipe is being built |
6531 | (```STAGING_DIR_HOST`` <#var-STAGING_DIR_HOST>`__). | 6531 | (:term:`STAGING_DIR_HOST`). |
6532 | 6532 | ||
6533 | STAGING_DATADIR_NATIVE | 6533 | STAGING_DATADIR_NATIVE |
6534 | Specifies the path to the ``/usr/share`` subdirectory of the sysroot | 6534 | Specifies the path to the ``/usr/share`` subdirectory of the sysroot |
@@ -6539,14 +6539,14 @@ system and gives an overview of their function and contents. | |||
6539 | during packaging. | 6539 | during packaging. |
6540 | 6540 | ||
6541 | For information on how staging for recipe-specific sysroots occurs, | 6541 | For information on how staging for recipe-specific sysroots occurs, |
6542 | see the ```do_populate_sysroot`` <#ref-tasks-populate_sysroot>`__ | 6542 | see the :ref:`ref-tasks-populate_sysroot` |
6543 | task, the "`Sharing Files Between | 6543 | task, the "`Sharing Files Between |
6544 | Recipes <&YOCTO_DOCS_DEV_URL;#new-sharing-files-between-recipes>`__" | 6544 | Recipes <&YOCTO_DOCS_DEV_URL;#new-sharing-files-between-recipes>`__" |
6545 | section in the Yocto Project Development Tasks Manual, the | 6545 | section in the Yocto Project Development Tasks Manual, the |
6546 | "`Configuration, Compilation, and | 6546 | "`Configuration, Compilation, and |
6547 | Staging <&YOCTO_DOCS_OM_URL;#configuration-compilation-and-staging-dev-environment>`__" | 6547 | Staging <&YOCTO_DOCS_OM_URL;#configuration-compilation-and-staging-dev-environment>`__" |
6548 | section in the Yocto Project Overview and Concepts Manual, and the | 6548 | section in the Yocto Project Overview and Concepts Manual, and the |
6549 | ```SYSROOT_DIRS`` <#var-SYSROOT_DIRS>`__ variable. | 6549 | :term:`SYSROOT_DIRS` variable. |
6550 | 6550 | ||
6551 | .. note:: | 6551 | .. note:: |
6552 | 6552 | ||
@@ -6566,15 +6566,15 @@ system and gives an overview of their function and contents. | |||
6566 | Specifies the path to the sysroot directory for the system on which | 6566 | Specifies the path to the sysroot directory for the system on which |
6567 | the component is built to run (the system that hosts the component). | 6567 | the component is built to run (the system that hosts the component). |
6568 | For most recipes, this sysroot is the one in which that recipe's | 6568 | For most recipes, this sysroot is the one in which that recipe's |
6569 | ```do_populate_sysroot`` <#ref-tasks-populate_sysroot>`__ task copies | 6569 | :ref:`ref-tasks-populate_sysroot` task copies |
6570 | files. Exceptions include ``-native`` recipes, where the | 6570 | files. Exceptions include ``-native`` recipes, where the |
6571 | ``do_populate_sysroot`` task instead uses | 6571 | ``do_populate_sysroot`` task instead uses |
6572 | ```STAGING_DIR_NATIVE`` <#var-STAGING_DIR_NATIVE>`__. Depending on | 6572 | :term:`STAGING_DIR_NATIVE`. Depending on |
6573 | the type of recipe and the build target, ``STAGING_DIR_HOST`` can | 6573 | the type of recipe and the build target, ``STAGING_DIR_HOST`` can |
6574 | have the following values: | 6574 | have the following values: |
6575 | 6575 | ||
6576 | - For recipes building for the target machine, the value is | 6576 | - For recipes building for the target machine, the value is |
6577 | "${`STAGING_DIR <#var-STAGING_DIR>`__}/${`MACHINE <#var-MACHINE>`__}". | 6577 | "${:term:`STAGING_DIR`}/${:term:`MACHINE`}". |
6578 | 6578 | ||
6579 | - For native recipes building for the build host, the value is empty | 6579 | - For native recipes building for the build host, the value is empty |
6580 | given the assumption that when building for the build host, the | 6580 | given the assumption that when building for the build host, the |
@@ -6586,16 +6586,16 @@ system and gives an overview of their function and contents. | |||
6586 | as ``/usr``. Rather, these recipes are installed into | 6586 | as ``/usr``. Rather, these recipes are installed into |
6587 | ``STAGING_DIR_NATIVE``. When compiling ``-native`` recipes, | 6587 | ``STAGING_DIR_NATIVE``. When compiling ``-native`` recipes, |
6588 | standard build environment variables such as | 6588 | standard build environment variables such as |
6589 | ```CPPFLAGS`` <#var-CPPFLAGS>`__ and | 6589 | :term:`CPPFLAGS` and |
6590 | ```CFLAGS`` <#var-CFLAGS>`__ are set up so that both host paths | 6590 | :term:`CFLAGS` are set up so that both host paths |
6591 | and ``STAGING_DIR_NATIVE`` are searched for libraries and | 6591 | and ``STAGING_DIR_NATIVE`` are searched for libraries and |
6592 | headers using, for example, GCC's ``-isystem`` option. | 6592 | headers using, for example, GCC's ``-isystem`` option. |
6593 | 6593 | ||
6594 | Thus, the emphasis is that the ``STAGING_DIR*`` variables | 6594 | Thus, the emphasis is that the ``STAGING_DIR*`` variables |
6595 | should be viewed as input variables by tasks such as | 6595 | should be viewed as input variables by tasks such as |
6596 | ```do_configure`` <#ref-tasks-configure>`__, | 6596 | :ref:`ref-tasks-configure`, |
6597 | ```do_compile`` <#ref-tasks-compile>`__, and | 6597 | :ref:`ref-tasks-compile`, and |
6598 | ```do_install`` <#ref-tasks-install>`__. Having the real system | 6598 | :ref:`ref-tasks-install`. Having the real system |
6599 | root correspond to ``STAGING_DIR_HOST`` makes conceptual sense | 6599 | root correspond to ``STAGING_DIR_HOST`` makes conceptual sense |
6600 | for ``-native`` recipes, as they make use of host headers and | 6600 | for ``-native`` recipes, as they make use of host headers and |
6601 | libraries. | 6601 | libraries. |
@@ -6608,7 +6608,7 @@ system and gives an overview of their function and contents. | |||
6608 | Specifies the path to the sysroot used for the system for which the | 6608 | Specifies the path to the sysroot used for the system for which the |
6609 | component generates code. For components that do not generate code, | 6609 | component generates code. For components that do not generate code, |
6610 | which is the majority, ``STAGING_DIR_TARGET`` is set to match | 6610 | which is the majority, ``STAGING_DIR_TARGET`` is set to match |
6611 | ```STAGING_DIR_HOST`` <#var-STAGING_DIR_HOST>`__. | 6611 | :term:`STAGING_DIR_HOST`. |
6612 | 6612 | ||
6613 | Some recipes build binaries that can run on the target system but | 6613 | Some recipes build binaries that can run on the target system but |
6614 | those binaries in turn generate code for another different system | 6614 | those binaries in turn generate code for another different system |
@@ -6627,12 +6627,12 @@ system and gives an overview of their function and contents. | |||
6627 | STAGING_EXECPREFIXDIR | 6627 | STAGING_EXECPREFIXDIR |
6628 | Specifies the path to the ``/usr`` subdirectory of the sysroot | 6628 | Specifies the path to the ``/usr`` subdirectory of the sysroot |
6629 | directory for the target for which the current recipe is being built | 6629 | directory for the target for which the current recipe is being built |
6630 | (```STAGING_DIR_HOST`` <#var-STAGING_DIR_HOST>`__). | 6630 | (:term:`STAGING_DIR_HOST`). |
6631 | 6631 | ||
6632 | STAGING_INCDIR | 6632 | STAGING_INCDIR |
6633 | Specifies the path to the ``/usr/include`` subdirectory of the | 6633 | Specifies the path to the ``/usr/include`` subdirectory of the |
6634 | sysroot directory for the target for which the current recipe being | 6634 | sysroot directory for the target for which the current recipe being |
6635 | built (```STAGING_DIR_HOST`` <#var-STAGING_DIR_HOST>`__). | 6635 | built (:term:`STAGING_DIR_HOST`). |
6636 | 6636 | ||
6637 | STAGING_INCDIR_NATIVE | 6637 | STAGING_INCDIR_NATIVE |
6638 | Specifies the path to the ``/usr/include`` subdirectory of the | 6638 | Specifies the path to the ``/usr/include`` subdirectory of the |
@@ -6652,7 +6652,7 @@ system and gives an overview of their function and contents. | |||
6652 | STAGING_LIBDIR | 6652 | STAGING_LIBDIR |
6653 | Specifies the path to the ``/usr/lib`` subdirectory of the sysroot | 6653 | Specifies the path to the ``/usr/lib`` subdirectory of the sysroot |
6654 | directory for the target for which the current recipe is being built | 6654 | directory for the target for which the current recipe is being built |
6655 | (```STAGING_DIR_HOST`` <#var-STAGING_DIR_HOST>`__). | 6655 | (:term:`STAGING_DIR_HOST`). |
6656 | 6656 | ||
6657 | STAGING_LIBDIR_NATIVE | 6657 | STAGING_LIBDIR_NATIVE |
6658 | Specifies the path to the ``/usr/lib`` subdirectory of the sysroot | 6658 | Specifies the path to the ``/usr/lib`` subdirectory of the sysroot |
@@ -6671,10 +6671,10 @@ system and gives an overview of their function and contents. | |||
6671 | Tasks <&YOCTO_DOCS_OM_URL;#stamp-files-and-the-rerunning-of-tasks>`__" | 6671 | Tasks <&YOCTO_DOCS_OM_URL;#stamp-files-and-the-rerunning-of-tasks>`__" |
6672 | section in the Yocto Project Overview and Concepts Manual. | 6672 | section in the Yocto Project Overview and Concepts Manual. |
6673 | 6673 | ||
6674 | See ```STAMPS_DIR`` <#var-STAMPS_DIR>`__, | 6674 | See :term:`STAMPS_DIR`, |
6675 | ```MULTIMACH_TARGET_SYS`` <#var-MULTIMACH_TARGET_SYS>`__, | 6675 | :term:`MULTIMACH_TARGET_SYS`, |
6676 | ```PN`` <#var-PN>`__, ```EXTENDPE`` <#var-EXTENDPE>`__, | 6676 | :term:`PN`, :term:`EXTENDPE`, |
6677 | ```PV`` <#var-PV>`__, and ```PR`` <#var-PR>`__ for related variable | 6677 | :term:`PV`, and :term:`PR` for related variable |
6678 | information. | 6678 | information. |
6679 | 6679 | ||
6680 | STAMPS_DIR | 6680 | STAMPS_DIR |
@@ -6689,7 +6689,7 @@ system and gives an overview of their function and contents. | |||
6689 | The short (72 characters or less) summary of the binary package for | 6689 | The short (72 characters or less) summary of the binary package for |
6690 | packaging systems such as ``opkg``, ``rpm``, or ``dpkg``. By default, | 6690 | packaging systems such as ``opkg``, ``rpm``, or ``dpkg``. By default, |
6691 | ``SUMMARY`` is used to define the | 6691 | ``SUMMARY`` is used to define the |
6692 | ```DESCRIPTION`` <#var-DESCRIPTION>`__ variable if ``DESCRIPTION`` is | 6692 | :term:`DESCRIPTION` variable if ``DESCRIPTION`` is |
6693 | not set in the recipe. | 6693 | not set in the recipe. |
6694 | 6694 | ||
6695 | SVNDIR | 6695 | SVNDIR |
@@ -6702,7 +6702,7 @@ system and gives an overview of their function and contents. | |||
6702 | follows where "X" is the console number you want to use: | 6702 | follows where "X" is the console number you want to use: |
6703 | SYSLINUX_DEFAULT_CONSOLE = "console=ttyX" | 6703 | SYSLINUX_DEFAULT_CONSOLE = "console=ttyX" |
6704 | 6704 | ||
6705 | The ```syslinux`` <#ref-classes-syslinux>`__ class initially sets | 6705 | The :ref:`syslinux <ref-classes-syslinux>` class initially sets |
6706 | this variable to null but then checks for a value later. | 6706 | this variable to null but then checks for a value later. |
6707 | 6707 | ||
6708 | SYSLINUX_OPTS | 6708 | SYSLINUX_OPTS |
@@ -6710,14 +6710,14 @@ system and gives an overview of their function and contents. | |||
6710 | this variable in your recipe. If you want to list multiple options, | 6710 | this variable in your recipe. If you want to list multiple options, |
6711 | separate the options with a semicolon character (``;``). | 6711 | separate the options with a semicolon character (``;``). |
6712 | 6712 | ||
6713 | The ```syslinux`` <#ref-classes-syslinux>`__ class uses this variable | 6713 | The :ref:`syslinux <ref-classes-syslinux>` class uses this variable |
6714 | to create a set of options. | 6714 | to create a set of options. |
6715 | 6715 | ||
6716 | SYSLINUX_SERIAL | 6716 | SYSLINUX_SERIAL |
6717 | Specifies the alternate serial port or turns it off. To turn off | 6717 | Specifies the alternate serial port or turns it off. To turn off |
6718 | serial, set this variable to an empty string in your recipe. The | 6718 | serial, set this variable to an empty string in your recipe. The |
6719 | variable's default value is set in the | 6719 | variable's default value is set in the |
6720 | ```syslinux`` <#ref-classes-syslinux>`__ class as follows: | 6720 | :ref:`syslinux <ref-classes-syslinux>` class as follows: |
6721 | SYSLINUX_SERIAL ?= "0 115200" | 6721 | SYSLINUX_SERIAL ?= "0 115200" |
6722 | 6722 | ||
6723 | The class checks for and uses the variable as needed. | 6723 | The class checks for and uses the variable as needed. |
@@ -6726,36 +6726,36 @@ system and gives an overview of their function and contents. | |||
6726 | An ``.LSS`` file used as the background for the VGA boot menu when | 6726 | An ``.LSS`` file used as the background for the VGA boot menu when |
6727 | you use the boot menu. You need to set this variable in your recipe. | 6727 | you use the boot menu. You need to set this variable in your recipe. |
6728 | 6728 | ||
6729 | The ```syslinux`` <#ref-classes-syslinux>`__ class checks for this | 6729 | The :ref:`syslinux <ref-classes-syslinux>` class checks for this |
6730 | variable and if found, the OpenEmbedded build system installs the | 6730 | variable and if found, the OpenEmbedded build system installs the |
6731 | splash screen. | 6731 | splash screen. |
6732 | 6732 | ||
6733 | SYSLINUX_SERIAL_TTY | 6733 | SYSLINUX_SERIAL_TTY |
6734 | Specifies the alternate console=tty... kernel boot argument. The | 6734 | Specifies the alternate console=tty... kernel boot argument. The |
6735 | variable's default value is set in the | 6735 | variable's default value is set in the |
6736 | ```syslinux`` <#ref-classes-syslinux>`__ class as follows: | 6736 | :ref:`syslinux <ref-classes-syslinux>` class as follows: |
6737 | SYSLINUX_SERIAL_TTY ?= "console=ttyS0,115200" | 6737 | SYSLINUX_SERIAL_TTY ?= "console=ttyS0,115200" |
6738 | 6738 | ||
6739 | The class checks for and uses the variable as needed. | 6739 | The class checks for and uses the variable as needed. |
6740 | 6740 | ||
6741 | SYSROOT_DESTDIR | 6741 | SYSROOT_DESTDIR |
6742 | Points to the temporary directory under the work directory (default | 6742 | Points to the temporary directory under the work directory (default |
6743 | "``${``\ ```WORKDIR`` <#var-WORKDIR>`__\ ``}/sysroot-destdir``") | 6743 | "``${``\ :term:`WORKDIR`\ ``}/sysroot-destdir``") |
6744 | where the files populated into the sysroot are assembled during the | 6744 | where the files populated into the sysroot are assembled during the |
6745 | ```do_populate_sysroot`` <#ref-tasks-populate_sysroot>`__ task. | 6745 | :ref:`ref-tasks-populate_sysroot` task. |
6746 | 6746 | ||
6747 | SYSROOT_DIRS | 6747 | SYSROOT_DIRS |
6748 | Directories that are staged into the sysroot by the | 6748 | Directories that are staged into the sysroot by the |
6749 | ```do_populate_sysroot`` <#ref-tasks-populate_sysroot>`__ task. By | 6749 | :ref:`ref-tasks-populate_sysroot` task. By |
6750 | default, the following directories are staged: SYSROOT_DIRS = " \\ | 6750 | default, the following directories are staged: SYSROOT_DIRS = " \\ |
6751 | ${includedir} \\ ${libdir} \\ ${base_libdir} \\ | 6751 | ${includedir} \\ ${libdir} \\ ${base_libdir} \\ |
6752 | ${nonarch_base_libdir} \\ ${datadir} \\ " | 6752 | ${nonarch_base_libdir} \\ ${datadir} \\ " |
6753 | 6753 | ||
6754 | SYSROOT_DIRS_BLACKLIST | 6754 | SYSROOT_DIRS_BLACKLIST |
6755 | Directories that are not staged into the sysroot by the | 6755 | Directories that are not staged into the sysroot by the |
6756 | ```do_populate_sysroot`` <#ref-tasks-populate_sysroot>`__ task. You | 6756 | :ref:`ref-tasks-populate_sysroot` task. You |
6757 | can use this variable to exclude certain subdirectories of | 6757 | can use this variable to exclude certain subdirectories of |
6758 | directories listed in ```SYSROOT_DIRS`` <#var-SYSROOT_DIRS>`__ from | 6758 | directories listed in :term:`SYSROOT_DIRS` from |
6759 | staging. By default, the following directories are not staged: | 6759 | staging. By default, the following directories are not staged: |
6760 | SYSROOT_DIRS_BLACKLIST = " \\ ${mandir} \\ ${docdir} \\ ${infodir} \\ | 6760 | SYSROOT_DIRS_BLACKLIST = " \\ ${mandir} \\ ${docdir} \\ ${infodir} \\ |
6761 | ${datadir}/locale \\ ${datadir}/applications \\ ${datadir}/fonts \\ | 6761 | ${datadir}/locale \\ ${datadir}/applications \\ ${datadir}/fonts \\ |
@@ -6763,9 +6763,9 @@ system and gives an overview of their function and contents. | |||
6763 | 6763 | ||
6764 | SYSROOT_DIRS_NATIVE | 6764 | SYSROOT_DIRS_NATIVE |
6765 | Extra directories staged into the sysroot by the | 6765 | Extra directories staged into the sysroot by the |
6766 | ```do_populate_sysroot`` <#ref-tasks-populate_sysroot>`__ task for | 6766 | :ref:`ref-tasks-populate_sysroot` task for |
6767 | ``-native`` recipes, in addition to those specified in | 6767 | ``-native`` recipes, in addition to those specified in |
6768 | ```SYSROOT_DIRS`` <#var-SYSROOT_DIRS>`__. By default, the following | 6768 | :term:`SYSROOT_DIRS`. By default, the following |
6769 | extra directories are staged: SYSROOT_DIRS_NATIVE = " \\ ${bindir} \\ | 6769 | extra directories are staged: SYSROOT_DIRS_NATIVE = " \\ ${bindir} \\ |
6770 | ${sbindir} \\ ${base_bindir} \\ ${base_sbindir} \\ ${libexecdir} \\ | 6770 | ${sbindir} \\ ${base_bindir} \\ ${base_sbindir} \\ ${libexecdir} \\ |
6771 | ${sysconfdir} \\ ${localstatedir} \\ " | 6771 | ${sysconfdir} \\ ${localstatedir} \\ " |
@@ -6785,50 +6785,50 @@ system and gives an overview of their function and contents. | |||
6785 | processing on the staged files, or to stage additional files. | 6785 | processing on the staged files, or to stage additional files. |
6786 | 6786 | ||
6787 | SYSTEMD_AUTO_ENABLE | 6787 | SYSTEMD_AUTO_ENABLE |
6788 | When inheriting the ```systemd`` <#ref-classes-systemd>`__ class, | 6788 | When inheriting the :ref:`systemd <ref-classes-systemd>` class, |
6789 | this variable specifies whether the specified service in | 6789 | this variable specifies whether the specified service in |
6790 | ```SYSTEMD_SERVICE`` <#var-SYSTEMD_SERVICE>`__ should start | 6790 | :term:`SYSTEMD_SERVICE` should start |
6791 | automatically or not. By default, the service is enabled to | 6791 | automatically or not. By default, the service is enabled to |
6792 | automatically start at boot time. The default setting is in the | 6792 | automatically start at boot time. The default setting is in the |
6793 | ```systemd`` <#ref-classes-systemd>`__ class as follows: | 6793 | :ref:`systemd <ref-classes-systemd>` class as follows: |
6794 | SYSTEMD_AUTO_ENABLE ??= "enable" | 6794 | SYSTEMD_AUTO_ENABLE ??= "enable" |
6795 | 6795 | ||
6796 | You can disable the service by setting the variable to "disable". | 6796 | You can disable the service by setting the variable to "disable". |
6797 | 6797 | ||
6798 | SYSTEMD_BOOT_CFG | 6798 | SYSTEMD_BOOT_CFG |
6799 | When ```EFI_PROVIDER`` <#var-EFI_PROVIDER>`__ is set to | 6799 | When :term:`EFI_PROVIDER` is set to |
6800 | "systemd-boot", the ``SYSTEMD_BOOT_CFG`` variable specifies the | 6800 | "systemd-boot", the ``SYSTEMD_BOOT_CFG`` variable specifies the |
6801 | configuration file that should be used. By default, the | 6801 | configuration file that should be used. By default, the |
6802 | ```systemd-boot`` <#ref-classes-systemd-boot>`__ class sets the | 6802 | :ref:`systemd-boot <ref-classes-systemd-boot>` class sets the |
6803 | ``SYSTEMD_BOOT_CFG`` as follows: SYSTEMD_BOOT_CFG ?= | 6803 | ``SYSTEMD_BOOT_CFG`` as follows: SYSTEMD_BOOT_CFG ?= |
6804 | "${`S <#var-S>`__}/loader.conf" | 6804 | "${:term:`S`}/loader.conf" |
6805 | 6805 | ||
6806 | For information on Systemd-boot, see the `Systemd-boot | 6806 | For information on Systemd-boot, see the `Systemd-boot |
6807 | documentation <http://www.freedesktop.org/wiki/Software/systemd/systemd-boot/>`__. | 6807 | documentation <http://www.freedesktop.org/wiki/Software/systemd/systemd-boot/>`__. |
6808 | 6808 | ||
6809 | SYSTEMD_BOOT_ENTRIES | 6809 | SYSTEMD_BOOT_ENTRIES |
6810 | When ```EFI_PROVIDER`` <#var-EFI_PROVIDER>`__ is set to | 6810 | When :term:`EFI_PROVIDER` is set to |
6811 | "systemd-boot", the ``SYSTEMD_BOOT_ENTRIES`` variable specifies a | 6811 | "systemd-boot", the ``SYSTEMD_BOOT_ENTRIES`` variable specifies a |
6812 | list of entry files (``*.conf``) to install that contain one boot | 6812 | list of entry files (``*.conf``) to install that contain one boot |
6813 | entry per file. By default, the | 6813 | entry per file. By default, the |
6814 | ```systemd-boot`` <#ref-classes-systemd-boot>`__ class sets the | 6814 | :ref:`systemd-boot <ref-classes-systemd-boot>` class sets the |
6815 | ``SYSTEMD_BOOT_ENTRIES`` as follows: SYSTEMD_BOOT_ENTRIES ?= "" | 6815 | ``SYSTEMD_BOOT_ENTRIES`` as follows: SYSTEMD_BOOT_ENTRIES ?= "" |
6816 | 6816 | ||
6817 | For information on Systemd-boot, see the `Systemd-boot | 6817 | For information on Systemd-boot, see the `Systemd-boot |
6818 | documentation <http://www.freedesktop.org/wiki/Software/systemd/systemd-boot/>`__. | 6818 | documentation <http://www.freedesktop.org/wiki/Software/systemd/systemd-boot/>`__. |
6819 | 6819 | ||
6820 | SYSTEMD_BOOT_TIMEOUT | 6820 | SYSTEMD_BOOT_TIMEOUT |
6821 | When ```EFI_PROVIDER`` <#var-EFI_PROVIDER>`__ is set to | 6821 | When :term:`EFI_PROVIDER` is set to |
6822 | "systemd-boot", the ``SYSTEMD_BOOT_TIMEOUT`` variable specifies the | 6822 | "systemd-boot", the ``SYSTEMD_BOOT_TIMEOUT`` variable specifies the |
6823 | boot menu timeout in seconds. By default, the | 6823 | boot menu timeout in seconds. By default, the |
6824 | ```systemd-boot`` <#ref-classes-systemd-boot>`__ class sets the | 6824 | :ref:`systemd-boot <ref-classes-systemd-boot>` class sets the |
6825 | ``SYSTEMD_BOOT_TIMEOUT`` as follows: SYSTEMD_BOOT_TIMEOUT ?= "10" | 6825 | ``SYSTEMD_BOOT_TIMEOUT`` as follows: SYSTEMD_BOOT_TIMEOUT ?= "10" |
6826 | 6826 | ||
6827 | For information on Systemd-boot, see the `Systemd-boot | 6827 | For information on Systemd-boot, see the `Systemd-boot |
6828 | documentation <http://www.freedesktop.org/wiki/Software/systemd/systemd-boot/>`__. | 6828 | documentation <http://www.freedesktop.org/wiki/Software/systemd/systemd-boot/>`__. |
6829 | 6829 | ||
6830 | SYSTEMD_PACKAGES | 6830 | SYSTEMD_PACKAGES |
6831 | When inheriting the ```systemd`` <#ref-classes-systemd>`__ class, | 6831 | When inheriting the :ref:`systemd <ref-classes-systemd>` class, |
6832 | this variable locates the systemd unit files when they are not found | 6832 | this variable locates the systemd unit files when they are not found |
6833 | in the main recipe's package. By default, the ``SYSTEMD_PACKAGES`` | 6833 | in the main recipe's package. By default, the ``SYSTEMD_PACKAGES`` |
6834 | variable is set such that the systemd unit files are assumed to | 6834 | variable is set such that the systemd unit files are assumed to |
@@ -6839,7 +6839,7 @@ system and gives an overview of their function and contents. | |||
6839 | the build system can find the systemd unit files. | 6839 | the build system can find the systemd unit files. |
6840 | 6840 | ||
6841 | SYSTEMD_SERVICE | 6841 | SYSTEMD_SERVICE |
6842 | When inheriting the ```systemd`` <#ref-classes-systemd>`__ class, | 6842 | When inheriting the :ref:`systemd <ref-classes-systemd>` class, |
6843 | this variable specifies the systemd service name for a package. | 6843 | this variable specifies the systemd service name for a package. |
6844 | 6844 | ||
6845 | When you specify this file in your recipe, use a package name | 6845 | When you specify this file in your recipe, use a package name |
@@ -6852,7 +6852,7 @@ system and gives an overview of their function and contents. | |||
6852 | `SysVinit <&YOCTO_DOCS_DEV_URL;#new-recipe-enabling-system-services>`__, | 6852 | `SysVinit <&YOCTO_DOCS_DEV_URL;#new-recipe-enabling-system-services>`__, |
6853 | specifies a space-separated list of the virtual terminals that should | 6853 | specifies a space-separated list of the virtual terminals that should |
6854 | run a `getty <http://en.wikipedia.org/wiki/Getty_%28Unix%29>`__ | 6854 | run a `getty <http://en.wikipedia.org/wiki/Getty_%28Unix%29>`__ |
6855 | (allowing login), assuming ```USE_VT`` <#var-USE_VT>`__ is not set to | 6855 | (allowing login), assuming :term:`USE_VT` is not set to |
6856 | "0". | 6856 | "0". |
6857 | 6857 | ||
6858 | The default value for ``SYSVINIT_ENABLED_GETTYS`` is "1" (i.e. only | 6858 | The default value for ``SYSVINIT_ENABLED_GETTYS`` is "1" (i.e. only |
@@ -6864,12 +6864,12 @@ system and gives an overview of their function and contents. | |||
6864 | particular recipe. The variable is typically set as follows: T = | 6864 | particular recipe. The variable is typically set as follows: T = |
6865 | "${WORKDIR}/temp" | 6865 | "${WORKDIR}/temp" |
6866 | 6866 | ||
6867 | The ```WORKDIR`` <#var-WORKDIR>`__ is the directory into which | 6867 | The :term:`WORKDIR` is the directory into which |
6868 | BitBake unpacks and builds the recipe. The default ``bitbake.conf`` | 6868 | BitBake unpacks and builds the recipe. The default ``bitbake.conf`` |
6869 | file sets this variable. | 6869 | file sets this variable. |
6870 | 6870 | ||
6871 | The ``T`` variable is not to be confused with the | 6871 | The ``T`` variable is not to be confused with the |
6872 | ```TMPDIR`` <#var-TMPDIR>`__ variable, which points to the root of | 6872 | :term:`TMPDIR` variable, which points to the root of |
6873 | the directory tree where BitBake places the output of an entire | 6873 | the directory tree where BitBake places the output of an entire |
6874 | build. | 6874 | build. |
6875 | 6875 | ||
@@ -6880,19 +6880,19 @@ system and gives an overview of their function and contents. | |||
6880 | configurable: arm i586 x86_64 powerpc powerpc64 mips mipsel | 6880 | configurable: arm i586 x86_64 powerpc powerpc64 mips mipsel |
6881 | 6881 | ||
6882 | For additional information on machine architectures, see the | 6882 | For additional information on machine architectures, see the |
6883 | ```TUNE_ARCH`` <#var-TUNE_ARCH>`__ variable. | 6883 | :term:`TUNE_ARCH` variable. |
6884 | 6884 | ||
6885 | TARGET_AS_ARCH | 6885 | TARGET_AS_ARCH |
6886 | Specifies architecture-specific assembler flags for the target | 6886 | Specifies architecture-specific assembler flags for the target |
6887 | system. ``TARGET_AS_ARCH`` is initialized from | 6887 | system. ``TARGET_AS_ARCH`` is initialized from |
6888 | ```TUNE_ASARGS`` <#var-TUNE_ASARGS>`__ by default in the BitBake | 6888 | :term:`TUNE_ASARGS` by default in the BitBake |
6889 | configuration file (``meta/conf/bitbake.conf``): TARGET_AS_ARCH = | 6889 | configuration file (``meta/conf/bitbake.conf``): TARGET_AS_ARCH = |
6890 | "${TUNE_ASARGS}" | 6890 | "${TUNE_ASARGS}" |
6891 | 6891 | ||
6892 | TARGET_CC_ARCH | 6892 | TARGET_CC_ARCH |
6893 | Specifies architecture-specific C compiler flags for the target | 6893 | Specifies architecture-specific C compiler flags for the target |
6894 | system. ``TARGET_CC_ARCH`` is initialized from | 6894 | system. ``TARGET_CC_ARCH`` is initialized from |
6895 | ```TUNE_CCARGS`` <#var-TUNE_CCARGS>`__ by default. | 6895 | :term:`TUNE_CCARGS` by default. |
6896 | 6896 | ||
6897 | .. note:: | 6897 | .. note:: |
6898 | 6898 | ||
@@ -6908,17 +6908,17 @@ system and gives an overview of their function and contents. | |||
6908 | TARGET_CC_KERNEL_ARCH | 6908 | TARGET_CC_KERNEL_ARCH |
6909 | This is a specific kernel compiler flag for a CPU or Application | 6909 | This is a specific kernel compiler flag for a CPU or Application |
6910 | Binary Interface (ABI) tune. The flag is used rarely and only for | 6910 | Binary Interface (ABI) tune. The flag is used rarely and only for |
6911 | cases where a userspace ```TUNE_CCARGS`` <#var-TUNE_CCARGS>`__ is not | 6911 | cases where a userspace :term:`TUNE_CCARGS` is not |
6912 | compatible with the kernel compilation. The ``TARGET_CC_KERNEL_ARCH`` | 6912 | compatible with the kernel compilation. The ``TARGET_CC_KERNEL_ARCH`` |
6913 | variable allows the kernel (and associated modules) to use a | 6913 | variable allows the kernel (and associated modules) to use a |
6914 | different configuration. See the | 6914 | different configuration. See the |
6915 | ``meta/conf/machine/include/arm/feature-arm-thumb.inc`` file in the | 6915 | ``meta/conf/machine/include/arm/feature-arm-thumb.inc`` file in the |
6916 | `Source Directory <#source-directory>`__ for an example. | 6916 | :term:`Source Directory` for an example. |
6917 | 6917 | ||
6918 | TARGET_CFLAGS | 6918 | TARGET_CFLAGS |
6919 | Specifies the flags to pass to the C compiler when building for the | 6919 | Specifies the flags to pass to the C compiler when building for the |
6920 | target. When building in the target context, | 6920 | target. When building in the target context, |
6921 | ```CFLAGS`` <#var-CFLAGS>`__ is set to the value of this variable by | 6921 | :term:`CFLAGS` is set to the value of this variable by |
6922 | default. | 6922 | default. |
6923 | 6923 | ||
6924 | Additionally, the SDK's environment setup script sets the ``CFLAGS`` | 6924 | Additionally, the SDK's environment setup script sets the ``CFLAGS`` |
@@ -6928,7 +6928,7 @@ system and gives an overview of their function and contents. | |||
6928 | TARGET_CPPFLAGS | 6928 | TARGET_CPPFLAGS |
6929 | Specifies the flags to pass to the C pre-processor (i.e. to both the | 6929 | Specifies the flags to pass to the C pre-processor (i.e. to both the |
6930 | C and the C++ compilers) when building for the target. When building | 6930 | C and the C++ compilers) when building for the target. When building |
6931 | in the target context, ```CPPFLAGS`` <#var-CPPFLAGS>`__ is set to the | 6931 | in the target context, :term:`CPPFLAGS` is set to the |
6932 | value of this variable by default. | 6932 | value of this variable by default. |
6933 | 6933 | ||
6934 | Additionally, the SDK's environment setup script sets the | 6934 | Additionally, the SDK's environment setup script sets the |
@@ -6939,7 +6939,7 @@ system and gives an overview of their function and contents. | |||
6939 | TARGET_CXXFLAGS | 6939 | TARGET_CXXFLAGS |
6940 | Specifies the flags to pass to the C++ compiler when building for the | 6940 | Specifies the flags to pass to the C++ compiler when building for the |
6941 | target. When building in the target context, | 6941 | target. When building in the target context, |
6942 | ```CXXFLAGS`` <#var-CXXFLAGS>`__ is set to the value of this variable | 6942 | :term:`CXXFLAGS` is set to the value of this variable |
6943 | by default. | 6943 | by default. |
6944 | 6944 | ||
6945 | Additionally, the SDK's environment setup script sets the | 6945 | Additionally, the SDK's environment setup script sets the |
@@ -6956,18 +6956,18 @@ system and gives an overview of their function and contents. | |||
6956 | TARGET_LD_ARCH | 6956 | TARGET_LD_ARCH |
6957 | Specifies architecture-specific linker flags for the target system. | 6957 | Specifies architecture-specific linker flags for the target system. |
6958 | ``TARGET_LD_ARCH`` is initialized from | 6958 | ``TARGET_LD_ARCH`` is initialized from |
6959 | ```TUNE_LDARGS`` <#var-TUNE_LDARGS>`__ by default in the BitBake | 6959 | :term:`TUNE_LDARGS` by default in the BitBake |
6960 | configuration file (``meta/conf/bitbake.conf``): TARGET_LD_ARCH = | 6960 | configuration file (``meta/conf/bitbake.conf``): TARGET_LD_ARCH = |
6961 | "${TUNE_LDARGS}" | 6961 | "${TUNE_LDARGS}" |
6962 | 6962 | ||
6963 | TARGET_LDFLAGS | 6963 | TARGET_LDFLAGS |
6964 | Specifies the flags to pass to the linker when building for the | 6964 | Specifies the flags to pass to the linker when building for the |
6965 | target. When building in the target context, | 6965 | target. When building in the target context, |
6966 | ```LDFLAGS`` <#var-LDFLAGS>`__ is set to the value of this variable | 6966 | :term:`LDFLAGS` is set to the value of this variable |
6967 | by default. | 6967 | by default. |
6968 | 6968 | ||
6969 | Additionally, the SDK's environment setup script sets the | 6969 | Additionally, the SDK's environment setup script sets the |
6970 | ```LDFLAGS`` <#var-LDFLAGS>`__ variable in the environment to the | 6970 | :term:`LDFLAGS` variable in the environment to the |
6971 | ``TARGET_LDFLAGS`` value so that executables built using the SDK also | 6971 | ``TARGET_LDFLAGS`` value so that executables built using the SDK also |
6972 | have the flags applied. | 6972 | have the flags applied. |
6973 | 6973 | ||
@@ -6984,7 +6984,7 @@ system and gives an overview of their function and contents. | |||
6984 | ``TARGET_PREFIX`` is set as follows: | 6984 | ``TARGET_PREFIX`` is set as follows: |
6985 | 6985 | ||
6986 | - For recipes building for the target machine, the value is | 6986 | - For recipes building for the target machine, the value is |
6987 | "${`TARGET_SYS <#var-TARGET_SYS>`__}-". | 6987 | "${:term:`TARGET_SYS`}-". |
6988 | 6988 | ||
6989 | - For native recipes, the build system sets the variable to the | 6989 | - For native recipes, the build system sets the variable to the |
6990 | value of ``BUILD_PREFIX``. | 6990 | value of ``BUILD_PREFIX``. |
@@ -6998,9 +6998,9 @@ system and gives an overview of their function and contents. | |||
6998 | current recipe. | 6998 | current recipe. |
6999 | 6999 | ||
7000 | The OpenEmbedded build system automatically sets this variable based | 7000 | The OpenEmbedded build system automatically sets this variable based |
7001 | on ```TARGET_ARCH`` <#var-TARGET_ARCH>`__, | 7001 | on :term:`TARGET_ARCH`, |
7002 | ```TARGET_VENDOR`` <#var-TARGET_VENDOR>`__, and | 7002 | :term:`TARGET_VENDOR`, and |
7003 | ```TARGET_OS`` <#var-TARGET_OS>`__ variables. | 7003 | :term:`TARGET_OS` variables. |
7004 | 7004 | ||
7005 | .. note:: | 7005 | .. note:: |
7006 | 7006 | ||
@@ -7028,9 +7028,9 @@ system and gives an overview of their function and contents. | |||
7028 | 7028 | ||
7029 | TCLIBCAPPEND | 7029 | TCLIBCAPPEND |
7030 | Specifies a suffix to be appended onto the | 7030 | Specifies a suffix to be appended onto the |
7031 | ```TMPDIR`` <#var-TMPDIR>`__ value. The suffix identifies the | 7031 | :term:`TMPDIR` value. The suffix identifies the |
7032 | ``libc`` variant for building. When you are building for multiple | 7032 | ``libc`` variant for building. When you are building for multiple |
7033 | variants with the same `Build Directory <#build-directory>`__, this | 7033 | variants with the same :term:`Build Directory`, this |
7034 | mechanism ensures that output for different ``libc`` variants is kept | 7034 | mechanism ensures that output for different ``libc`` variants is kept |
7035 | separate to avoid potential conflicts. | 7035 | separate to avoid potential conflicts. |
7036 | 7036 | ||
@@ -7063,7 +7063,7 @@ system and gives an overview of their function and contents. | |||
7063 | page on the Yocto Project website and click on the "RELEASE | 7063 | page on the Yocto Project website and click on the "RELEASE |
7064 | INFORMATION" link for the appropriate release. | 7064 | INFORMATION" link for the appropriate release. |
7065 | 7065 | ||
7066 | The ``TCMODE`` variable is similar to ```TCLIBC`` <#var-TCLIBC>`__, | 7066 | The ``TCMODE`` variable is similar to :term:`TCLIBC`, |
7067 | which controls the variant of the GNU standard C library (``libc``) | 7067 | which controls the variant of the GNU standard C library (``libc``) |
7068 | used during the build process: ``glibc`` or ``musl``. | 7068 | used during the build process: ``glibc`` or ``musl``. |
7069 | 7069 | ||
@@ -7086,7 +7086,7 @@ system and gives an overview of their function and contents. | |||
7086 | 7086 | ||
7087 | TEST_EXPORT_DIR | 7087 | TEST_EXPORT_DIR |
7088 | The location the OpenEmbedded build system uses to export tests when | 7088 | The location the OpenEmbedded build system uses to export tests when |
7089 | the ```TEST_EXPORT_ONLY`` <#var-TEST_EXPORT_ONLY>`__ variable is set | 7089 | the :term:`TEST_EXPORT_ONLY` variable is set |
7090 | to "1". | 7090 | to "1". |
7091 | 7091 | ||
7092 | The ``TEST_EXPORT_DIR`` variable defaults to | 7092 | The ``TEST_EXPORT_DIR`` variable defaults to |
@@ -7121,7 +7121,7 @@ system and gives an overview of their function and contents. | |||
7121 | TEST_POWERCONTROL_EXTRA_ARGS | 7121 | TEST_POWERCONTROL_EXTRA_ARGS |
7122 | For automated hardware testing, specifies additional arguments to | 7122 | For automated hardware testing, specifies additional arguments to |
7123 | pass through to the command specified in | 7123 | pass through to the command specified in |
7124 | ```TEST_POWERCONTROL_CMD`` <#var-TEST_POWERCONTROL_CMD>`__. Setting | 7124 | :term:`TEST_POWERCONTROL_CMD`. Setting |
7125 | ``TEST_POWERCONTROL_EXTRA_ARGS`` is optional. You can use it if you | 7125 | ``TEST_POWERCONTROL_EXTRA_ARGS`` is optional. You can use it if you |
7126 | wish, for example, to separate the machine-specific and | 7126 | wish, for example, to separate the machine-specific and |
7127 | non-machine-specific parts of the arguments. | 7127 | non-machine-specific parts of the arguments. |
@@ -7152,7 +7152,7 @@ system and gives an overview of their function and contents. | |||
7152 | TEST_SERIALCONTROL_EXTRA_ARGS | 7152 | TEST_SERIALCONTROL_EXTRA_ARGS |
7153 | For automated hardware testing, specifies additional arguments to | 7153 | For automated hardware testing, specifies additional arguments to |
7154 | pass through to the command specified in | 7154 | pass through to the command specified in |
7155 | ```TEST_SERIALCONTROL_CMD`` <#var-TEST_SERIALCONTROL_CMD>`__. Setting | 7155 | :term:`TEST_SERIALCONTROL_CMD`. Setting |
7156 | ``TEST_SERIALCONTROL_EXTRA_ARGS`` is optional. You can use it if you | 7156 | ``TEST_SERIALCONTROL_EXTRA_ARGS`` is optional. You can use it if you |
7157 | wish, for example, to separate the machine-specific and | 7157 | wish, for example, to separate the machine-specific and |
7158 | non-machine-specific parts of the command. | 7158 | non-machine-specific parts of the command. |
@@ -7195,7 +7195,7 @@ system and gives an overview of their function and contents. | |||
7195 | - *"simpleremote":* Runs the tests on target hardware that is | 7195 | - *"simpleremote":* Runs the tests on target hardware that is |
7196 | already up and running. The hardware can be on the network or it | 7196 | already up and running. The hardware can be on the network or it |
7197 | can be a device running an image on QEMU. You must also set | 7197 | can be a device running an image on QEMU. You must also set |
7198 | ```TEST_TARGET_IP`` <#var-TEST_TARGET_IP>`__ when you use | 7198 | :term:`TEST_TARGET_IP` when you use |
7199 | "simpleremote". | 7199 | "simpleremote". |
7200 | 7200 | ||
7201 | .. note:: | 7201 | .. note:: |
@@ -7211,7 +7211,7 @@ system and gives an overview of their function and contents. | |||
7211 | 7211 | ||
7212 | TEST_TARGET_IP | 7212 | TEST_TARGET_IP |
7213 | The IP address of your hardware under test. The ``TEST_TARGET_IP`` | 7213 | The IP address of your hardware under test. The ``TEST_TARGET_IP`` |
7214 | variable has no effect when ```TEST_TARGET`` <#var-TEST_TARGET>`__ is | 7214 | variable has no effect when :term:`TEST_TARGET` is |
7215 | set to "qemu". | 7215 | set to "qemu". |
7216 | 7216 | ||
7217 | When you specify the IP address, you can also include a port. Here is | 7217 | When you specify the IP address, you can also include a port. Here is |
@@ -7263,14 +7263,14 @@ system and gives an overview of their function and contents. | |||
7263 | These tests are written in Python making use of the ``unittest`` | 7263 | These tests are written in Python making use of the ``unittest`` |
7264 | module, and the majority of them run commands on the target system | 7264 | module, and the majority of them run commands on the target system |
7265 | over ``ssh``. You can set this variable to "1" in your ``local.conf`` | 7265 | over ``ssh``. You can set this variable to "1" in your ``local.conf`` |
7266 | file in the `Build Directory <#build-directory>`__ to have the | 7266 | file in the :term:`Build Directory` to have the |
7267 | OpenEmbedded build system automatically run these tests after an | 7267 | OpenEmbedded build system automatically run these tests after an |
7268 | image successfully builds: TESTIMAGE_AUTO = "1" For more information | 7268 | image successfully builds: TESTIMAGE_AUTO = "1" For more information |
7269 | on enabling, running, and writing these tests, see the "`Performing | 7269 | on enabling, running, and writing these tests, see the "`Performing |
7270 | Automated Runtime | 7270 | Automated Runtime |
7271 | Testing <&YOCTO_DOCS_DEV_URL;#performing-automated-runtime-testing>`__" | 7271 | Testing <&YOCTO_DOCS_DEV_URL;#performing-automated-runtime-testing>`__" |
7272 | section in the Yocto Project Development Tasks Manual and the | 7272 | section in the Yocto Project Development Tasks Manual and the |
7273 | "```testimage*.bbclass`` <#ref-classes-testimage*>`__" section. | 7273 | ":ref:`testimage*.bbclass <ref-classes-testimage*>`" section. |
7274 | 7274 | ||
7275 | THISDIR | 7275 | THISDIR |
7276 | The directory in which the file BitBake is currently parsing is | 7276 | The directory in which the file BitBake is currently parsing is |
@@ -7285,7 +7285,7 @@ system and gives an overview of their function and contents. | |||
7285 | This variable is the base directory the OpenEmbedded build system | 7285 | This variable is the base directory the OpenEmbedded build system |
7286 | uses for all build output and intermediate files (other than the | 7286 | uses for all build output and intermediate files (other than the |
7287 | shared state cache). By default, the ``TMPDIR`` variable points to | 7287 | shared state cache). By default, the ``TMPDIR`` variable points to |
7288 | ``tmp`` within the `Build Directory <#build-directory>`__. | 7288 | ``tmp`` within the :term:`Build Directory`. |
7289 | 7289 | ||
7290 | If you want to establish this directory in a location other than the | 7290 | If you want to establish this directory in a location other than the |
7291 | default, you can uncomment and edit the following statement in the | 7291 | default, you can uncomment and edit the following statement in the |
@@ -7304,7 +7304,7 @@ system and gives an overview of their function and contents. | |||
7304 | This variable lists packages the OpenEmbedded build system uses when | 7304 | This variable lists packages the OpenEmbedded build system uses when |
7305 | building an SDK, which contains a cross-development environment. The | 7305 | building an SDK, which contains a cross-development environment. The |
7306 | packages specified by this variable are part of the toolchain set | 7306 | packages specified by this variable are part of the toolchain set |
7307 | that runs on the ```SDKMACHINE`` <#var-SDKMACHINE>`__, and each | 7307 | that runs on the :term:`SDKMACHINE`, and each |
7308 | package should usually have the prefix ``nativesdk-``. For example, | 7308 | package should usually have the prefix ``nativesdk-``. For example, |
7309 | consider the following command when building an SDK: $ bitbake -c | 7309 | consider the following command when building an SDK: $ bitbake -c |
7310 | populate_sdk imagename In this case, a default list of packages is | 7310 | populate_sdk imagename In this case, a default list of packages is |
@@ -7328,8 +7328,8 @@ system and gives an overview of their function and contents. | |||
7328 | ```populate_sdk_base`` <#ref-classes-populate-sdk-*>`__ class sets | 7328 | ```populate_sdk_base`` <#ref-classes-populate-sdk-*>`__ class sets |
7329 | the ``TOOLCHAIN_OUTPUTNAME`` variable as follows: | 7329 | the ``TOOLCHAIN_OUTPUTNAME`` variable as follows: |
7330 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}" See | 7330 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}" See |
7331 | the ```SDK_NAME`` <#var-SDK_NAME>`__ and | 7331 | the :term:`SDK_NAME` and |
7332 | ```SDK_VERSION`` <#var-SDK_VERSION>`__ variables for additional | 7332 | :term:`SDK_VERSION` variables for additional |
7333 | information. | 7333 | information. |
7334 | 7334 | ||
7335 | TOOLCHAIN_TARGET_TASK | 7335 | TOOLCHAIN_TARGET_TASK |
@@ -7352,12 +7352,12 @@ system and gives an overview of their function and contents. | |||
7352 | Development Kit (eSDK) <&YOCTO_DOCS_SDK_URL;>`__ manual. | 7352 | Development Kit (eSDK) <&YOCTO_DOCS_SDK_URL;>`__ manual. |
7353 | 7353 | ||
7354 | TOPDIR | 7354 | TOPDIR |
7355 | The top-level `Build Directory <#build-directory>`__. BitBake | 7355 | The top-level :term:`Build Directory`. BitBake |
7356 | automatically sets this variable when you initialize your build | 7356 | automatically sets this variable when you initialize your build |
7357 | environment using ````` <#structure-core-script>`__. | 7357 | environment using ````` <#structure-core-script>`__. |
7358 | 7358 | ||
7359 | TRANSLATED_TARGET_ARCH | 7359 | TRANSLATED_TARGET_ARCH |
7360 | A sanitized version of ```TARGET_ARCH`` <#var-TARGET_ARCH>`__. This | 7360 | A sanitized version of :term:`TARGET_ARCH`. This |
7361 | variable is used where the architecture is needed in a value where | 7361 | variable is used where the architecture is needed in a value where |
7362 | underscores are not allowed, for example within package filenames. In | 7362 | underscores are not allowed, for example within package filenames. In |
7363 | this case, dash characters replace any underscore characters used in | 7363 | this case, dash characters replace any underscore characters used in |
@@ -7379,7 +7379,7 @@ system and gives an overview of their function and contents. | |||
7379 | ``TUNE_ARCH`` specific to the ``mips`` architecture. | 7379 | ``TUNE_ARCH`` specific to the ``mips`` architecture. |
7380 | 7380 | ||
7381 | ``TUNE_ARCH`` is tied closely to | 7381 | ``TUNE_ARCH`` is tied closely to |
7382 | ```TARGET_ARCH`` <#var-TARGET_ARCH>`__, which defines the target | 7382 | :term:`TARGET_ARCH`, which defines the target |
7383 | machine's architecture. The BitBake configuration file | 7383 | machine's architecture. The BitBake configuration file |
7384 | (``meta/conf/bitbake.conf``) sets ``TARGET_ARCH`` as follows: | 7384 | (``meta/conf/bitbake.conf``) sets ``TARGET_ARCH`` as follows: |
7385 | TARGET_ARCH = "${TUNE_ARCH}" | 7385 | TARGET_ARCH = "${TUNE_ARCH}" |
@@ -7393,7 +7393,7 @@ system and gives an overview of their function and contents. | |||
7393 | system. The set of flags is based on the selected tune features. | 7393 | system. The set of flags is based on the selected tune features. |
7394 | ``TUNE_ASARGS`` is set using the tune include files, which are | 7394 | ``TUNE_ASARGS`` is set using the tune include files, which are |
7395 | typically under ``meta/conf/machine/include/`` and are influenced | 7395 | typically under ``meta/conf/machine/include/`` and are influenced |
7396 | through ```TUNE_FEATURES`` <#var-TUNE_FEATURES>`__. For example, the | 7396 | through :term:`TUNE_FEATURES`. For example, the |
7397 | ``meta/conf/machine/include/x86/arch-x86.inc`` file defines the flags | 7397 | ``meta/conf/machine/include/x86/arch-x86.inc`` file defines the flags |
7398 | for the x86 architecture as follows: TUNE_ASARGS += | 7398 | for the x86 architecture as follows: TUNE_ASARGS += |
7399 | "${@bb.utils.contains("TUNE_FEATURES", "mx32", "-x32", "", d)}" | 7399 | "${@bb.utils.contains("TUNE_FEATURES", "mx32", "-x32", "", d)}" |
@@ -7409,7 +7409,7 @@ system and gives an overview of their function and contents. | |||
7409 | system. The set of flags is based on the selected tune features. | 7409 | system. The set of flags is based on the selected tune features. |
7410 | ``TUNE_CCARGS`` is set using the tune include files, which are | 7410 | ``TUNE_CCARGS`` is set using the tune include files, which are |
7411 | typically under ``meta/conf/machine/include/`` and are influenced | 7411 | typically under ``meta/conf/machine/include/`` and are influenced |
7412 | through ```TUNE_FEATURES`` <#var-TUNE_FEATURES>`__. | 7412 | through :term:`TUNE_FEATURES`. |
7413 | 7413 | ||
7414 | .. note:: | 7414 | .. note:: |
7415 | 7415 | ||
@@ -7422,7 +7422,7 @@ system and gives an overview of their function and contents. | |||
7422 | The set of flags is based on the selected tune features. | 7422 | The set of flags is based on the selected tune features. |
7423 | ``TUNE_LDARGS`` is set using the tune include files, which are | 7423 | ``TUNE_LDARGS`` is set using the tune include files, which are |
7424 | typically under ``meta/conf/machine/include/`` and are influenced | 7424 | typically under ``meta/conf/machine/include/`` and are influenced |
7425 | through ```TUNE_FEATURES`` <#var-TUNE_FEATURES>`__. For example, the | 7425 | through :term:`TUNE_FEATURES`. For example, the |
7426 | ``meta/conf/machine/include/x86/arch-x86.inc`` file defines the flags | 7426 | ``meta/conf/machine/include/x86/arch-x86.inc`` file defines the flags |
7427 | for the x86 architecture as follows: TUNE_LDARGS += | 7427 | for the x86 architecture as follows: TUNE_LDARGS += |
7428 | "${@bb.utils.contains("TUNE_FEATURES", "mx32", "-m elf32_x86_64", "", | 7428 | "${@bb.utils.contains("TUNE_FEATURES", "mx32", "-m elf32_x86_64", "", |
@@ -7446,7 +7446,7 @@ system and gives an overview of their function and contents. | |||
7446 | The BitBake configuration file (``meta/conf/bitbake.conf``) defines | 7446 | The BitBake configuration file (``meta/conf/bitbake.conf``) defines |
7447 | ``TUNE_FEATURES`` as follows: TUNE_FEATURES ??= | 7447 | ``TUNE_FEATURES`` as follows: TUNE_FEATURES ??= |
7448 | "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" See the | 7448 | "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" See the |
7449 | ```DEFAULTTUNE`` <#var-DEFAULTTUNE>`__ variable for more information. | 7449 | :term:`DEFAULTTUNE` variable for more information. |
7450 | 7450 | ||
7451 | TUNE_PKGARCH | 7451 | TUNE_PKGARCH |
7452 | The package architecture understood by the packaging system to define | 7452 | The package architecture understood by the packaging system to define |
@@ -7463,34 +7463,34 @@ system and gives an overview of their function and contents. | |||
7463 | An underlying Application Binary Interface (ABI) used by a particular | 7463 | An underlying Application Binary Interface (ABI) used by a particular |
7464 | tuning in a given toolchain layer. Providers that use prebuilt | 7464 | tuning in a given toolchain layer. Providers that use prebuilt |
7465 | libraries can use the ``TUNEABI``, | 7465 | libraries can use the ``TUNEABI``, |
7466 | ```TUNEABI_OVERRIDE`` <#var-TUNEABI_OVERRIDE>`__, and | 7466 | :term:`TUNEABI_OVERRIDE`, and |
7467 | ```TUNEABI_WHITELIST`` <#var-TUNEABI_WHITELIST>`__ variables to check | 7467 | :term:`TUNEABI_WHITELIST` variables to check |
7468 | compatibility of tunings against their selection of libraries. | 7468 | compatibility of tunings against their selection of libraries. |
7469 | 7469 | ||
7470 | If ``TUNEABI`` is undefined, then every tuning is allowed. See the | 7470 | If ``TUNEABI`` is undefined, then every tuning is allowed. See the |
7471 | ```sanity`` <#ref-classes-sanity>`__ class to see how the variable is | 7471 | :ref:`sanity <ref-classes-sanity>` class to see how the variable is |
7472 | used. | 7472 | used. |
7473 | 7473 | ||
7474 | TUNEABI_OVERRIDE | 7474 | TUNEABI_OVERRIDE |
7475 | If set, the OpenEmbedded system ignores the | 7475 | If set, the OpenEmbedded system ignores the |
7476 | ```TUNEABI_WHITELIST`` <#var-TUNEABI_WHITELIST>`__ variable. | 7476 | :term:`TUNEABI_WHITELIST` variable. |
7477 | Providers that use prebuilt libraries can use the | 7477 | Providers that use prebuilt libraries can use the |
7478 | ``TUNEABI_OVERRIDE``, ``TUNEABI_WHITELIST``, and | 7478 | ``TUNEABI_OVERRIDE``, ``TUNEABI_WHITELIST``, and |
7479 | ```TUNEABI`` <#var-TUNEABI>`__ variables to check compatibility of a | 7479 | :term:`TUNEABI` variables to check compatibility of a |
7480 | tuning against their selection of libraries. | 7480 | tuning against their selection of libraries. |
7481 | 7481 | ||
7482 | See the ```sanity`` <#ref-classes-sanity>`__ class to see how the | 7482 | See the :ref:`sanity <ref-classes-sanity>` class to see how the |
7483 | variable is used. | 7483 | variable is used. |
7484 | 7484 | ||
7485 | TUNEABI_WHITELIST | 7485 | TUNEABI_WHITELIST |
7486 | A whitelist of permissible ```TUNEABI`` <#var-TUNEABI>`__ values. If | 7486 | A whitelist of permissible :term:`TUNEABI` values. If |
7487 | ``TUNEABI_WHITELIST`` is not set, all tunes are allowed. Providers | 7487 | ``TUNEABI_WHITELIST`` is not set, all tunes are allowed. Providers |
7488 | that use prebuilt libraries can use the ``TUNEABI_WHITELIST``, | 7488 | that use prebuilt libraries can use the ``TUNEABI_WHITELIST``, |
7489 | ```TUNEABI_OVERRIDE`` <#var-TUNEABI_OVERRIDE>`__, and ``TUNEABI`` | 7489 | :term:`TUNEABI_OVERRIDE`, and ``TUNEABI`` |
7490 | variables to check compatibility of a tuning against their selection | 7490 | variables to check compatibility of a tuning against their selection |
7491 | of libraries. | 7491 | of libraries. |
7492 | 7492 | ||
7493 | See the ```sanity`` <#ref-classes-sanity>`__ class to see how the | 7493 | See the :ref:`sanity <ref-classes-sanity>` class to see how the |
7494 | variable is used. | 7494 | variable is used. |
7495 | 7495 | ||
7496 | TUNECONFLICTS[feature] | 7496 | TUNECONFLICTS[feature] |
@@ -7498,7 +7498,7 @@ system and gives an overview of their function and contents. | |||
7498 | that conflict with feature. | 7498 | that conflict with feature. |
7499 | 7499 | ||
7500 | Known tuning conflicts are specified in the machine include files in | 7500 | Known tuning conflicts are specified in the machine include files in |
7501 | the `Source Directory <#source-directory>`__. Here is an example from | 7501 | the :term:`Source Directory`. Here is an example from |
7502 | the ``meta/conf/machine/include/mips/arch-mips.inc`` include file | 7502 | the ``meta/conf/machine/include/mips/arch-mips.inc`` include file |
7503 | that lists the "o32" and "n64" features as conflicting with the "n32" | 7503 | that lists the "o32" and "n64" features as conflicting with the "n32" |
7504 | feature: TUNECONFLICTS[n32] = "o32 n64" | 7504 | feature: TUNECONFLICTS[n32] = "o32 n64" |
@@ -7514,8 +7514,8 @@ system and gives an overview of their function and contents. | |||
7514 | Directory <#source-directory>`__ for these features. | 7514 | Directory <#source-directory>`__ for these features. |
7515 | 7515 | ||
7516 | UBOOT_CONFIG | 7516 | UBOOT_CONFIG |
7517 | Configures the ```UBOOT_MACHINE`` <#var-UBOOT_MACHINE>`__ and can | 7517 | Configures the :term:`UBOOT_MACHINE` and can |
7518 | also define ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ for individual | 7518 | also define :term:`IMAGE_FSTYPES` for individual |
7519 | cases. | 7519 | cases. |
7520 | 7520 | ||
7521 | Following is an example from the ``meta-fsl-arm`` layer. UBOOT_CONFIG | 7521 | Following is an example from the ``meta-fsl-arm`` layer. UBOOT_CONFIG |
@@ -7611,10 +7611,10 @@ system and gives an overview of their function and contents. | |||
7611 | UNKNOWN_CONFIGURE_WHITELIST | 7611 | UNKNOWN_CONFIGURE_WHITELIST |
7612 | Specifies a list of options that, if reported by the configure script | 7612 | Specifies a list of options that, if reported by the configure script |
7613 | as being invalid, should not generate a warning during the | 7613 | as being invalid, should not generate a warning during the |
7614 | ```do_configure`` <#ref-tasks-configure>`__ task. Normally, invalid | 7614 | :ref:`ref-tasks-configure` task. Normally, invalid |
7615 | configure options are simply not passed to the configure script (e.g. | 7615 | configure options are simply not passed to the configure script (e.g. |
7616 | should be removed from ```EXTRA_OECONF`` <#var-EXTRA_OECONF>`__ or | 7616 | should be removed from :term:`EXTRA_OECONF` or |
7617 | ```PACKAGECONFIG_CONFARGS`` <#var-PACKAGECONFIG_CONFARGS>`__). | 7617 | :term:`PACKAGECONFIG_CONFARGS`). |
7618 | However, common options, for example, exist that are passed to all | 7618 | However, common options, for example, exist that are passed to all |
7619 | configure scripts at a class level that might not be valid for some | 7619 | configure scripts at a class level that might not be valid for some |
7620 | configure scripts. It follows that no benefit exists in seeing a | 7620 | configure scripts. It follows that no benefit exists in seeing a |
@@ -7623,12 +7623,12 @@ system and gives an overview of their function and contents. | |||
7623 | 7623 | ||
7624 | The configure arguments check that uses | 7624 | The configure arguments check that uses |
7625 | ``UNKNOWN_CONFIGURE_WHITELIST`` is part of the | 7625 | ``UNKNOWN_CONFIGURE_WHITELIST`` is part of the |
7626 | ```insane`` <#ref-classes-insane>`__ class and is only enabled if the | 7626 | :ref:`insane <ref-classes-insane>` class and is only enabled if the |
7627 | recipe inherits the ```autotools`` <#ref-classes-autotools>`__ class. | 7627 | recipe inherits the :ref:`autotools <ref-classes-autotools>` class. |
7628 | 7628 | ||
7629 | UPDATERCPN | 7629 | UPDATERCPN |
7630 | For recipes inheriting the | 7630 | For recipes inheriting the |
7631 | ```update-rc.d`` <#ref-classes-update-rc.d>`__ class, ``UPDATERCPN`` | 7631 | :ref:`update-rc.d <ref-classes-update-rc.d>` class, ``UPDATERCPN`` |
7632 | specifies the package that contains the initscript that is enabled. | 7632 | specifies the package that contains the initscript that is enabled. |
7633 | 7633 | ||
7634 | The default value is "${PN}". Given that almost all recipes that | 7634 | The default value is "${PN}". Given that almost all recipes that |
@@ -7651,7 +7651,7 @@ system and gives an overview of their function and contents. | |||
7651 | Use the ``UPSTREAM_CHECK_REGEX`` variable to specify a different | 7651 | Use the ``UPSTREAM_CHECK_REGEX`` variable to specify a different |
7652 | regular expression instead of the default one when the package | 7652 | regular expression instead of the default one when the package |
7653 | checking system is parsing the page found using | 7653 | checking system is parsing the page found using |
7654 | ```UPSTREAM_CHECK_URI`` <#var-UPSTREAM_CHECK_URI>`__. | 7654 | :term:`UPSTREAM_CHECK_URI`. |
7655 | UPSTREAM_CHECK_REGEX = "package_regex" | 7655 | UPSTREAM_CHECK_REGEX = "package_regex" |
7656 | 7656 | ||
7657 | UPSTREAM_CHECK_URI | 7657 | UPSTREAM_CHECK_URI |
@@ -7703,8 +7703,8 @@ system and gives an overview of their function and contents. | |||
7703 | If set to ``error``, forces the OpenEmbedded build system to produce | 7703 | If set to ``error``, forces the OpenEmbedded build system to produce |
7704 | an error if the user identification (``uid``) and group | 7704 | an error if the user identification (``uid``) and group |
7705 | identification (``gid``) values are not defined in any of the files | 7705 | identification (``gid``) values are not defined in any of the files |
7706 | listed in ```USERADD_UID_TABLES`` <#var-USERADD_UID_TABLES>`__ and | 7706 | listed in :term:`USERADD_UID_TABLES` and |
7707 | ```USERADD_GID_TABLES`` <#var-USERADD_GID_TABLES>`__. If set to | 7707 | :term:`USERADD_GID_TABLES`. If set to |
7708 | ``warn``, a warning will be issued instead. | 7708 | ``warn``, a warning will be issued instead. |
7709 | 7709 | ||
7710 | The default behavior for the build system is to dynamically apply | 7710 | The default behavior for the build system is to dynamically apply |
@@ -7715,9 +7715,9 @@ system and gives an overview of their function and contents. | |||
7715 | file as follows: USERADD_ERROR_DYNAMIC = "error" Overriding the | 7715 | file as follows: USERADD_ERROR_DYNAMIC = "error" Overriding the |
7716 | default behavior implies you are going to also take steps to set | 7716 | default behavior implies you are going to also take steps to set |
7717 | static ``uid`` and ``gid`` values through use of the | 7717 | static ``uid`` and ``gid`` values through use of the |
7718 | ```USERADDEXTENSION`` <#var-USERADDEXTENSION>`__, | 7718 | :term:`USERADDEXTENSION`, |
7719 | ```USERADD_UID_TABLES`` <#var-USERADD_UID_TABLES>`__, and | 7719 | :term:`USERADD_UID_TABLES`, and |
7720 | ```USERADD_GID_TABLES`` <#var-USERADD_GID_TABLES>`__ variables. | 7720 | :term:`USERADD_GID_TABLES` variables. |
7721 | 7721 | ||
7722 | .. note:: | 7722 | .. note:: |
7723 | 7723 | ||
@@ -7745,7 +7745,7 @@ system and gives an overview of their function and contents. | |||
7745 | adds a group to the system during package installation. | 7745 | adds a group to the system during package installation. |
7746 | 7746 | ||
7747 | When applying static group identification (``gid``) values, the | 7747 | When applying static group identification (``gid``) values, the |
7748 | OpenEmbedded build system looks in ```BBPATH`` <#var-BBPATH>`__ for a | 7748 | OpenEmbedded build system looks in :term:`BBPATH` for a |
7749 | ``files/group`` file and then applies those ``uid`` values. Set the | 7749 | ``files/group`` file and then applies those ``uid`` values. Set the |
7750 | variable as follows in your ``local.conf`` file: USERADD_GID_TABLES = | 7750 | variable as follows in your ``local.conf`` file: USERADD_GID_TABLES = |
7751 | "files/group" | 7751 | "files/group" |
@@ -7760,7 +7760,7 @@ system and gives an overview of their function and contents. | |||
7760 | values. | 7760 | values. |
7761 | 7761 | ||
7762 | USERADD_PACKAGES | 7762 | USERADD_PACKAGES |
7763 | When inheriting the ```useradd`` <#ref-classes-useradd>`__ class, | 7763 | When inheriting the :ref:`useradd <ref-classes-useradd>` class, |
7764 | this variable specifies the individual packages within the recipe | 7764 | this variable specifies the individual packages within the recipe |
7765 | that require users and/or groups to be added. | 7765 | that require users and/or groups to be added. |
7766 | 7766 | ||
@@ -7781,7 +7781,7 @@ system and gives an overview of their function and contents. | |||
7781 | variables. | 7781 | variables. |
7782 | 7782 | ||
7783 | USERADD_PARAM | 7783 | USERADD_PARAM |
7784 | When inheriting the ```useradd`` <#ref-classes-useradd>`__ class, | 7784 | When inheriting the :ref:`useradd <ref-classes-useradd>` class, |
7785 | this variable specifies for a package what parameters should pass to | 7785 | this variable specifies for a package what parameters should pass to |
7786 | the ``useradd`` command if you add a user to the system when the | 7786 | the ``useradd`` command if you add a user to the system when the |
7787 | package is installed. | 7787 | package is installed. |
@@ -7798,7 +7798,7 @@ system and gives an overview of their function and contents. | |||
7798 | adds a user to the system during package installation. | 7798 | adds a user to the system during package installation. |
7799 | 7799 | ||
7800 | When applying static user identification (``uid``) values, the | 7800 | When applying static user identification (``uid``) values, the |
7801 | OpenEmbedded build system looks in ```BBPATH`` <#var-BBPATH>`__ for a | 7801 | OpenEmbedded build system looks in :term:`BBPATH` for a |
7802 | ``files/passwd`` file and then applies those ``uid`` values. Set the | 7802 | ``files/passwd`` file and then applies those ``uid`` values. Set the |
7803 | variable as follows in your ``local.conf`` file: USERADD_UID_TABLES = | 7803 | variable as follows in your ``local.conf`` file: USERADD_UID_TABLES = |
7804 | "files/passwd" | 7804 | "files/passwd" |
@@ -7815,7 +7815,7 @@ system and gives an overview of their function and contents. | |||
7815 | USERADDEXTENSION | 7815 | USERADDEXTENSION |
7816 | When set to "useradd-staticids", causes the OpenEmbedded build system | 7816 | When set to "useradd-staticids", causes the OpenEmbedded build system |
7817 | to base all user and group additions on a static ``passwd`` and | 7817 | to base all user and group additions on a static ``passwd`` and |
7818 | ``group`` files found in ```BBPATH`` <#var-BBPATH>`__. | 7818 | ``group`` files found in :term:`BBPATH`. |
7819 | 7819 | ||
7820 | To use static user identification (``uid``) and group identification | 7820 | To use static user identification (``uid``) and group identification |
7821 | (``gid``) values, set the variable as follows in your ``local.conf`` | 7821 | (``gid``) values, set the variable as follows in your ``local.conf`` |
@@ -7833,10 +7833,10 @@ system and gives an overview of their function and contents. | |||
7833 | 7833 | ||
7834 | If you use static ``uid`` and ``gid`` information, you must also | 7834 | If you use static ``uid`` and ``gid`` information, you must also |
7835 | specify the ``files/passwd`` and ``files/group`` files by setting the | 7835 | specify the ``files/passwd`` and ``files/group`` files by setting the |
7836 | ```USERADD_UID_TABLES`` <#var-USERADD_UID_TABLES>`__ and | 7836 | :term:`USERADD_UID_TABLES` and |
7837 | ```USERADD_GID_TABLES`` <#var-USERADD_GID_TABLES>`__ variables. | 7837 | :term:`USERADD_GID_TABLES` variables. |
7838 | Additionally, you should also set the | 7838 | Additionally, you should also set the |
7839 | ```USERADD_ERROR_DYNAMIC`` <#var-USERADD_ERROR_DYNAMIC>`__ variable. | 7839 | :term:`USERADD_ERROR_DYNAMIC` variable. |
7840 | 7840 | ||
7841 | VOLATILE_LOG_DIR | 7841 | VOLATILE_LOG_DIR |
7842 | Specifies the persistence of the target's ``/var/log`` directory, | 7842 | Specifies the persistence of the target's ``/var/log`` directory, |
@@ -7851,18 +7851,18 @@ system and gives an overview of their function and contents. | |||
7851 | warnings by the OpenEmbedded build system. You set this variable in | 7851 | warnings by the OpenEmbedded build system. You set this variable in |
7852 | your distribution configuration file. For a list of the checks you | 7852 | your distribution configuration file. For a list of the checks you |
7853 | can control with this variable, see the | 7853 | can control with this variable, see the |
7854 | "```insane.bbclass`` <#ref-classes-insane>`__" section. | 7854 | ":ref:`insane.bbclass <ref-classes-insane>`" section. |
7855 | 7855 | ||
7856 | WKS_FILE_DEPENDS | 7856 | WKS_FILE_DEPENDS |
7857 | When placed in the recipe that builds your image, this variable lists | 7857 | When placed in the recipe that builds your image, this variable lists |
7858 | build-time dependencies. The ``WKS_FILE_DEPENDS`` variable is only | 7858 | build-time dependencies. The ``WKS_FILE_DEPENDS`` variable is only |
7859 | applicable when Wic images are active (i.e. when | 7859 | applicable when Wic images are active (i.e. when |
7860 | ```IMAGE_FSTYPES`` <#var-IMAGE_FSTYPES>`__ contains entries related | 7860 | :term:`IMAGE_FSTYPES` contains entries related |
7861 | to Wic). If your recipe does not create Wic images, the variable has | 7861 | to Wic). If your recipe does not create Wic images, the variable has |
7862 | no effect. | 7862 | no effect. |
7863 | 7863 | ||
7864 | The ``WKS_FILE_DEPENDS`` variable is similar to the | 7864 | The ``WKS_FILE_DEPENDS`` variable is similar to the |
7865 | ```DEPENDS`` <#var-DEPENDS>`__ variable. When you use the variable in | 7865 | :term:`DEPENDS` variable. When you use the variable in |
7866 | your recipe that builds the Wic image, dependencies you list in the | 7866 | your recipe that builds the Wic image, dependencies you list in the |
7867 | ``WIC_FILE_DEPENDS`` variable are added to the ``DEPENDS`` variable. | 7867 | ``WIC_FILE_DEPENDS`` variable are added to the ``DEPENDS`` variable. |
7868 | 7868 | ||
@@ -7886,7 +7886,7 @@ system and gives an overview of their function and contents. | |||
7886 | WORKDIR | 7886 | WORKDIR |
7887 | The pathname of the work directory in which the OpenEmbedded build | 7887 | The pathname of the work directory in which the OpenEmbedded build |
7888 | system builds a recipe. This directory is located within the | 7888 | system builds a recipe. This directory is located within the |
7889 | ```TMPDIR`` <#var-TMPDIR>`__ directory structure and is specific to | 7889 | :term:`TMPDIR` directory structure and is specific to |
7890 | the recipe being built and the system for which it is being built. | 7890 | the recipe being built and the system for which it is being built. |
7891 | 7891 | ||
7892 | The ``WORKDIR`` directory is defined as follows: | 7892 | The ``WORKDIR`` directory is defined as follows: |
@@ -7922,7 +7922,7 @@ system and gives an overview of their function and contents. | |||
7922 | server and drivers for the current machine, assuming your image | 7922 | server and drivers for the current machine, assuming your image |
7923 | directly includes ``packagegroup-core-x11-xserver`` or, perhaps | 7923 | directly includes ``packagegroup-core-x11-xserver`` or, perhaps |
7924 | indirectly, includes "x11-base" in | 7924 | indirectly, includes "x11-base" in |
7925 | ```IMAGE_FEATURES`` <#var-IMAGE_FEATURES>`__. | 7925 | :term:`IMAGE_FEATURES`. |
7926 | 7926 | ||
7927 | The default value of ``XSERVER``, if not specified in the machine | 7927 | The default value of ``XSERVER``, if not specified in the machine |
7928 | configuration, is "xserver-xorg xf86-video-fbdev xf86-input-evdev". | 7928 | configuration, is "xserver-xorg xf86-video-fbdev xf86-input-evdev". |
diff --git a/documentation/ref-manual/resources.rst b/documentation/ref-manual/resources.rst index 0a8811d95d..50f2afae03 100644 --- a/documentation/ref-manual/resources.rst +++ b/documentation/ref-manual/resources.rst | |||
@@ -79,7 +79,7 @@ instructions: | |||
79 | mailing list about OpenEmbedded. | 79 | mailing list about OpenEmbedded. |
80 | 80 | ||
81 | - ` <&OE_LISTS_URL;/listinfo/bitbake-devel>`__ - Discussion mailing | 81 | - ` <&OE_LISTS_URL;/listinfo/bitbake-devel>`__ - Discussion mailing |
82 | list about the `BitBake <#bitbake-term>`__ build tool. | 82 | list about the :term:`BitBake` build tool. |
83 | 83 | ||
84 | - ` <&YOCTO_LISTS_URL;/listinfo/poky>`__ - Discussion mailing list | 84 | - ` <&YOCTO_LISTS_URL;/listinfo/poky>`__ - Discussion mailing list |
85 | about `Poky <#poky>`__. | 85 | about `Poky <#poky>`__. |
@@ -179,7 +179,7 @@ Here is a list of resources you might find helpful: | |||
179 | - `Toaster User Manual <&YOCTO_DOCS_TOAST_URL;>`__\ *:* This manual | 179 | - `Toaster User Manual <&YOCTO_DOCS_TOAST_URL;>`__\ *:* This manual |
180 | introduces and describes how to set up and use Toaster. Toaster is an | 180 | introduces and describes how to set up and use Toaster. Toaster is an |
181 | Application Programming Interface (API) and web-based interface to | 181 | Application Programming Interface (API) and web-based interface to |
182 | the `OpenEmbedded Build System <#build-system-term>`__, which uses | 182 | the :term:`OpenEmbedded Build System`, which uses |
183 | BitBake, that reports build information. | 183 | BitBake, that reports build information. |
184 | 184 | ||
185 | - `FAQ <&YOCTO_WIKI_URL;/wiki/FAQ>`__\ *:* A list of commonly asked | 185 | - `FAQ <&YOCTO_WIKI_URL;/wiki/FAQ>`__\ *:* A list of commonly asked |