]> code.ossystems Code Review - openembedded-core.git/commit
gcc: Fix gcc-multilib-config comparison
authorMark Hatle <mark.hatle@windriver.com>
Thu, 31 Jul 2014 01:16:25 +0000 (20:16 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Aug 2014 08:25:34 +0000 (09:25 +0100)
commitced919f6013fc0dbb8b8f75f87a8c0a4f416b1fe
tree1006fa994eba68ee6c229eb08af42888c9541408
parent226f17bfd2ceea7dc5784fbfaa8608f26b90d7f3
gcc: Fix gcc-multilib-config comparison

Fix an issue on a multilib configuration that contains more then 1 multilib.

I.e. on MIPS64:

DEFAULTTUNE = "mips64"
MULTILIBS = "lib32n:mips64_n32 lib32:mips32"

While normally you'd use 'libn32', the above is legal.

With the startswith code, the system will look to expand the 'lib32' element
and find the 'lib32n' instead, and will result in a warning:

lib32 doesn't have a corresponding tune. Skipping...

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/gcc/gcc-multilib-config.inc