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: yocto-4.0~7463 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa356b23c2f4599681693bba50d36659b07a8125;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 ef3de35961c..46ec9b6b3a1 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: