Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: u-boot do_compile should be reentrant even with ld-is-gold
Date: Thu, 2 Aug 2012 13:50:12 +0200	[thread overview]
Message-ID: <20120802115012.GO16306@jama.jama.net> (raw)
In-Reply-To: <8071B2D8-3431-4B9B-A810-0F01D4837779@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1206 bytes --]

On Wed, Aug 01, 2012 at 04:02:24PM -0700, Khem Raj wrote:
> 
> On Jul 31, 2012, at 11:54 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 
> > well not exactly like this one as this is causing
> > /bin/sh: 1: Syntax error: Bad fd number
> > probably from ">&" in dash
> 
> 
> yes. I swear I have since fixed this patch this seems to be an older version
> did you look into meta-ti/master ?

Yes, your patch is fixed in meta-ti, but cannot be used together with
Otavio's patch to u-boot.inc.

meta-ti is fine because it provides own u-boot.inc, but with your patch
and u-boot.inc from oe-core it ends like this

config.mk:
+LD     = $(call exists_bfd_ld, "$(CROSS_COMPILE)ld.bfd.bfd","$(CROSS_COMPILE)ld.bfd")

On Wed, Aug 01, 2012 at 09:32:03AM -0300, Otavio Salvador wrote:
> Wouldn't be better to grep for 'ld.bfd' and apply it *only* if not is not found?

no need for grep, something like
-               sed -i 's/$(CROSS_COMPILE)ld/$(CROSS_COMPILE)ld.bfd/g' config.mk
+               sed -i 's/$(CROSS_COMPILE)ld$/$(CROSS_COMPILE)ld.bfd/g' config.mk
should be enough, I will test and send patch..

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2012-08-02 12:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01  6:50 u-boot do_compile should be reentrant even with ld-is-gold Martin Jansa
2012-08-01  6:54 ` Martin Jansa
2012-08-01 23:02   ` Khem Raj
2012-08-02 11:50     ` Martin Jansa [this message]
2012-08-02 12:09       ` [PATCH] u-boot.inc: fix regexp used when ld-is-gold Martin Jansa
2012-08-02 14:32         ` Khem Raj
2012-08-02 14:37           ` Martin Jansa
2012-08-02 14:42           ` Otavio Salvador
2012-08-02 14:30       ` u-boot do_compile should be reentrant even with ld-is-gold Khem Raj
2012-08-02 14:37         ` Martin Jansa
2012-08-02 14:38           ` Otavio Salvador
2012-08-01 11:48 ` Otavio Salvador
2012-08-01 11:59   ` Martin Jansa
2012-08-01 12:32     ` Otavio Salvador

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=20120802115012.GO16306@jama.jama.net \
    --to=martin.jansa@gmail.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