All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: [PATCH] icecc.bbclass: fix kernel distributed compilation
Date: Fri, 17 Apr 2009 12:27:06 +0200	[thread overview]
Message-ID: <gs9lhq$2kh$1@ger.gmane.org> (raw)
In-Reply-To: <1239963741-12123-1-git-send-email-khimov@altell.ru>

On 17-04-09 12:22, Roman I Khimov wrote:
> ---
>   classes/icecc.bbclass |   11 ++++++-----
>   1 files changed, 6 insertions(+), 5 deletions(-)

Acked-by: Koen Kooi <koen@openembedded.org>


>
> diff --git a/classes/icecc.bbclass b/classes/icecc.bbclass
> index dce29fb..0eb2d9f 100644
> --- a/classes/icecc.bbclass
> +++ b/classes/icecc.bbclass
> @@ -137,7 +137,8 @@ def create_native_env(bb,d):
>
>   def get_cross_kernel_cc(bb,d):
>       kernel_cc = bb.data.expand('${KERNEL_CC}', d)
> -    kernel_cc = kernel_cc.replace('ccache', '')
> +    kernel_cc = kernel_cc.replace('ccache', '').strip()
> +    kernel_cc = kernel_cc.split(' ')[0]
>       kernel_cc = kernel_cc.strip()
>       return kernel_cc
>
> @@ -182,10 +183,10 @@ def create_cross_kernel_env(bb,d):
>       cr_env_script = bb.data.getVar('ICECC_ENV_EXEC',  d) or  bb.data.expand('${STAGING_DIR}', d)+"/ice/icecc-create-env"
>       result=os.popen("%s %s %s %s %s %s" %(cr_env_script,
>              "--silent",
> -           os.path.join(ice_dir,'bin',kernel_cc),
> -           os.path.join(ice_dir,target_sys,'bin','g++'),
> -           os.path.join(ice_dir,target_sys,'bin','as'),
> -           os.path.join(ice_dir,"ice",cross_name) ) )
> +           os.path.join(ice_dir, 'bin', kernel_cc),
> +           os.path.join(ice_dir, 'bin', "%s-g++" % target_sys),
> +           os.path.join(ice_dir, 'bin', "%s-as" % target_sys),
> +           os.path.join(ice_dir, "ice", cross_name) ) )
>       return tar_file
>
>





  reply	other threads:[~2009-04-17 10:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-17 10:22 [PATCH] icecc.bbclass: fix kernel distributed compilation Roman I Khimov
2009-04-17 10:27 ` Koen Kooi [this message]
2009-04-20  8:06   ` Roman I Khimov
2009-04-21 20:20 ` Roman I Khimov
2009-04-21 20:44 ` Leon Woestenberg

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='gs9lhq$2kh$1@ger.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.