]> code.ossystems Code Review - openembedded-core.git/commitdiff
binutils: inherit pkgconfig to address libdebuginfod depdency
authorChanho Park <chanho61.park@samsung.com>
Fri, 10 Sep 2021 05:03:51 +0000 (14:03 +0900)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Sep 2021 21:36:27 +0000 (22:36 +0100)
Since libdebuginfo was default distro feature[1], cross build of binutils
has been broken due to absence of pkg-config. To find the dependency
properly, we should inherit pkgconfig bbclass.

checking for aarch64-poky-linux-pkg-config... no
checking for pkg-config... no
checking whether to use debuginfod... yes
checking for libdebuginfod >= 0.179... no
configure: error: "--with-debuginfod was given, but libdebuginfod is missing or unusable."

[1]: https://lists.openembedded.org/g/openembedded-core/message/150666

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/binutils/binutils.inc

index 7d5149fa16ea6e1baf41c8d02aa55f524cb6e8b5..2f65ae54741c2cfea9a67aff44cd5d55caf9fae1 100644 (file)
@@ -13,7 +13,7 @@ LICENSE = "GPLv3"
 
 DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"
 
-inherit autotools gettext multilib_header texinfo
+inherit autotools gettext multilib_header pkgconfig texinfo
 
 FILES:${PN} = " \
        ${bindir}/${TARGET_PREFIX}* \