Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH RFC] binutils: allow distro to select gold as default cross-linker
Date: Tue, 14 Jun 2011 19:42:53 -0700	[thread overview]
Message-ID: <4DF81C2D.70502@gmail.com> (raw)
In-Reply-To: <1308065443.25285.268.camel@phil-desktop>

On 06/14/2011 08:30 AM, Phil Blundell wrote:
> This is not particularly pretty but I couldn't think of any obviously
> better way of doing it.  Any suggestions?
>
> Signed-off-by: Phil Blundell<philb@gnu.org>
> ---
>   meta/recipes-devtools/binutils/binutils-cross.inc |    3 ++-
>   1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
> index 4b90972..5a41970 100644
> --- a/meta/recipes-devtools/binutils/binutils-cross.inc
> +++ b/meta/recipes-devtools/binutils/binutils-cross.inc
> @@ -5,7 +5,8 @@ EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
>                   --program-prefix=${TARGET_PREFIX} \
>                   --disable-install-libbfd \
>                   --disable-werror \
> -                --enable-poison-system-directories"
> +                --enable-poison-system-directories \
> +		${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
>
>   do_install () {
>   	oe_runmake 'DESTDIR=${D}' install

I think we need to document this distro feature somewhere as well. We 
need the same for target binutils too.



  parent reply	other threads:[~2011-06-15  2:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 15:30 [PATCH RFC] binutils: allow distro to select gold as default cross-linker Phil Blundell
2011-06-14 15:38 ` Koen Kooi
2011-06-15  2:44   ` Khem Raj
2011-06-15  8:04   ` Phil Blundell
2011-06-15 14:32     ` Phil Blundell
2011-06-15 16:26       ` Khem Raj
2011-06-15 16:31         ` Phil Blundell
2011-06-15 16:35           ` Khem Raj
2011-06-15 16:42             ` Phil Blundell
2011-06-15 16:47               ` Khem Raj
2011-06-15 16:50                 ` Phil Blundell
2011-06-15  2:42 ` Khem Raj [this message]
2011-06-15 11:30   ` Phil Blundell

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=4DF81C2D.70502@gmail.com \
    --to=raj.khem@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