[bitbake-devel] [PATCH 1/1] cache.py: print debug info when EXCLUDE_FROM_WORLD

Robert Yang liezhi.yang at windriver.com
Fri Jun 6 14:35:06 UTC 2014


This gives us an easy way to find out which recipes have been excluded
from world when there are many layers.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 bitbake/lib/bb/cache.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 38e9148..936829b 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -232,7 +232,9 @@ class CoreRecipeInfo(RecipeInfoCommon):
 
         # Collect files we may need for possible world-dep
         # calculations
-        if not self.not_world:
+        if self.not_world:
+            logger.debug(1, "EXCLUDE FROM WORLD: %s", fn)
+        else:
             cachedata.possible_world.append(fn)
 
         # create a collection of all targets for sanity checking
-- 
1.7.10.4




More information about the bitbake-devel mailing list