From: Mark Hatle Date: Fri, 7 Feb 2020 20:20:06 +0000 (-0600) Subject: package.bbclass: Fix debug source processing for static libraries X-Git-Tag: uninative-2.8~249 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=fa356b23c2f4599681693bba50d36659b07a8125;p=openembedded-core.git package.bbclass: Fix debug source processing for static libraries Format of the sources list is the [ (file, [source, ...]), ... ] before this change, the static libraries were processed but the items were included incorrectly causing no sources for static libraries to be included. Signed-off-by: Mark Hatle Signed-off-by: Richard Purdie --- diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index ef3de35961..46ec9b6b3a 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1051,7 +1051,7 @@ python split_and_strip_files () { if debugsrcdir and not targetos.startswith("mingw"): for file in staticlibs: - results.extend(source_info(file, d, fatal=False)) + results.append( (file, source_info(file, d, fatal=False)) ) sources = set() for r in results: