All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] base.bbclass: fix soc-family test
@ 2010-09-02 18:52 Frans Meulenbroeks
  2010-09-09  7:11 ` Frans Meulenbroeks
  0 siblings, 1 reply; 21+ messages in thread
From: Frans Meulenbroeks @ 2010-09-02 18:52 UTC (permalink / raw)
  To: openembedded-devel

see http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-September/023680.html

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
---
 classes/base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/base.bbclass b/classes/base.bbclass
index 299e875..2c9ad89 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -337,7 +337,7 @@ python () {
             this_machine = bb.data.getVar('MACHINE', d, 1)
             if this_machine and not re.match(need_machine, this_machine):
                 this_soc_family = bb.data.getVar('SOC_FAMILY', d, 1)
-                if this_soc_family and not re.match(need_machine, this_soc_family):
+                if (this_soc_family and not re.match(need_machine, this_soc_family)) or not this_soc_family:
                     raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine)
 
         need_target = bb.data.getVar('COMPATIBLE_TARGET_SYS', d, 1)
-- 
1.6.4.2




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

end of thread, other threads:[~2010-09-11 11:34 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-02 18:52 [PATCH] base.bbclass: fix soc-family test Frans Meulenbroeks
2010-09-09  7:11 ` Frans Meulenbroeks
2010-09-09  9:30   ` Phil Blundell
2010-09-09 10:07     ` Leon Woestenberg
2010-09-09 10:11     ` Frans Meulenbroeks
2010-09-09 12:20       ` Maupin, Chase
2010-09-09 13:16         ` Frans Meulenbroeks
2010-09-10 18:37           ` Denys Dmytriyenko
2010-09-10 21:20             ` Phil Blundell
2010-09-10 20:27               ` Maupin, Chase
2010-09-10 22:53                 ` Phil Blundell
2010-09-11 11:33             ` Michael 'Mickey' Lauer
2010-09-09 14:06       ` Chris Larson
2010-09-09 14:16         ` Philip Balister
2010-09-10 18:50           ` Denys Dmytriyenko
2010-09-10 18:55             ` Chris Larson
2010-09-10 19:19               ` Denys Dmytriyenko
2010-09-10 20:38             ` Tom Rini
2010-09-10 22:26               ` Phil Blundell
2010-09-09 12:13   ` Maupin, Chase
2010-09-09 12:30   ` Maupin, Chase

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.