diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2023-03-27 07:48:34 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-30 10:51:54 +0100 |
commit | 178c6e0de8d813edf618f5bd9db4af538470a361 (patch) | |
tree | 5967e8972859f781953531ec4640ee1b3d1cd2c4 /bitbake | |
parent | c28a9a5799618ae1ddcccdd3a7f448d759e7a9a4 (diff) | |
download | poky-178c6e0de8d813edf618f5bd9db4af538470a361.tar.gz |
bitbake: cache: Make EXCLUDE_FROM_WORLD boolean
Fixed:
Set EXCLUDE_FROM_WORLD = "0" in recipe_A:
$ bitbake world -g
Check pn-buildlist, the recipe_A won't be built, this patch fixes the problem:
EXCLUDE_FROM_WORLD = "1": Not build in world
EXCLUDE_FROM_WORLD = "0": Add back to world build
(Bitbake rev: 3f4ede2d67a2d75d3faf8887f90371bd7554d492)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index b309775bb9..10910a6809 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -216,7 +216,7 @@ class CoreRecipeInfo(RecipeInfoCommon): | |||
216 | 216 | ||
217 | # Collect files we may need for possible world-dep | 217 | # Collect files we may need for possible world-dep |
218 | # calculations | 218 | # calculations |
219 | if not self.not_world: | 219 | if not bb.utils.to_boolean(self.not_world): |
220 | cachedata.possible_world.append(fn) | 220 | cachedata.possible_world.append(fn) |
221 | #else: | 221 | #else: |
222 | # logger.debug2("EXCLUDE FROM WORLD: %s", fn) | 222 | # logger.debug2("EXCLUDE FROM WORLD: %s", fn) |