How to disable generation of locales: Difference between revisions

From Openembedded.org
Jump to navigation Jump to search
m (Reverted edits by Ejumuvo (Talk) to last revision by 83.171.164.148)
No edit summary
Line 1: Line 1:
{{Outdated}}
Generating locales and their packages takes a very long time.  Quoting [http://cgit.openembedded.net/cgit.cgi/openembedded/tree/conf/local.conf.sample local.conf.sample] on how to skip or limit that step to significantly speed up your builds.
Generating locales and their packages takes a very long time.  Quoting [http://cgit.openembedded.net/cgit.cgi/openembedded/tree/conf/local.conf.sample local.conf.sample] on how to skip or limit that step to significantly speed up your builds.



Revision as of 16:42, 3 November 2012

NOTE: This page has been identified as having content that is significantly out-of-date, usually because it refers to OpenEmbedded-Classic - for new projects, you should use OpenEmbedded-Core.

See OpenEmbedded Wiki Update Project for more details.

Generating locales and their packages takes a very long time. Quoting local.conf.sample on how to skip or limit that step to significantly speed up your builds.


# So far, angstrom.conf sets ENABLE_BINARY_LOCALE_GENERATION
# to generate binary locale packages at build time using qemu-native and
# thereby guarantee i18n support on all devices. If your build breaks on 
# qemu-native consider disabling ENABLE_BINARY_LOCALE_GENERATION (note that
# this breaks i18n on devices with less than 128MB RAM) or installing
# a working third-party qemu (e.g. provided by your distribution) and
# adding qemu-native to ASSUME_PROVIDED. Caveat emptor, since third-party
# qemus lack patches needed to work with various OE targets.
# ENABLE_BINARY_LOCALE_GENERATION = "0"
# ASSUME_PROVIDED += "qemu-native"

# If ENABLE_BINARY_LOCALE_GENERATION is set to "1", you can limit locales
# generated to the list provided by GLIBC_GENERATE_LOCALES. This is huge
# time-savior for developmental builds. Format: list of locale.encoding pairs
# with spaces as separators.
# GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8"