From: Phil Blundell <pb@pbcl.net>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: [PATCH RFC] binutils: allow distro to select gold as default cross-linker
Date: Tue, 14 Jun 2011 16:30:43 +0100 [thread overview]
Message-ID: <1308065443.25285.268.camel@phil-desktop> (raw)
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
--
1.7.2.5
next reply other threads:[~2011-06-14 15:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-14 15:30 Phil Blundell [this message]
2011-06-14 15:38 ` [PATCH RFC] binutils: allow distro to select gold as default cross-linker 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
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=1308065443.25285.268.camel@phil-desktop \
--to=pb@pbcl.net \
--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