[oe-commits] [openembedded-core] 03/04: libgcc-common: Don't apply symlinks for nativesdk

git at git.openembedded.org git at git.openembedded.org
Wed Dec 21 16:29:07 UTC 2016


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

commit 65c56af6b784b6789ddbde98930b8766edaf5a70
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Dec 21 13:33:07 2016 +0000

    libgcc-common: Don't apply symlinks for nativesdk
    
    nativesdk-libgcc doesn't need a symlink into the target space and if we do this
    sstate installation of the recipe can fail depending on whether it races with
    the cross-canadian toolchains.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/gcc/libgcc-common.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index 74e9faa..7a3b410 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
@@ -144,6 +144,9 @@ BASETARGET_SYS = "${@get_original_os(d)}"
 
 addtask extra_symlinks after do_multilib_install before do_package do_populate_sysroot
 fakeroot python do_extra_symlinks() {
+    if bb.data.inherits_class('nativesdk', d):
+        return
+
     targetsys = d.getVar('BASETARGET_SYS')
 
     if targetsys != d.getVar('TARGET_SYS'):

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


More information about the Openembedded-commits mailing list