summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-22 21:23:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-23 16:49:39 +0100
commit23deb29c1b61ca9ef04b47dd27b9a8a126ad3d8d (patch)
tree630e7046738bdc78d6336fc3fe0adeaa2d819768 /bitbake/lib/bb/cooker.py
parentc28d643c7bb997eab04e31b47dbcaa0a1ed0296d (diff)
downloadpoky-23deb29c1b61ca9ef04b47dd27b9a8a126ad3d8d.tar.gz
bitbake: cooker: Handle multiconfig name mappings correctly
"bitbake mc:arm:bash mc:arm:busybox" works but "bitbake multiconfig:arm:bash multiconfig:arm:busybox" does not. The reason is the list is modified whilst iterating. Don't do that. [YOCTO #13607] (Bitbake rev: cd041a78d96e656438d93fb1e288080b8a6fe8bd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 19ddc1d3ba..f6abc63487 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1614,7 +1614,7 @@ class BBCooker:
1614 raise NothingToBuild 1614 raise NothingToBuild
1615 1615
1616 ignore = (self.data.getVar("ASSUME_PROVIDED") or "").split() 1616 ignore = (self.data.getVar("ASSUME_PROVIDED") or "").split()
1617 for pkg in pkgs_to_build: 1617 for pkg in pkgs_to_build.copy():
1618 if pkg in ignore: 1618 if pkg in ignore:
1619 parselog.warning("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg) 1619 parselog.warning("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg)
1620 if pkg.startswith("multiconfig:"): 1620 if pkg.startswith("multiconfig:"):