summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-27 11:42:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-27 16:48:10 +0000
commitb1fe4aab8b8b8a98ab8ba4788a34a90446d6222b (patch)
tree2880610413e2e726750fab7c8c6ec9a77b731e10 /meta/classes/base.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/base.bbclass')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 5e5cf66322..7bfb1d1912 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -496,7 +496,7 @@ python () {
496 d.appendVarFlag('do_devshell', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') 496 d.appendVarFlag('do_devshell', 'depends', ' virtual/fakeroot-native:do_populate_sysroot')
497 497
498 need_machine = d.getVar('COMPATIBLE_MACHINE') 498 need_machine = d.getVar('COMPATIBLE_MACHINE')
499 if need_machine: 499 if need_machine and not d.getVar('PARSE_ALL_RECIPES', False):
500 import re 500 import re
501 compat_machines = (d.getVar('MACHINEOVERRIDES') or "").split(":") 501 compat_machines = (d.getVar('MACHINEOVERRIDES') or "").split(":")
502 for m in compat_machines: 502 for m in compat_machines:
@@ -505,7 +505,7 @@ python () {
505 else: 505 else:
506 raise bb.parse.SkipRecipe("incompatible with machine %s (not in COMPATIBLE_MACHINE)" % d.getVar('MACHINE')) 506 raise bb.parse.SkipRecipe("incompatible with machine %s (not in COMPATIBLE_MACHINE)" % d.getVar('MACHINE'))
507 507
508 source_mirror_fetch = d.getVar('SOURCE_MIRROR_FETCH', False) 508 source_mirror_fetch = d.getVar('SOURCE_MIRROR_FETCH', False) or d.getVar('PARSE_ALL_RECIPES', False)
509 if not source_mirror_fetch: 509 if not source_mirror_fetch:
510 need_host = d.getVar('COMPATIBLE_HOST') 510 need_host = d.getVar('COMPATIBLE_HOST')
511 if need_host: 511 if need_host: