]> code.ossystems Code Review - openembedded-core.git/commit
cross-canadian/libgcc-common: Fixes for arm multilib
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Sep 2016 14:59:34 +0000 (15:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Sep 2016 23:32:58 +0000 (00:32 +0100)
commitbcddc3e7eff138add031bc9c9728be5a42fa62ef
tree73ff6048272e25222116d624f7bcd7fadd550754
parent2e15b478343c6703c37b9a45e61c9de200d98027
cross-canadian/libgcc-common: Fixes for arm multilib

Arm is unusual in that we force it to "linux-gnueabi" and "linux" doesn't
build. This was causing problems for multilib configurations which were assuming
"linux" was the default compiler rather than linux-gnueabi.

This change does two things, ensures symlinks are generated for linux-gnueabi
and also adapts the libgcc code to account for the difference on arm.

It still needs to immediately expand/save TARGET_VENDOR but we defer
deciding what TARGET_OS should be until we know TARGET_ARCH (which the
multilib code may change).

[YOCTO #8642]

Note that sanity tests of a 32 bit arm multilib still break due to issues
with the kernel headers on a mixed bit system. This looks to be a general
headers issue for the platform though and a different type of bug.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross-canadian.bbclass
meta/recipes-devtools/gcc/libgcc-common.inc