From: Richard Purdie Date: Wed, 21 Dec 2016 13:33:07 +0000 (+0000) Subject: libgcc-common: Don't apply symlinks for nativesdk X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=62012e81c6f7aaad5d9c5e8bec2e2417433572e3;p=openembedded-core.git 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. (From OE-Core rev: b2c1e1fe4221862e0dbf5d08960f0d0228e47c72) Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc index 8a13f542c1..c4de31c34b 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', True) if targetsys != d.getVar('TARGET_SYS', True):