summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross-intermediate.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/gcc/gcc-cross-intermediate.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/gcc/gcc-cross-intermediate.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
index 7b1bb3861b..f368ae9d7e 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
@@ -1,8 +1,11 @@
1DEPENDS = "virtual/${TARGET_PREFIX}binutils ${NATIVEDEPS}" 1DEPENDS = "virtual/${TARGET_PREFIX}binutils ${NATIVEDEPS}"
2DEPENDS += "virtual/${TARGET_PREFIX}libc-initial gettext-native" 2DEPENDS += "virtual/${TARGET_PREFIX}libc-initial"
3PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate" 3PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate"
4PACKAGES = "" 4PACKAGES = ""
5 5
6INHIBIT_DEFAULT_DEPS = "1"
7INHIBIT_AUTOTOOLS_DEPS = "1"
8
6CROSS_TARGET_SYS_DIR_append = ".${PN}" 9CROSS_TARGET_SYS_DIR_append = ".${PN}"
7 10
8# This is intended to be a -very- basic config 11# This is intended to be a -very- basic config
@@ -13,6 +16,7 @@ CROSS_TARGET_SYS_DIR_append = ".${PN}"
13# preferred linker. 16# preferred linker.
14EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ 17EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
15 --enable-shared \ 18 --enable-shared \
19 --disable-nls \
16 --disable-multilib \ 20 --disable-multilib \
17 --disable-threads \ 21 --disable-threads \
18 --enable-languages=c \ 22 --enable-languages=c \