diff options
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index e740650cfd..119b052f3f 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
| @@ -285,7 +285,9 @@ python () { | |||
| 285 | import re | 285 | import re |
| 286 | this_machine = bb.data.getVar('MACHINE', d, 1) | 286 | this_machine = bb.data.getVar('MACHINE', d, 1) |
| 287 | if this_machine and not re.match(need_machine, this_machine): | 287 | if this_machine and not re.match(need_machine, this_machine): |
| 288 | raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) | 288 | this_soc_family = bb.data.getVar('SOC_FAMILY', d, 1) |
| 289 | if (this_soc_family and not re.match(need_machine, this_soc_family)) or not this_soc_family: | ||
| 290 | raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) | ||
| 289 | 291 | ||
| 290 | 292 | ||
| 291 | dont_want_license = bb.data.getVar('INCOMPATIBLE_LICENSE', d, 1) | 293 | dont_want_license = bb.data.getVar('INCOMPATIBLE_LICENSE', d, 1) |
