From 01b2a16beb4a924077b74943ad4d6e7976563ff1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 18 Oct 2011 18:26:26 +0100 Subject: gettext: Switch to disabling nls and reducing -native build dependencies to a set of pre built m4 macros When analysing our build performance, its apparent that binutils-cross takes an age to get built. This is due to its dependencies on flex-native and bison-native which in turn depend on gettext-native. gettext-native is problematic as it has a significant dependency chain of its own and takes an age to build. What is worse is that we never care about the native language support in -native and -cross packages since we always force the C locale. This patch therefore disables nls for all -native packages (its already disabled for -cross) and adds a new gettext-minimal-native package which contains the m4 macros to keep autoconf/automake happy. This means we gain a significant build time speedup by the removal of gettext-native from most dependency chains (only being part of gettext for the target now). For now the LICENCE field says GPLv3, the macros are actually under a FSF MIT like licence so we need to update this part of the patch in due course. Signed-off-by: Richard Purdie --- meta/recipes-support/attr/ea-acl.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-support/attr') diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc index 6a45858b20..ce98a95cdb 100644 --- a/meta/recipes-support/attr/ea-acl.inc +++ b/meta/recipes-support/attr/ea-acl.inc @@ -9,6 +9,7 @@ inherit autotools gettext # overwritten by autoheader export AUTOHEADER = "true" EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root" +EXTRA_OECONF_append_virtclass-native = " --enable-gettext=no" EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}" -- cgit 1.2.3-korg