diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-04-19 11:00:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-23 10:12:09 +0100 |
commit | dd35211b690fc98c3a2abb6bba965e6e9b8b7df3 (patch) | |
tree | 2580507799416c33e51b361c5f5d9fcd088eecda /meta/recipes-devtools/elfutils | |
parent | 972888296cf425f1e6771a175561ef755e95197f (diff) | |
download | poky-dd35211b690fc98c3a2abb6bba965e6e9b8b7df3.tar.gz |
default-distrovars.inc: add debuginfod to default DISTRO_FEATURES
Obtaining debug information by having it served automatically via http
is far more pleasant than messing about with debugfs and gdbserver or
transferring and installing -dbg packages by hand.
I believe we should follow the desktop distros and have it enabled
out of the box. Please see the following commit for the description
of how it works.
(From OE-Core rev: 024c88c82791a113b614abf61ffd82e097bf21d1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.183.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.183.bb b/meta/recipes-devtools/elfutils/elfutils_0.183.bb index be77730945..7aebaf1b6d 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.183.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.183.bb | |||
@@ -39,7 +39,7 @@ EXTRA_OECONF = "--program-prefix=eu-" | |||
39 | DEPENDS_BZIP2 = "bzip2-replacement-native" | 39 | DEPENDS_BZIP2 = "bzip2-replacement-native" |
40 | DEPENDS_BZIP2_class-target = "bzip2" | 40 | DEPENDS_BZIP2_class-target = "bzip2" |
41 | 41 | ||
42 | PACKAGECONFIG ??= "" | 42 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'debuginfod', 'debuginfod libdebuginfod', '', d)}" |
43 | PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}" | 43 | PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}" |
44 | PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz" | 44 | PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz" |
45 | PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl" | 45 | PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl" |