[oe-commits] Richard Purdie : gettext: Switch to disabling nls and reducing -native build dependencies to a set of pre built m4 macros

git at git.openembedded.org git at git.openembedded.org
Wed Nov 2 09:15:09 UTC 2011


Module: openembedded-core.git
Branch: master-next
Commit: 01b2a16beb4a924077b74943ad4d6e7976563ff1
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=01b2a16beb4a924077b74943ad4d6e7976563ff1

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Oct 18 18:26:26 2011 +0100

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 at linuxfoundation.org>

---

 meta/classes/gettext.bbclass                       |    4 +
 .../gettext/gettext-minimal-0.18.1.1/COPYING       |  674 ++++++++++++++++++++
 .../gettext/gettext-minimal-0.18.1.1/aclocal.tgz   |  Bin 0 -> 36374 bytes
 .../gettext/gettext-minimal-native_0.18.1.1.bb     |   19 +
 meta/recipes-devtools/bison/bison_2.5.bb           |    2 +-
 meta/recipes-support/attr/ea-acl.inc               |    1 +
 6 files changed, 699 insertions(+), 1 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=01b2a16beb4a924077b74943ad4d6e7976563ff1




More information about the Openembedded-commits mailing list