From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from va3ehsobe002.messaging.microsoft.com ([216.32.180.12] helo=va3outboundpool.messaging.microsoft.com) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S5moy-0001uK-9a for openembedded-core@openembedded.org; Fri, 09 Mar 2012 00:32:32 +0100 Received: from mail31-va3-R.bigfish.com (10.7.14.248) by VA3EHSOBE008.bigfish.com (10.7.40.28) with Microsoft SMTP Server id 14.1.225.23; Thu, 8 Mar 2012 22:23:37 +0000 Received: from mail31-va3 (localhost [127.0.0.1]) by mail31-va3-R.bigfish.com (Postfix) with ESMTP id 1C3B0300488 for ; Thu, 8 Mar 2012 22:23:37 +0000 (UTC) X-SpamScore: 3 X-BigFish: VS3(zzzz1202h1082kzz8275bhz2dh2a8h668h839h) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI Received: from mail31-va3 (localhost.localdomain [127.0.0.1]) by mail31-va3 (MessageSwitch) id 1331245415477158_26956; Thu, 8 Mar 2012 22:23:35 +0000 (UTC) Received: from VA3EHSMHS015.bigfish.com (unknown [10.7.14.251]) by mail31-va3.bigfish.com (Postfix) with ESMTP id 636592200B6 for ; Thu, 8 Mar 2012 22:23:35 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by VA3EHSMHS015.bigfish.com (10.7.99.25) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 8 Mar 2012 22:23:35 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.1.355.3; Thu, 8 Mar 2012 16:23:34 -0600 Received: from right.am.freescale.net (right.am.freescale.net [10.82.193.13]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id q28MNXVJ023151 for ; Thu, 8 Mar 2012 15:23:33 -0700 From: Matthew McClintock To: Date: Thu, 8 Mar 2012 16:23:33 -0600 Message-ID: <1331245413-30310-1-git-send-email-msm@freescale.com> X-Mailer: git-send-email 1.7.6.1 In-Reply-To: <1331240492-6759-1-git-send-email-msm@freescale.com> References: <1331240492-6759-1-git-send-email-msm@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [PATCH v2] packagedata.py: Fix get_subpkgedata_fn for multilib X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2012 23:32:32 -0000 Content-Type: text/plain Signed-off-by: Matthew McClintock --- meta/lib/oe/packagedata.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py index a7a40f0..daee779 100644 --- a/meta/lib/oe/packagedata.py +++ b/meta/lib/oe/packagedata.py @@ -27,6 +27,14 @@ def read_pkgdatafile(fn): def get_subpkgedata_fn(pkg, d): archs = d.expand("${PACKAGE_ARCHS}").split(" ") + mlarchs = bb.data.getVar("MULTILIB_PACKAGE_ARCHS", d) or None + + if mlarchs: + for mlarch in mlarchs.split(" "): + 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