summaryrefslogtreecommitdiffstats
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 12:36:40 +0000
commit554a16fd101d1ab5ac54f5897445e42a94e54ab9 (patch)
treeb7427f03305caf8fefbb61a74eef55c28abd258b /meta/recipes-devtools
parentd8d2f421d673d9988d6db017d0e5c0e9e6b63396 (diff)
downloadpoky-554a16fd101d1ab5ac54f5897445e42a94e54ab9.tar.gz
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 <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)}"
144 144
145addtask extra_symlinks after do_multilib_install before do_package do_populate_sysroot 145addtask extra_symlinks after do_multilib_install before do_package do_populate_sysroot
146fakeroot python do_extra_symlinks() { 146fakeroot python do_extra_symlinks() {
147 if bb.data.inherits_class('nativesdk', d):
148 return
149
147 targetsys = d.getVar('BASETARGET_SYS') 150 targetsys = d.getVar('BASETARGET_SYS')
148 151
149 if targetsys != d.getVar('TARGET_SYS'): 152 if targetsys != d.getVar('TARGET_SYS'):