summaryrefslogtreecommitdiffstats
path: root/meta/classes/features_check.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-27 11:42:32 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-27 16:48:10 (GMT)
commitb1fe4aab8b8b8a98ab8ba4788a34a90446d6222b (patch)
tree2880610413e2e726750fab7c8c6ec9a77b731e10 /meta/classes/features_check.bbclass
parentf45f769edbaffe41e9c23f91e629bff15542a4e0 (diff)
downloadpoky-b1fe4aab8b8b8a98ab8ba4788a34a90446d6222b.tar.gz
distrodata/maintainers: Add PARSE_ALL_RECIPES flag to fix test issues
Currently the test depends on which DISTRO_FEATURES and targets are selected. Similar to SOURCE_MIRROR_FETCH, add PARSE_ALL_RECIPES to allow the test to see a much wider range of them. This avoids issues added by the new ucontext musl specific recipe and allows the current whitelist to be cleared out a bit (more cleanup can follow). (From OE-Core rev: c139e058bb2df48c79784cf3fd701e51bbc68427) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/features_check.bbclass')
-rw-r--r--meta/classes/features_check.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/features_check.bbclass b/meta/classes/features_check.bbclass
index 391fbe1..876d32e 100644
--- a/meta/classes/features_check.bbclass
+++ b/meta/classes/features_check.bbclass
@@ -23,6 +23,9 @@
23# Copyright 2013 (C) O.S. Systems Software LTDA. 23# Copyright 2013 (C) O.S. Systems Software LTDA.
24 24
25python () { 25python () {
26 if d.getVar('PARSE_ALL_RECIPES', False):
27 return
28
26 # Assume at least one var is set. 29 # Assume at least one var is set.
27 distro_features = set((d.getVar('DISTRO_FEATURES') or '').split()) 30 distro_features = set((d.getVar('DISTRO_FEATURES') or '').split())
28 31