mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-04 06:54:36 +02:00
We want the path included in the checksums for the -external-cross recipes, as they wrap the external binaries and hardcode that path, but we don't want it included in the checksums for anything else, and we don't want rebuilding the external-cross recipes to cause rebuilds of thing sthat depend upon them. Signed-off-by: Christopher Larson <kergoth@gmail.com>
23 lines
744 B
Plaintext
23 lines
744 B
Plaintext
BBPATH .= ":${LAYERDIR}"
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
BBFILE_COLLECTIONS += "sourcery"
|
|
BBFILE_PRIORITY_sourcery = "2"
|
|
BBFILE_PATTERN_sourcery = "^${LAYERDIR}/"
|
|
|
|
LAYERDEPENDS_sourcery = "core"
|
|
|
|
BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.%s' % (layer, ext) \
|
|
for layer in '${BBFILE_COLLECTIONS}'.split() for ext in ['bb', 'bbappend'])}"
|
|
|
|
TCMODE = "external-sourcery"
|
|
|
|
# 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} \
|
|
"
|