]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
base: Switch virtual/cross-XXX to be under recipe specific providers
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Jan 2025 17:55:52 +0000 (17:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Jan 2025 23:07:20 +0000 (23:07 +0000)
commit6eeab1a5d7f23917b94c130e417d59afb757b546
tree9aedaa2060740d1dd06869cb5bfc86d8336c1d9f
parent4ccc3bc8266c327bcc18c9a3faf7536210dfb9f0
base: Switch virtual/cross-XXX to be under recipe specific providers

Currently, providers are set on a global config basis. This change allows
for a select set of providers to be configured using BB_RECIPE_VIRTUAL_PROVIDERS
on a per recipe basis. This would allow for the selection of virtual/cross-cc
as gcc or clang for example.

The PROVIDERS are removed from the recipes so that if a version of the
dependency accidentally slips through, the build will fail and the user
can correct the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/multilib_global.bbclass
meta/conf/distro/include/default-providers.inc
meta/recipes-devtools/binutils/binutils-cross.inc
meta/recipes-devtools/binutils/binutils-crosssdk_2.43.1.bb
meta/recipes-devtools/gcc/gcc-cross.inc