diff options
author | Etienne Cordonnier <ecordonnier@snap.com> | 2023-12-05 14:37:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-06 22:55:50 +0000 |
commit | 959b1f7de437db9156da11fb799a3c2f4e9082dc (patch) | |
tree | 78b4fe3cada52f6393c24c593d131d817b72e6ed /meta/lib/oe | |
parent | 72342e8eea493777dd278558f9b603a826248937 (diff) | |
download | poky-959b1f7de437db9156da11fb799a3c2f4e9082dc.tar.gz |
gdb/systemd: enable minidebuginfo support conditionally
Enabling minidebuginfo is not useful if gdb and systemd-coredump
are unable to parse it.
In order to parse it, gdb needs xz support. Systemd needs coredump enabled, as
well as elfutil enabled as well (systemd-coredump loads libdw which is part of elfutils using dlopen).
(From OE-Core rev: 0d2df803bebfd7e832ab7da54c4dacaaeeb424a9)
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index f69bf9c353..9a465eaa09 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py | |||
@@ -1239,7 +1239,7 @@ def process_split_and_strip_files(d): | |||
1239 | oe.utils.multiprocess_launch(oe.package.runstrip, sfiles, d) | 1239 | oe.utils.multiprocess_launch(oe.package.runstrip, sfiles, d) |
1240 | 1240 | ||
1241 | # Build "minidebuginfo" and reinject it back into the stripped binaries | 1241 | # Build "minidebuginfo" and reinject it back into the stripped binaries |
1242 | if d.getVar('PACKAGE_MINIDEBUGINFO') == '1': | 1242 | if bb.utils.contains('DISTRO_FEATURES', 'minidebuginfo', True, False, d): |
1243 | oe.utils.multiprocess_launch(inject_minidebuginfo, list(elffiles), d, | 1243 | oe.utils.multiprocess_launch(inject_minidebuginfo, list(elffiles), d, |
1244 | extraargs=(dvar, dv, d)) | 1244 | extraargs=(dvar, dv, d)) |
1245 | 1245 | ||