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

Submitted by Robert Yang on June 6, 2014, 2:35 p.m.

Details

Message ID a960307317ed2ccf21b9a206cfb4793e7717de4b.1402065176.git.liezhi.yang@windriver.com
State New
Headers show

Commit Message

Robert Yang June 6, 2014, 2:35 p.m.
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@windriver.com>
---
 bitbake/lib/bb/cache.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

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