]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toolchain/gcc/clang: Update PREFERRED_PROVIDER to work with multilibs
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jun 2025 13:31:57 +0000 (14:31 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Jun 2025 21:26:35 +0000 (22:26 +0100)
commit1f69850b62d1e022055d0f3b93ad270c2980462e
treec1426e3563cc82de777a58f7f7e6845c0ddc23df
parent45bdedd213aff8df3214b95ef2a8551c0abd93a0
toolchain/gcc/clang: Update PREFERRED_PROVIDER to work with multilibs

As currently written, the PREFERRED_PROVIDER entries don't work with multilib
since they are added after the manipulations by multilib_global at ConfigParsed
time. We therefore need to spell out the configs correctly for multilib.

To avoid variable overwritten warnings from the expansion, we then have to
expand out the nativesdk providers usng class overrides.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/toolchain/clang.bbclass
meta/classes/toolchain/gcc.bbclass