summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-18 18:26:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-02 08:56:11 +0000
commit01b2a16beb4a924077b74943ad4d6e7976563ff1 (patch)
tree66c1780bc958d046218bed37de27ced8abe0eab2 /meta/recipes-devtools
parenta46c6c6e8926e202aacf85a6b00dfd4e9c128792 (diff)
downloadopenembedded-core-01b2a16beb4a924077b74943ad4d6e7976563ff1.tar.gz
openembedded-core-01b2a16beb4a924077b74943ad4d6e7976563ff1.tar.bz2
openembedded-core-01b2a16beb4a924077b74943ad4d6e7976563ff1.tar.xz
openembedded-core-01b2a16beb4a924077b74943ad4d6e7976563ff1.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/bison/bison_2.5.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/bison/bison_2.5.bb b/meta/recipes-devtools/bison/bison_2.5.bb
index eb5d87c6f..c5113cdcc 100644
--- a/meta/recipes-devtools/bison/bison_2.5.bb
+++ b/meta/recipes-devtools/bison/bison_2.5.bb
@@ -21,7 +21,7 @@ SRC_URI = "${BASE_SRC_URI} \
SRC_URI[md5sum] = "687e1dcd29452789d34eaeea4c25abe4"
SRC_URI[sha256sum] = "722def46e4a19a5b7a579ef30db1965f86c37c1a20a5f0113743a2e4399f7c99"
-DEPENDS_virtclass-native = "gettext-native"
+DEPENDS_virtclass-native = "gettext-minimal-native"
SRC_URI_virtclass-native = "${BASE_SRC_URI}"
inherit autotools gettext