summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-configure-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 09:54:02 +0100
commit54a3e2ee37003fc56af0339f857b0b6442790c26 (patch)
tree4bc1e186c3b3cffe98df35e2d801754f7bdc58af /meta/recipes-devtools/gcc/gcc-configure-cross.inc
parent6ce8d028f2a542eceb270aeb511929953a859d39 (diff)
downloadopenembedded-core-54a3e2ee37003fc56af0339f857b0b6442790c26.tar.gz
openembedded-core-54a3e2ee37003fc56af0339f857b0b6442790c26.tar.bz2
openembedded-core-54a3e2ee37003fc56af0339f857b0b6442790c26.tar.xz
openembedded-core-54a3e2ee37003fc56af0339f857b0b6442790c26.zip
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. 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.inc3
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 36edb81e1..d2d908140 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 )}'
EXTRA_OECONF += " --enable-poison-system-directories \
--with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} \
+ --disable-nls \
"
+INHIBIT_DEFAULT_DEPS = "1"
+
EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \
--with-gxx-include-dir=${target_includedir}/c++ \
--with-sysroot=${STAGING_DIR_TARGET} \