diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-01-04 22:30:38 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-05 11:24:48 +0000 |
commit | 2f60d9a9f97b23101f3c71ea5339748c536d816c (patch) | |
tree | 7f1116d70f4a4a39eea6d60aa5472df26b4619a5 /meta/recipes-devtools | |
parent | 7b15d99e6cbbe0addf9ab0d2072e9187b6d8d28e (diff) | |
download | poky-2f60d9a9f97b23101f3c71ea5339748c536d816c.tar.gz |
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.
(From OE-Core rev: 0eb3a0f3ee857a17d80598ea2f0b1f3d14ac6d30)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 3 |
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 b1cee670d7..00648a61b7 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" | |||
7 | DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" | 7 | DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" |
8 | EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \ | 8 | EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \ |
9 | --program-prefix=${TARGET_PREFIX} \ | 9 | --program-prefix=${TARGET_PREFIX} \ |
10 | --disable-werror" | 10 | --disable-werror \ |
11 | ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}" | ||
11 | 12 | ||
12 | do_install () { | 13 | do_install () { |
13 | autotools_do_install | 14 | autotools_do_install |