Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/3] multilib: Enable multilib remapping for SDK generation
Date: Mon, 09 Jul 2012 11:39:45 +0100	[thread overview]
Message-ID: <1341830385.8066.8.camel@ted> (raw)
In-Reply-To: <ba80d76cae689a4023327da4e38a83e1c5c88306.1341601764.git.mark.hatle@windriver.com>

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 <mark.hatle@windriver.com>
> ---
>  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




  reply	other threads:[~2012-07-09 10:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-06 19:13 [PATCH 0/3] Image/SDK multilib fixes Mark Hatle
2012-07-06 19:13 ` [PATCH 1/3] populate_sdk_rpm: Sync multilib configuration with rootfs_rpm Mark Hatle
2012-07-06 19:14 ` [PATCH 2/3] multilib: Enable multilib remapping for SDK generation Mark Hatle
2012-07-09 10:39   ` Richard Purdie [this message]
2012-07-09 13:08     ` Mark Hatle
2012-07-09 14:52       ` Richard Purdie
2012-07-06 19:14 ` [PATCH 3/3] package_rpm: Avoid duplicate package generation failures Mark Hatle
2012-07-09 17:30 ` [PATCH 0/3] Image/SDK multilib fixes 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=1341830385.8066.8.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.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