summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-01-04 22:30:38 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 11:21:09 +0000
commit0eb3a0f3ee857a17d80598ea2f0b1f3d14ac6d30 (patch)
tree7005fcd14b0d613ce98f97140a0762106975617d /meta/recipes-devtools/binutils
parentf58bb1692c5700091f960e0fb90e5c39ebf5ab96 (diff)
downloadopenembedded-core-0eb3a0f3ee857a17d80598ea2f0b1f3d14ac6d30.tar.gz
openembedded-core-0eb3a0f3ee857a17d80598ea2f0b1f3d14ac6d30.tar.bz2
openembedded-core-0eb3a0f3ee857a17d80598ea2f0b1f3d14ac6d30.tar.xz
openembedded-core-0eb3a0f3ee857a17d80598ea2f0b1f3d14ac6d30.zip
binutils-cross-canadian: Allow ld-is-gold
In order to actually generate a toolchain (with bitbake meta-toolchain) that supports gold, binutils- cross-canadian also needs to be built this way. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
index b1cee670d..00648a61b 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
@@ -7,7 +7,8 @@ BPN = "binutils"
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
--program-prefix=${TARGET_PREFIX} \
- --disable-werror"
+ --disable-werror \
+ ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
do_install () {
autotools_do_install