diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-07 14:19:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-10 10:00:07 +0100 |
commit | add6cf80b91d5f6bd515727f5376092874af9008 (patch) | |
tree | 396b7aba322ca081e5004c75282bb9e6e628431a /meta/recipes-devtools/gcc/gcc-configure-cross.inc | |
parent | 8ea43499885943e1248842e2dfc17060e596be3b (diff) | |
download | poky-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/gcc/gcc-configure-cross.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-cross.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc index 36edb81e1c..d2d908140e 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-cross.inc | |||
@@ -4,8 +4,11 @@ USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}' | |||
4 | 4 | ||
5 | EXTRA_OECONF += " --enable-poison-system-directories \ | 5 | EXTRA_OECONF += " --enable-poison-system-directories \ |
6 | --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} \ | 6 | --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} \ |
7 | --disable-nls \ | ||
7 | " | 8 | " |
8 | 9 | ||
10 | INHIBIT_DEFAULT_DEPS = "1" | ||
11 | |||
9 | EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \ | 12 | EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \ |
10 | --with-gxx-include-dir=${target_includedir}/c++ \ | 13 | --with-gxx-include-dir=${target_includedir}/c++ \ |
11 | --with-sysroot=${STAGING_DIR_TARGET} \ | 14 | --with-sysroot=${STAGING_DIR_TARGET} \ |