diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-21 13:33:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-11 17:21:46 +0000 |
commit | 6a3f93a3778a5d72e6895526e6f7ec836f9e3fc4 (patch) | |
tree | bc6d16a876e89460bb6ff32a04cc7498ff01c16e | |
parent | b4f432e3905d70601fcf5fa53e2d30a3c4ea275f (diff) | |
download | poky-6a3f93a3778a5d72e6895526e6f7ec836f9e3fc4.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)
(From OE-Core rev: 62012e81c6f7aaad5d9c5e8bec2e2417433572e3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc-common.inc | 3 |
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 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)}" | |||
144 | 144 | ||
145 | addtask extra_symlinks after do_multilib_install before do_package do_populate_sysroot | 145 | addtask extra_symlinks after do_multilib_install before do_package do_populate_sysroot |
146 | fakeroot python do_extra_symlinks() { | 146 | fakeroot python do_extra_symlinks() { |
147 | if bb.data.inherits_class('nativesdk', d): | ||
148 | return | ||
149 | |||
147 | targetsys = d.getVar('BASETARGET_SYS', True) | 150 | targetsys = d.getVar('BASETARGET_SYS', True) |
148 | 151 | ||
149 | if targetsys != d.getVar('TARGET_SYS', True): | 152 | if targetsys != d.getVar('TARGET_SYS', True): |