From 79ef0eab3555dc9e9994e899aa00a70ed8573c3c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 10 Jun 2019 14:19:52 +0100 Subject: bitbake: cooker: Add compability handling for multiconfig: prefix migration This allows "multiconfig:" targets to continue to work by internally mapping them to the new "mc:" naming, allowing older builds to work as before. (Bitbake rev: c4d90890547af642e99cc541af3415df3559563e) Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bitbake/lib/bb/cooker.py') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 855a180523..e0cbed5378 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/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') -- cgit v1.2.3-54-g00ecf