]> code.ossystems Code Review - openembedded-core.git/commitdiff
package.bbclass: Fix debug source processing for static libraries
authorMark Hatle <mark.hatle@kernel.crashing.org>
Fri, 7 Feb 2020 20:20:06 +0000 (14:20 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Feb 2020 13:19:56 +0000 (13:19 +0000)
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 <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass

index ef3de35961c84abddf2066a0c063de8c12029aaf..46ec9b6b3a1fb3fb8ce5a9bcf1f4de24c8534c3b 100644 (file)
@@ -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: