1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-25 18:57:02 +00:00

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.

(From OE-Core rev: 6eeab1a5d7f23917b94c130e417d59afb757b546)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2025-01-13 17:55:52 +00:00
parent 90e0a0f7f4
commit 6b1e65b7d6
5 changed files with 7 additions and 4 deletions
@@ -1,5 +1,4 @@
inherit cross
PROVIDES = "virtual/cross-binutils"
PN = "binutils-cross-${TARGET_ARCH}"
BPN = "binutils"
@@ -1,7 +1,5 @@
require binutils-cross_${PV}.bb
PROVIDES = "virtual/nativesdk-cross-binutils"
inherit crosssdk
PN = "binutils-crosssdk-${SDK_SYS}"