From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SoBYS-0005u4-1t for openembedded-core@lists.openembedded.org; Mon, 09 Jul 2012 12:51:00 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q69AdpUF006954 for ; Mon, 9 Jul 2012 11:39:51 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04217-04 for ; Mon, 9 Jul 2012 11:39:46 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q69AdioV006948 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 9 Jul 2012 11:39:45 +0100 Message-ID: <1341830385.8066.8.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Mon, 09 Jul 2012 11:39:45 +0100 In-Reply-To: References: X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: [PATCH 2/3] multilib: Enable multilib remapping for SDK generation 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: Mon, 09 Jul 2012 10:51:00 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2012-07-06 at 14:14 -0500, Mark Hatle wrote: > Enable the remapping for SDK generation, this is required to be able to > create an SDK that targets an alternative multilib. Note, this work does > not finish SDK/multilib support, but it is one more step toward making > it work properly. > > Signed-off-by: Mark Hatle > --- > meta/classes/multilib.bbclass | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass > index f3e7618..b92a3ff 100644 > --- a/meta/classes/multilib.bbclass > +++ b/meta/classes/multilib.bbclass > @@ -54,6 +54,12 @@ python __anonymous () { > d.setVar("LINGUAS_INSTALL", "") > # FIXME, we need to map this to something, not delete it! > d.setVar("PACKAGE_INSTALL_ATTEMPTONLY", "") > + > + if bb.data.inherits_class('populate_sdk_base', d): > + clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK") > + clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY") > + > + if bb.data.inherits_class('image', d) or bb.data.inherits_class('populate_sdk_base', d): > return > There is something odd going on with this patch. You've removed the earlier return but this patch doesn't show that... Cheers, Richard