summaryrefslogtreecommitdiffstats
path: root/meta/conf/layer.conf
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@jci.com>2018-05-22 13:25:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-16 22:40:27 +0100
commit78bef0898cb17f4c8dcb01bdcba3bc0fff0e87a6 (patch)
tree51997240f53defc62af46ab11c68bf1f9ed4b621 /meta/conf/layer.conf
parent066c2221f086f1f161ee37ad906ef26dbef32275 (diff)
downloadpoky-78bef0898cb17f4c8dcb01bdcba3bc0fff0e87a6.tar.gz
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>
Diffstat (limited to 'meta/conf/layer.conf')
-rw-r--r--meta/conf/layer.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 0a8f8ed9eb..cc77d078a8 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -78,6 +78,12 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
78 weston-init->kbd \ 78 weston-init->kbd \
79" 79"
80 80
81# Avoid adding bison-native to the sysroot without a specific
82# dependency in the recipe. This means indirect dependencies
83# (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the
84# dependency incidentally. This improves determinism and avoids build
85# failures when people switch to external toolchains.
86SSTATE_EXCLUDEDEPS_SYSROOT += ".*->bison-native"
81# Nothing needs to depend on libc-initial/gcc-cross-initial 87# Nothing needs to depend on libc-initial/gcc-cross-initial
82# base-passwd/shadow-sysroot don't need their dependencies 88# base-passwd/shadow-sysroot don't need their dependencies
83SSTATE_EXCLUDEDEPS_SYSROOT += "\ 89SSTATE_EXCLUDEDEPS_SYSROOT += "\