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

git at git.openembedded.org git at git.openembedded.org
Fri Feb 7 23:05:53 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 671be79687d538e75f920f066d931e7e467d9098
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