diff options
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/variables.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 6638ece539..5cb036c304 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -1582,6 +1582,23 @@ system and gives an overview of their function and contents. | |||
1582 | by :term:`BBFILE_PRIORITY` if that variable is different between two | 1582 | by :term:`BBFILE_PRIORITY` if that variable is different between two |
1583 | layers that contain different versions of the same recipe. | 1583 | layers that contain different versions of the same recipe. |
1584 | 1584 | ||
1585 | :term:`DEBUG_PREFIX_MAP` | ||
1586 | Allows to set C compiler options, such as ``-fdebug-prefix-map``, | ||
1587 | ``-fmacro-prefix-map``, and ``-ffile-prefix-map``, which allow to | ||
1588 | replace build-time paths by install-time ones in the debugging sections | ||
1589 | of binaries. This makes compiler output files location independent, | ||
1590 | at the cost of having to pass an extra command to tell the debugger | ||
1591 | where source files are. | ||
1592 | |||
1593 | This is used by the Yocto Project to guarantee | ||
1594 | :doc:`/test-manual/reproducible-builds` even when the source code of | ||
1595 | a package uses the ``__FILE__`` or ``assert()`` macros. See the | ||
1596 | `reproducible-builds.org <https://reproducible-builds.org/docs/build-path/>`__ | ||
1597 | website for details. | ||
1598 | |||
1599 | This variable is set in the ``meta/conf/bitbake.conf`` file. It is | ||
1600 | not intended to be user-configurable. | ||
1601 | |||
1585 | :term:`DEFAULTTUNE` | 1602 | :term:`DEFAULTTUNE` |
1586 | The default CPU and Application Binary Interface (ABI) tunings (i.e. | 1603 | The default CPU and Application Binary Interface (ABI) tunings (i.e. |
1587 | the "tune") used by the OpenEmbedded build system. The | 1604 | the "tune") used by the OpenEmbedded build system. The |