summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-10-05 17:17:52 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-08 22:01:24 +0100
commit60b02e9daa0bf545ddb54c3796fe4eda9fe56f92 (patch)
treebb2eb319a262b717ce7d69f2cfe516c8015a8711 /documentation/ref-manual
parentf7a8e145e96b7056237e8911d799afa4430edbe3 (diff)
downloadpoky-60b02e9daa0bf545ddb54c3796fe4eda9fe56f92.tar.gz
ref-manual: document DEBUG_PREFIX_MAP
Fixes [YOCTO #14433] (From yocto-docs rev: 23eb07c26044d06bc51c757bf1b0a53b1b357dc8) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/variables.rst17
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