mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-04 06:54:36 +02:00
This returns immediately with 'UNKNOWN' if the external toolchain isn't enabled, and also immediately adjusts sys.path regardless of OE_IMPORTS handling to avoid the over-reliance upon that mechanism. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
22 lines
798 B
Plaintext
22 lines
798 B
Plaintext
BBPATH .= ":${LAYERDIR}"
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
BBFILE_COLLECTIONS += "external-toolchain"
|
|
BBFILE_PRIORITY_external-toolchain = "1"
|
|
BBFILE_PATTERN_external-toolchain = "^${LAYERDIR}/"
|
|
|
|
LAYERDEPENDS_external-toolchain = "core"
|
|
LAYERDIR_external-toolchain = "${LAYERDIR}"
|
|
|
|
BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.%s' % (layer, ext) \
|
|
for layer in '${BBFILE_COLLECTIONS}'.split() for ext in ['bb', 'bbappend'])}"
|
|
|
|
# These will rebuild when EXTERNAL_TOOLCHAIN changes, but we don't want
|
|
# everything to rebuild in such a case.
|
|
SIGGEN_EXCLUDERECIPES_ABISAFE += "\
|
|
gcc-external-cross \
|
|
gcc-external-cross-${TARGET_ARCH} \
|
|
binutils-external-cross \
|
|
binutils-external-cross-${TARGET_ARCH} \
|
|
"
|