From: Matthew McClintock <msm@freescale.com>
To: <openembedded-core@openembedded.org>
Subject: [PATCH] packagedata.py: Fix get_subpkgedata_fn for multilib
Date: Thu, 8 Mar 2012 15:01:32 -0600 [thread overview]
Message-ID: <1331240492-6759-1-git-send-email-msm@freescale.com> (raw)
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
next reply other threads:[~2012-03-08 21:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 21:01 Matthew McClintock [this message]
2012-03-08 22:23 ` [PATCH v2] packagedata.py: Fix get_subpkgedata_fn for multilib Matthew McClintock
2012-03-09 6:20 ` Matthew McClintock
2012-03-09 7:13 ` McClintock Matthew-B29882
-- strict thread matches above, loose matches on Subject: below --
2012-07-06 20:08 [PATCH] " Matthew McClintock
2012-07-09 16:23 ` Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1331240492-6759-1-git-send-email-msm@freescale.com \
--to=msm@freescale.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=openembedded-core@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox