diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-05-31 20:53:07 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-31 20:53:07 +0000 |
commit | 846cfdaeb722991f72663ec2b5e84ce90cf505cd (patch) | |
tree | 67134da35fc07ff819bb7394820f777446da806f /classes/base.bbclass | |
parent | bb1921c8424afe6a65fef5b752d1bab342d184e8 (diff) |
base.bbclass: Fix COMPATIBLE_MACHINE to cope when MACHINE isn't set
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r-- | classes/base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index b292355920..4bf37dfd03 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -703,7 +703,7 @@ python __anonymous () { if need_machine: import re this_machine = bb.data.getVar('MACHINE', d, 1) - if not re.match(need_machine, this_machine): + if this_machine and not re.match(need_machine, this_machine): raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) pn = bb.data.getVar('PN', d, 1) |