diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2024-12-22 08:02:37 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-23 11:41:38 +0000 |
commit | 284a08b6e40761f462da986a6bf11c7bd43d20aa (patch) | |
tree | 71cb511a3fcd1ee17288ff7c38192d8a904f566c /meta/classes-recipe | |
parent | b51df1baa8433b9fe8c8debbb5ee49a98e31953e (diff) | |
download | poky-284a08b6e40761f462da986a6bf11c7bd43d20aa.tar.gz |
base/features_check: Make PARSE_ALL_RECIPES and SOURCE_MIRROR_FETCH boolean
So that value "0" can turn them off.
(From OE-Core rev: 1a2afcd0773c5ec5946d1dfc27bde585c52a5724)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r-- | meta/classes-recipe/features_check.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/features_check.bbclass b/meta/classes-recipe/features_check.bbclass index 163a7bc3fc..4e122ecaef 100644 --- a/meta/classes-recipe/features_check.bbclass +++ b/meta/classes-recipe/features_check.bbclass | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | 17 | ||
18 | python () { | 18 | python () { |
19 | if d.getVar('PARSE_ALL_RECIPES', False): | 19 | if bb.utils.to_boolean(d.getVar('PARSE_ALL_RECIPES', False)): |
20 | return | 20 | return |
21 | 21 | ||
22 | unused = True | 22 | unused = True |