summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/packagedata.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py
index a7a40f0d06..9a28e6b4de 100644
--- a/meta/lib/oe/packagedata.py
+++ b/meta/lib/oe/packagedata.py
@@ -27,6 +27,14 @@ def read_pkgdatafile(fn):
27 27
28def get_subpkgedata_fn(pkg, d): 28def get_subpkgedata_fn(pkg, d):
29 archs = d.expand("${PACKAGE_ARCHS}").split(" ") 29 archs = d.expand("${PACKAGE_ARCHS}").split(" ")
30 mlarchs = d.getVar("MULTILIB_PACKAGE_ARCHS", d) or None
31
32 if mlarchs:
33 for mlarch in mlarchs.split(" "):
34 if "_" in mlarch:
35 prefix, split, new_arch = mlarch.partition("_")
36 archs.append(new_arch)
37
30 archs.reverse() 38 archs.reverse()
31 pkgdata = d.expand('${TMPDIR}/pkgdata/') 39 pkgdata = d.expand('${TMPDIR}/pkgdata/')
32 targetdir = d.expand('${TARGET_VENDOR}-${TARGET_OS}/runtime/') 40 targetdir = d.expand('${TARGET_VENDOR}-${TARGET_OS}/runtime/')