summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDorinda <dorindabassey@gmail.com>2021-03-01 17:45:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-02 20:39:35 +0000
commit5643598a63f8a2810ac24e5cdf8bada7b31c3ff1 (patch)
treec004505d17dae63c73e26d472622d1be9ea944f4
parent5fc2c2ea51bcd7a6d94448b4e9fd67aed9720c29 (diff)
downloadpoky-5643598a63f8a2810ac24e5cdf8bada7b31c3ff1.tar.gz
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>
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.36.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.36.bb b/meta/recipes-devtools/binutils/binutils_2.36.bb
index f316eb8d1c..a50d2ee7ee 100644
--- a/meta/recipes-devtools/binutils/binutils_2.36.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.36.bb
@@ -25,6 +25,8 @@ EXTRA_OECONF_class-native = "--enable-targets=all \
25 --disable-sim \ 25 --disable-sim \
26 --disable-werror" 26 --disable-werror"
27 27
28PACKAGECONFIG ??= ""
29PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils"
28# gcc9.0 end up mis-compiling libbfd.so with O2 which then crashes on target 30# gcc9.0 end up mis-compiling libbfd.so with O2 which then crashes on target
29# So remove -O2 and use -Os as workaround 31# So remove -O2 and use -Os as workaround
30SELECTED_OPTIMIZATION_remove_mipsarch = "-O2" 32SELECTED_OPTIMIZATION_remove_mipsarch = "-O2"