]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libgcc-common: Don't apply symlinks for nativesdk
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Dec 2016 13:33:07 +0000 (13:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Dec 2016 08:50:21 +0000 (08:50 +0000)
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@linuxfoundation.org>
meta/recipes-devtools/gcc/libgcc-common.inc

index 74e9faa528ef6f840df0c89088d76c3ed5a51130..7a3b4106a8f6f95e4b8bbe2c434c1237ec05679a 100644 (file)
@@ -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'):