mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
72342e8eea
commit
959b1f7de4
@@ -1239,7 +1239,7 @@ def process_split_and_strip_files(d):
|
||||
oe.utils.multiprocess_launch(oe.package.runstrip, sfiles, d)
|
||||
|
||||
# Build "minidebuginfo" and reinject it back into the stripped binaries
|
||||
if d.getVar('PACKAGE_MINIDEBUGINFO') == '1':
|
||||
if bb.utils.contains('DISTRO_FEATURES', 'minidebuginfo', True, False, d):
|
||||
oe.utils.multiprocess_launch(inject_minidebuginfo, list(elffiles), d,
|
||||
extraargs=(dvar, dv, d))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user