[bitbake-devel] [PATCH] cooker: Add compability handling for multiconfig: prefix migration
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Jun 10 13:39:14 UTC 2019
This allows "multiconfig:" targets to continue to work by internally
mapping them to the new "mc:" naming, allowing older builds to work
as before.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/cooker.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 855a180523..e0cbed5378 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1600,6 +1600,9 @@ class BBCooker:
for pkg in pkgs_to_build:
if pkg in ignore:
parselog.warning("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg)
+ if pkg.startswith("multiconfig:"):
+ pkgs_to_build.remove(pkg)
+ pkgs_to_build.append(pkg.replace("multiconfig:", "mc:"))
if 'world' in pkgs_to_build:
pkgs_to_build.remove('world')
--
2.20.1
More information about the bitbake-devel
mailing list