mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
sstate: Avoid indirect bison-native dependencies (via SSTATE_EXCLUDEDEPS_SYSROOT)
Avoid adding bison-native to the sysroot without a specific
dependency in the recipe. This means indirect dependencies
(e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the
dependency incidentally. This improves determinism and avoids build
failures when people switch to external toolchains.
Based on an idea by Richard Purdie:
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146324.html
(From OE-Core rev: b7edc20cc2dd82989bd9561f860cb25478a40f69)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
066c2221f0
commit
78bef0898c
@@ -78,6 +78,12 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
|
||||
weston-init->kbd \
|
||||
"
|
||||
|
||||
# Avoid adding bison-native to the sysroot without a specific
|
||||
# dependency in the recipe. This means indirect dependencies
|
||||
# (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the
|
||||
# dependency incidentally. This improves determinism and avoids build
|
||||
# failures when people switch to external toolchains.
|
||||
SSTATE_EXCLUDEDEPS_SYSROOT += ".*->bison-native"
|
||||
# Nothing needs to depend on libc-initial/gcc-cross-initial
|
||||
# base-passwd/shadow-sysroot don't need their dependencies
|
||||
SSTATE_EXCLUDEDEPS_SYSROOT += "\
|
||||
|
||||
Reference in New Issue
Block a user