From: André Draszik Date: Tue, 22 May 2018 12:25:53 +0000 (+0100) Subject: sstate: Avoid indirect bison-native dependencies (via SSTATE_EXCLUDEDEPS_SYSROOT) X-Git-Tag: uninative-2.3~657 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b7edc20cc2dd82989bd9561f860cb25478a40f69;p=openembedded-core.git 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 Signed-off-by: André Draszik Signed-off-by: Richard Purdie --- 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 += " \ 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 += "\