mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
license.bbclass: Minor simplification of get_deployed_dependencies()
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().
(From OE-Core rev: e55e6df4f1434458cdfa0e2d3610b48119e5a782)
(From OE-Core rev: 64ca9e513eabc85db9648a6483bd3024c7fe8746)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
05711ba185
commit
c5d9b77ba8
@@ -226,9 +226,7 @@ def get_deployed_dependencies(d):
|
|||||||
# The manifest file name contains the arch. Because we are not running
|
# The manifest file name contains the arch. Because we are not running
|
||||||
# in the recipe context it is necessary to check every arch used.
|
# in the recipe context it is necessary to check every arch used.
|
||||||
sstate_manifest_dir = d.getVar("SSTATE_MANIFESTS")
|
sstate_manifest_dir = d.getVar("SSTATE_MANIFESTS")
|
||||||
sstate_archs = d.getVar("SSTATE_ARCHS")
|
archs = list(set(d.getVar("SSTATE_ARCHS").split()))
|
||||||
extra_archs = d.getVar("PACKAGE_EXTRA_ARCHS")
|
|
||||||
archs = list(set(("%s %s" % (sstate_archs, extra_archs)).split()))
|
|
||||||
for dep in depends:
|
for dep in depends:
|
||||||
# Some recipes have an arch on their own, so we try that first.
|
# Some recipes have an arch on their own, so we try that first.
|
||||||
special_arch = d.getVar("PACKAGE_ARCH_pn-%s" % dep)
|
special_arch = d.getVar("PACKAGE_ARCH_pn-%s" % dep)
|
||||||
|
|||||||
Reference in New Issue
Block a user