diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 1a094ad384..59febd1022 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -205,8 +205,8 @@ def preferred_ml_updates(d): | |||
205 | continue | 205 | continue |
206 | virt = "" | 206 | virt = "" |
207 | if pkg.startswith("virtual/"): | 207 | if pkg.startswith("virtual/"): |
208 | pkg = pkg.replace("virtual/", "") | 208 | pkg = pkg.replace("virtual/", "") |
209 | virt = "virtual/" | 209 | virt = "virtual/" |
210 | for p in prefixes: | 210 | for p in prefixes: |
211 | newname = "PREFERRED_PROVIDER_" + virt + p + "-" + pkg | 211 | newname = "PREFERRED_PROVIDER_" + virt + p + "-" + pkg |
212 | if pkg != "kernel": | 212 | if pkg != "kernel": |
@@ -353,13 +353,13 @@ python () { | |||
353 | appends = bb.utils.explode_deps(d.expand(" ".join(appends))) | 353 | appends = bb.utils.explode_deps(d.expand(" ".join(appends))) |
354 | newappends = [] | 354 | newappends = [] |
355 | for a in appends: | 355 | for a in appends: |
356 | if a.endswith("-native") or a.endswith("-cross"): | 356 | if a.endswith("-native") or a.endswith("-cross"): |
357 | newappends.append(a) | 357 | newappends.append(a) |
358 | elif a.startswith("virtual/"): | 358 | elif a.startswith("virtual/"): |
359 | subs = a.split("/", 1)[1] | 359 | subs = a.split("/", 1)[1] |
360 | newappends.append("virtual/" + prefix + subs + extension) | 360 | newappends.append("virtual/" + prefix + subs + extension) |
361 | else: | 361 | else: |
362 | newappends.append(prefix + a + extension) | 362 | newappends.append(prefix + a + extension) |
363 | return newappends | 363 | return newappends |
364 | 364 | ||
365 | def appendVar(varname, appends): | 365 | def appendVar(varname, appends): |