From 54a3e2ee37003fc56af0339f857b0b6442790c26 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 7 Oct 2011 14:19:15 +0100 Subject: 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 --- meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/gcc/gcc-cross-intermediate.inc') diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc index 7b1bb3861..f368ae9d7 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc @@ -1,8 +1,11 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils ${NATIVEDEPS}" -DEPENDS += "virtual/${TARGET_PREFIX}libc-initial gettext-native" +DEPENDS += "virtual/${TARGET_PREFIX}libc-initial" PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate" PACKAGES = "" +INHIBIT_DEFAULT_DEPS = "1" +INHIBIT_AUTOTOOLS_DEPS = "1" + CROSS_TARGET_SYS_DIR_append = ".${PN}" # This is intended to be a -very- basic config @@ -13,6 +16,7 @@ CROSS_TARGET_SYS_DIR_append = ".${PN}" # preferred linker. EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ --enable-shared \ + --disable-nls \ --disable-multilib \ --disable-threads \ --enable-languages=c \ -- cgit v1.2.3