diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 9bd5499a10..38b69db624 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -363,7 +363,10 @@ python () { | |||
363 | newappends.append(a) | 363 | newappends.append(a) |
364 | elif a.startswith("virtual/"): | 364 | elif a.startswith("virtual/"): |
365 | subs = a.split("/", 1)[1] | 365 | subs = a.split("/", 1)[1] |
366 | newappends.append("virtual/" + prefix + subs + extension) | 366 | if subs.startswith(prefix): |
367 | newappends.append(a + extension) | ||
368 | else: | ||
369 | newappends.append("virtual/" + prefix + subs + extension) | ||
367 | else: | 370 | else: |
368 | if a.startswith(prefix): | 371 | if a.startswith(prefix): |
369 | newappends.append(a + extension) | 372 | newappends.append(a + extension) |