[oe-commits] [openembedded-core] 01/02: package.bbclass: Only try and process static lib debug symbols on targetos != mingw*

git at git.openembedded.org git at git.openembedded.org
Fri Apr 20 07:15:43 UTC 2018


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

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

commit 305dda730738a8fb3789047b06fcc45d10212aa3
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Apr 20 08:08:01 2018 +0100

    package.bbclass: Only try and process static lib debug symbols on targetos != mingw*
    
    "package.bbclass: Include dbgsrc for static libs" introduced a regression
    on mingw, fix this by excluding on that TARGETOS.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/package.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index fff7ceb..0436d91 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -880,6 +880,7 @@ python split_and_strip_files () {
 
     dvar = d.getVar('PKGD')
     pn = d.getVar('PN')
+    targetos = d.getVar('TARGET_OS')
 
     oldcwd = os.getcwd()
     os.chdir(dvar)
@@ -1049,7 +1050,7 @@ python split_and_strip_files () {
             # Only store off the hard link reference if we successfully split!
             splitdebuginfo(file, fpath, debugsrcdir, sourcefile, d)
 
-        if debugsrcdir:
+        if debugsrcdir and not targetos.startswith("mingw"):
             for file in staticlibs:
                 append_source_info(file, sourcefile, d)
 

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


More information about the Openembedded-commits mailing list