summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2020-02-07 20:20:06 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-08 13:20:02 (GMT)
commit6a543159a33f3e215f0488cf21b80b90a4e0de47 (patch)
tree636aa80bb707c003733f38bbdba57e6ba7001311 /meta/classes/package.bbclass
parent0e48ca10aa44c118ff1f97bf0394c04819c6dea4 (diff)
downloadpoky-6a543159a33f3e215f0488cf21b80b90a4e0de47.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. (From OE-Core rev: fa356b23c2f4599681693bba50d36659b07a8125) 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 ef3de35..46ec9b6 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1051,7 +1051,7 @@ python split_and_strip_files () {
1051 1051
1052 if debugsrcdir and not targetos.startswith("mingw"): 1052 if debugsrcdir and not targetos.startswith("mingw"):
1053 for file in staticlibs: 1053 for file in staticlibs:
1054 results.extend(source_info(file, d, fatal=False)) 1054 results.append( (file, source_info(file, d, fatal=False)) )
1055 1055
1056 sources = set() 1056 sources = set()
1057 for r in results: 1057 for r in results: