[oe-commits] [openembedded-core] 06/06: sstate: avoid indirect bison/flex-native dependencies (via SSTATE_EXCLUDEDEPS_SYSROOT)

git at git.openembedded.org git at git.openembedded.org
Sun Jun 17 12:34:02 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit c23a2907ea353df8a37c936a0b8ef33c1f2b9b32
Author: André Draszik <andre.draszik at jci.com>
AuthorDate: Tue May 22 13:25:53 2018 +0100

    sstate: avoid indirect bison/flex-native dependencies (via SSTATE_EXCLUDEDEPS_SYSROOT)
    
    Avoid adding flex-native or bison-native to the sysroot without a specific
    dependency in the recipe. This means indirect dependencies
    (e.g. X -> Y -> binutils-cross -> flex-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 <andre.draszik at jci.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/conf/layer.conf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 0a8f8ed..106f990 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 flex-native or bison-native to the sysroot without a specific
+# dependency in the recipe. This means indirect dependencies
+# (e.g. X -> Y -> binutils-cross -> flex-native) no longer meet the
+# dependency incidentally. This improves determinism and avoids build
+# failures when people switch to external toolchains.
+SSTATE_EXCLUDEDEPS_SYSROOT += ".*->(flex|bison)-native"
 # Nothing needs to depend on libc-initial/gcc-cross-initial
 # base-passwd/shadow-sysroot don't need their dependencies
 SSTATE_EXCLUDEDEPS_SYSROOT += "\

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list