diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 83cfee7fb4..4446addc77 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -614,7 +614,7 @@ class BBCooker: | |||
614 | # Replace string such as "mc:*:bash" | 614 | # Replace string such as "mc:*:bash" |
615 | # into "mc:A:bash mc:B:bash bash" | 615 | # into "mc:A:bash mc:B:bash bash" |
616 | for k in targetlist: | 616 | for k in targetlist: |
617 | if k.startswith("mc:"): | 617 | if k.startswith("mc:") and k.count(':') >= 2: |
618 | if wildcard: | 618 | if wildcard: |
619 | bb.fatal('multiconfig conflict') | 619 | bb.fatal('multiconfig conflict') |
620 | if k.split(":")[1] == "*": | 620 | if k.split(":")[1] == "*": |
@@ -648,7 +648,7 @@ class BBCooker: | |||
648 | for k in fulltargetlist: | 648 | for k in fulltargetlist: |
649 | origk = k | 649 | origk = k |
650 | mc = "" | 650 | mc = "" |
651 | if k.startswith("mc:"): | 651 | if k.startswith("mc:") and k.count(':') >= 2: |
652 | mc = k.split(":")[1] | 652 | mc = k.split(":")[1] |
653 | k = ":".join(k.split(":")[2:]) | 653 | k = ":".join(k.split(":")[2:]) |
654 | ktask = task | 654 | ktask = task |