Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [PATCH] cache.py: Drop support for BROKEN variable
@ 2013-01-28 14:50 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-01-28 14:50 UTC (permalink / raw)
  To: bitbake-devel

All it now does is function in a similar way to EXCLUDE_FROM_WORLD and
since we have a better named variable for this, lets just drop the
usage of BROKEN at the bitbake level.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index fd5fbb3..1c975b6 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -126,7 +126,6 @@ class CoreRecipeInfo(RecipeInfoCommon):
         self.pv = self.getvar('PV', metadata)
         self.pr = self.getvar('PR', metadata)
         self.defaultpref = self.intvar('DEFAULT_PREFERENCE', metadata)
-        self.broken = self.getvar('BROKEN', metadata)
         self.not_world = self.getvar('EXCLUDE_FROM_WORLD', metadata)
         self.stamp = self.getvar('STAMP', metadata)
         self.stampclean = self.getvar('STAMPCLEAN', metadata)        
@@ -233,7 +232,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
 
         # Collect files we may need for possible world-dep
         # calculations
-        if not self.broken and not self.not_world:
+        if not self.not_world:
             cachedata.possible_world.append(fn)
 
         # create a collection of all targets for sanity checking





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-28 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-28 14:50 [PATCH] cache.py: Drop support for BROKEN variable Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox