All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cache: allow to set EXCLUDE_FROM_WORLD outside recipe
@ 2012-12-23 20:22 Martin Jansa
  2012-12-23 20:36 ` Chris Larson
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2012-12-23 20:22 UTC (permalink / raw)
  To: bitbake-devel

* sometimes it's useful for distro/builder to set EXCLUDE_FROM_WORLD_foo = "1"
  to exclude recipes not supported by distro/builder in some include file

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 lib/bb/cache.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index a3c073a..3486f39 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -128,7 +128,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
         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.not_world = self.getvar('EXCLUDE_FROM_WORLD', metadata) or self.getVar("EXCLUDE_FROM_WORLD_" + self.pn, metadata)
         self.stamp = self.getvar('STAMP', metadata)
         self.stampclean = self.getvar('STAMPCLEAN', metadata)        
         self.stamp_base = self.flaglist('stamp-base', self.tasks, metadata)
-- 
1.8.0.2




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-27 12:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-23 20:22 [PATCH] cache: allow to set EXCLUDE_FROM_WORLD outside recipe Martin Jansa
2012-12-23 20:36 ` Chris Larson
2012-12-23 20:45   ` Martin Jansa
2012-12-23 23:48     ` Chris Larson
2012-12-27 12:38       ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.