elfutils: add PACKAGECONFIG for debuginfod

Removed the config option that disabled debuginfod and
changed it to a PACKAGECONFIG.

[YOCTO #13807]

(From OE-Core rev: a970ba050db606ee646ca155031d47bcd9a9ab8c)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Dorinda
2021-01-27 01:10:44 +01:00
committed by Richard Purdie
parent 2da2405aec
commit c900b345aa

View File

@@ -34,7 +34,7 @@ SRC_URI[sha256sum] = "ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d914
inherit autotools gettext ptest pkgconfig
EXTRA_OECONF = "--program-prefix=eu- --disable-debuginfod"
EXTRA_OECONF = "--program-prefix=eu-"
DEPENDS_BZIP2 = "bzip2-replacement-native"
DEPENDS_BZIP2_class-target = "bzip2"
@@ -43,6 +43,7 @@ PACKAGECONFIG ??= ""
PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}"
PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz"
PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl"
PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd"
RDEPENDS_${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils"