[oe-commits] [bitbake] branch master-next updated: cooker: Add compability handling for multiconfig: prefix migration

git at git.openembedded.org git at git.openembedded.org
Mon Jun 10 13:40:33 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

The following commit(s) were added to refs/heads/master-next by this push:
     new c4d9089  cooker: Add compability handling for multiconfig: prefix migration
c4d9089 is described below

commit c4d90890547af642e99cc541af3415df3559563e
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Mon Jun 10 14:19:52 2019 +0100

    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.
    
    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 855a180..e0cbed5 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')

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list