summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2020-02-07 14:20:06 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-08 13:19:56 +0000
commitfa356b23c2f4599681693bba50d36659b07a8125 (patch)
tree2eb0d84d35f1fe7c919699b75be04c0cb756b1c4 /meta/classes/package.bbclass
parent61efc1e287326f52810a439ccde996f45ef89733 (diff)
downloadopenembedded-core-contrib-fa356b23c2f4599681693bba50d36659b07a8125.tar.gz
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 <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
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: