Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] packagedata.py: Fix get_subpkgedata_fn for multilib
@ 2012-03-08 21:01 Matthew McClintock
  2012-03-08 22:23 ` [PATCH v2] " Matthew McClintock
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew McClintock @ 2012-03-08 21:01 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 meta/lib/oe/packagedata.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py
index a7a40f0..124a49d 100644
--- a/meta/lib/oe/packagedata.py
+++ b/meta/lib/oe/packagedata.py
@@ -27,6 +27,13 @@ def read_pkgdatafile(fn):
 
 def get_subpkgedata_fn(pkg, d):
     archs = d.expand("${PACKAGE_ARCHS}").split(" ")
+    mlarchs = d.expand("${MULTILIB_PACKAGE_ARCHS}", d).split(" ")
+
+    for mlarch in mlarchs:
+        if "_" in mlarch:
+            prefix, new_arch = mlarch.split("_")
+            archs.append(new_arch)
+
     archs.reverse()
     pkgdata = d.expand('${TMPDIR}/pkgdata/')
     targetdir = d.expand('${TARGET_VENDOR}-${TARGET_OS}/runtime/')
-- 
1.7.6.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-09  7:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 21:01 [PATCH] packagedata.py: Fix get_subpkgedata_fn for multilib Matthew McClintock
2012-03-08 22:23 ` [PATCH v2] " Matthew McClintock
2012-03-09  6:20   ` Matthew McClintock
2012-03-09  7:13     ` McClintock Matthew-B29882

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox