mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
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>
12 lines
331 B
BlitzBasic
12 lines
331 B
BlitzBasic
require binutils-cross_${PV}.bb
|
|
|
|
inherit crosssdk
|
|
|
|
PN = "binutils-crosssdk-${SDK_SYS}"
|
|
|
|
SRC_URI += "file://0001-binutils-crosssdk-Generate-relocatable-SDKs.patch"
|
|
|
|
do_configure:prepend () {
|
|
sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
|
|
}
|