summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils-cross.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-07 14:19:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-10 10:00:07 +0100
commitadd6cf80b91d5f6bd515727f5376092874af9008 (patch)
tree396b7aba322ca081e5004c75282bb9e6e628431a /meta/recipes-devtools/binutils/binutils-cross.inc
parent8ea43499885943e1248842e2dfc17060e596be3b (diff)
downloadpoky-add6cf80b91d5f6bd515727f5376092874af9008.tar.gz
gcc/binutils: Disable NLS/gettext dependencies
We force the C locale when running builds for determinstic error messages. We therefore have no need to NLS support in binutils cross or gcc cross. We also don't need the standard base/autotools dependencies for our toolchain components since we don't autoreconf these. This patch turns off nls and cleans up some of the dependencies resulting in a slightly less convoluted set of build dependencies. (From OE-Core rev: 54a3e2ee37003fc56af0339f857b0b6442790c26) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-cross.inc')
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
index 5a41970ce2..982224ff2f 100644
--- a/meta/recipes-devtools/binutils/binutils-cross.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross.inc
@@ -1,10 +1,14 @@
1inherit cross 1inherit cross
2PROVIDES = "virtual/${TARGET_PREFIX}binutils" 2PROVIDES = "virtual/${TARGET_PREFIX}binutils"
3 3
4INHIBIT_DEFAULT_DEPS = "1"
5INHIBIT_AUTOTOOLS_DEPS = "1"
6
4EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ 7EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
5 --program-prefix=${TARGET_PREFIX} \ 8 --program-prefix=${TARGET_PREFIX} \
6 --disable-install-libbfd \ 9 --disable-install-libbfd \
7 --disable-werror \ 10 --disable-werror \
11 --disable-nls \
8 --enable-poison-system-directories \ 12 --enable-poison-system-directories \
9 ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}" 13 ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
10 14