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