diff options
-rw-r--r-- | meta/classes/base.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 67b33706f4..f9697a9ad8 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -398,11 +398,11 @@ python () { | |||
398 | if not appends: | 398 | if not appends: |
399 | return | 399 | return |
400 | if varname.find("DEPENDS") != -1: | 400 | if varname.find("DEPENDS") != -1: |
401 | if pn.startswith("nativesdk-"): | 401 | if bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('cross-canadian', d) : |
402 | appends = expandFilter(appends, "", "nativesdk-") | 402 | appends = expandFilter(appends, "", "nativesdk-") |
403 | if pn.endswith("-native"): | 403 | elif bb.data.inherits_class('native', d): |
404 | appends = expandFilter(appends, "-native", "") | 404 | appends = expandFilter(appends, "-native", "") |
405 | if mlprefix: | 405 | elif mlprefix: |
406 | appends = expandFilter(appends, "", mlprefix) | 406 | appends = expandFilter(appends, "", mlprefix) |
407 | varname = d.expand(varname) | 407 | varname = d.expand(varname) |
408 | d.appendVar(varname, " " + " ".join(appends)) | 408 | d.appendVar(varname, " " + " ".join(appends)) |