]> code.ossystems Code Review - openembedded-core.git/commit
cross-canadian: Put links in place for uclibc and musl
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 25 Jul 2015 13:47:52 +0000 (14:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jul 2015 22:28:22 +0000 (23:28 +0100)
commitee16cb0a3f40384f509083f0ef3f36b68f73b7cf
tree238dcd8a8607c5c4ec08b22bde8656fb2c9ace0b
parentda2e92e256054b137a1646fdad1fe1a47ba3215a
cross-canadian: Put links in place for uclibc and musl

gcc-cross-canadian-<arch> is only built once. It needs to target all the
different libcs, not just the currently selected one. This change
ensures that if another libc is used, symlinks are present such that the
compiler can be found. The base version is always assumed to be "glibc"
with symlinks from musl and uclibc compiler names.

This means gcc-cross-canadian is consistent regardless of which libc is
selected when its build in multimachine builds.

[YOCTO #8025]

(From OE-Core rev: 83ead626c0da75edec2833ffb1a29011ec7b83d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross-canadian.bbclass