bitbake: cache.py: print debug info when EXCLUDE_FROM_WORLD
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 6 Jun 2014 14:35:06 +0000 (10:35 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Jun 2014 16:47:59 +0000 (17:47 +0100)
This gives us an easy way to find out which recipes have been excluded
from world when there are many layers.

(Bitbake rev: cf33d4bfc53ae8dc6353fa295e1acd789d4fc2d2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cache.py

index 38e9148..936829b 100644 (file)
@@ -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