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>
Cc: Martin Ertsaas <mertsas@cisco.com>
Subject: Re: [PATCH] Remove the - between ${TARGET_PREFIX} and ar/nm for the env script, as this will make autotools look for arm-none-linux-gnueabi--ar instead of arm-none-linux-gnueabi-ar.
Date: Thu, 19 Jul 2012 11:44:12 +0100	[thread overview]
Message-ID: <1342694652.7940.6.camel@ted> (raw)
In-Reply-To: <alpine.DEB.2.02.1207190627001.26827@oneiric>

On Thu, 2012-07-19 at 06:28 -0400, Robert P. J. Day wrote:
> On Thu, 19 Jul 2012, Richard Purdie wrote:
> 
> > On Thu, 2012-07-19 at 12:00 +0200, Martin Ertsaas wrote:
> > > Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
> > > ---
> > >  meta/classes/toolchain-scripts.bbclass |    4 ++--
> > >  1 files changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
> > > index bf37ec9..8f7c644 100644
> > > --- a/meta/classes/toolchain-scripts.bbclass
> > > +++ b/meta/classes/toolchain-scripts.bbclass
> > > @@ -68,8 +68,8 @@ toolchain_create_tree_env_script () {
> > >  	echo 'export RANLIB=${TARGET_PREFIX}ranlib' >> $script
> > >  	echo 'export OBJCOPY=${TARGET_PREFIX}objcopy' >> $script
> > >  	echo 'export OBJDUMP=${TARGET_PREFIX}objdump' >> $script
> > > -	echo 'export AR=${TARGET_PREFIX}-ar' >> $script
> > > -	echo 'export NM=${TARGET_PREFIX}-nm' >> $script
> > > +	echo 'export AR=${TARGET_PREFIX}ar' >> $script
> > > +	echo 'export NM=${TARGET_PREFIX}nm' >> $script
> > >  	echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
> > >  	echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS} --with-libtool-sysroot=${STAGING_DIR_TARGET}"' >> $script
> > >  	if [ "${TARGET_OS}" = "darwin8" ]; then
> >
> > Merged to master, thanks.
> 
>   there appear to be more of those, based on a simple grep:
> 
> $ grep -rn "TARGET_PREFIX}-" *
> meta/classes/toolchain-scripts.bbclass:27:	echo 'export AR=${TARGET_PREFIX}-ar' >> $script
> meta/classes/toolchain-scripts.bbclass:28:	echo 'export NM=${TARGET_PREFIX}-nm' >> $script
> meta/classes/toolchain-scripts.bbclass:114:	echo 'export AR=${TARGET_PREFIX}-ar' >> $script
> meta/classes/toolchain-scripts.bbclass:115:	echo 'export NM=${TARGET_PREFIX}-nm' >> $script
> $
> 
>   just an observation.

Thanks, I've pushed something fixing those up too.

Cheers,

Richard




      reply	other threads:[~2012-07-19 10:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 10:00 [PATCH] Remove the - between ${TARGET_PREFIX} and ar/nm for the env script, as this will make autotools look for arm-none-linux-gnueabi--ar instead of arm-none-linux-gnueabi-ar Martin Ertsaas
2012-07-19 10:18 ` Richard Purdie
2012-07-19 10:28   ` Robert P. J. Day
2012-07-19 10:44     ` Richard Purdie [this message]

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=1342694652.7940.6.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=mertsas@cisco.com \
    --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