mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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 <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1600,6 +1600,9 @@ class BBCooker:
|
|||||||
for pkg in pkgs_to_build:
|
for pkg in pkgs_to_build:
|
||||||
if pkg in ignore:
|
if pkg in ignore:
|
||||||
parselog.warning("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg)
|
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:
|
if 'world' in pkgs_to_build:
|
||||||
pkgs_to_build.remove('world')
|
pkgs_to_build.remove('world')
|
||||||
|
|||||||
Reference in New Issue
Block a user