[oe-commits] [openembedded-core] 09/19: package.bbclass: Fix debug source processing for static libraries

git at git.openembedded.org git at git.openembedded.org
Sat Feb 8 07:49:38 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 4cc3cac599b04c396672c62880f0cad00823ecb7
Author: Mark Hatle <mark.hatle at kernel.crashing.org>
AuthorDate: Fri Feb 7 14:20:06 2020 -0600

    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 at kernel.crashing.org>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.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 ef3de35..46ec9b6 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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list