summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-21 13:33:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-22 08:50:21 +0000
commitb2c1e1fe4221862e0dbf5d08960f0d0228e47c72 (patch)
treecc021f60c8046e7e6403b3f475e1321552b7ffa4 /meta/recipes-devtools
parenta6a3894fb2cb2097d2404b8b8cb2b85df595cfa9 (diff)
downloadopenembedded-core-b2c1e1fe4221862e0dbf5d08960f0d0228e47c72.tar.gz
openembedded-core-b2c1e1fe4221862e0dbf5d08960f0d0228e47c72.tar.bz2
openembedded-core-b2c1e1fe4221862e0dbf5d08960f0d0228e47c72.zip
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@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/libgcc-common.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index 74e9faa528..7a3b4106a8 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'):