[OE-core] [PATCH 1/3] package.bbclass: Fix debug source processing for static libraries
Mark Hatle
mark.hatle at kernel.crashing.org
Fri Feb 7 20:20:06 UTC 2020
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 at kernel.crashing.org>
---
meta/classes/package.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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:
--
2.17.1
More information about the Openembedded-core
mailing list