binutils: add PACKAGECONFIG for debuginfod

Added PACKAGECONFIG for debuginfod

(From OE-Core rev: 418c3a5c90d5d0bef67e5fba04a19952dbb308b4)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Dorinda 2021-03-01 17:45:17 +01:00 committed by Richard Purdie
parent 5fc2c2ea51
commit 5643598a63

View File

@ -25,6 +25,8 @@ EXTRA_OECONF_class-native = "--enable-targets=all \
--disable-sim \
--disable-werror"
PACKAGECONFIG ??= ""
PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils"
# gcc9.0 end up mis-compiling libbfd.so with O2 which then crashes on target
# So remove -O2 and use -Os as workaround
SELECTED_OPTIMIZATION_remove_mipsarch = "-O2"