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/binutils/binutils-cross.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-devtools/binutils/binutils-cross.inc') diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc index 5a41970ce2..982224ff2f 100644 --- a/meta/recipes-devtools/binutils/binutils-cross.inc +++ b/meta/recipes-devtools/binutils/binutils-cross.inc @@ -1,10 +1,14 @@ inherit cross PROVIDES = "virtual/${TARGET_PREFIX}binutils" +INHIBIT_DEFAULT_DEPS = "1" +INHIBIT_AUTOTOOLS_DEPS = "1" + EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ --program-prefix=${TARGET_PREFIX} \ --disable-install-libbfd \ --disable-werror \ + --disable-nls \ --enable-poison-system-directories \ ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}" -- cgit 1.2.3-korg