]> code.ossystems Code Review - openembedded-core.git/commitdiff
license.bbclass: Minor simplification of get_deployed_dependencies()
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 6 Apr 2018 18:26:57 +0000 (20:26 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Apr 2018 21:47:01 +0000 (22:47 +0100)
Since ${SSTATE_ARCHS} now contains ${PACKAGE_EXTRA_ARCHS} there is no
longer any need to add those extra architectures to the list of
architectures handled in get_deployed_dependencies().

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/license.bbclass

index d353110464818036cc0550849a3425ba2f00edd6..9ac7e0bef8aaae7dd2d56ae08bbc442c9b8756b4 100644 (file)
@@ -226,9 +226,7 @@ def get_deployed_dependencies(d):
     # The manifest file name contains the arch. Because we are not running
     # in the recipe context it is necessary to check every arch used.
     sstate_manifest_dir = d.getVar("SSTATE_MANIFESTS")
-    sstate_archs = d.getVar("SSTATE_ARCHS")
-    extra_archs = d.getVar("PACKAGE_EXTRA_ARCHS")
-    archs = list(set(("%s %s" % (sstate_archs, extra_archs)).split()))
+    archs = list(set(d.getVar("SSTATE_ARCHS").split()))
     for dep in depends:
         # Some recipes have an arch on their own, so we try that first.
         special_arch = d.getVar("PACKAGE_ARCH_pn-%s" % dep)