]> code.ossystems Code Review - openembedded-core.git/commitdiff
staging: Code cleanup
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Jun 2019 16:49:41 +0000 (17:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Jun 2019 12:51:31 +0000 (13:51 +0100)
multiconfig dependencies no longer appear in BB_TASKDEPDATA so we can drop
this code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/staging.bbclass

index 920706022283e3e35e4a0b3391b367e34b8dc9e5..94c85248daf1db898b1b3b55b770c7f979a1dfcf 100644 (file)
@@ -261,12 +261,10 @@ python extend_recipe_sysroot() {
     workdir = d.getVar("WORKDIR")
     #bb.warn(str(taskdepdata))
     pn = d.getVar("PN")
-    mc = d.getVar("BB_CURRENT_MC")
     stagingdir = d.getVar("STAGING_DIR")
     sharedmanifests = d.getVar("COMPONENTS_DIR") + "/manifests"
     recipesysroot = d.getVar("RECIPE_SYSROOT")
     recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE")
-    current_variant = d.getVar("BBEXTENDVARIANT")
 
     # Detect bitbake -b usage
     nodeps = d.getVar("BB_LIMITEDDEPS") or False
@@ -452,11 +450,6 @@ python extend_recipe_sysroot() {
     msg_adding = []
 
     for dep in configuredeps:
-        if mc != 'default':
-            # We should not care about other multiconfigs
-            depmc = dep.split(':')[1]
-            if depmc != mc:
-                continue
         c = setscenedeps[dep][0]
         if c not in installed:
             continue