Difference between revisions of "How to disable generation of locales"

From Openembedded.org
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{{Outdated}}
+
Generating locales and their packages can increase build times. Please see [http://git.openembedded.org/openembedded-core/tree/meta/conf/local.conf.sample.extended local.conf.sample.extended] on how to skip or limit that step to 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.
+
 
+
<pre>
+
 
+
# 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"
+
 
+
</pre>
+
  
 
[[Category:FAQ]]
 
[[Category:FAQ]]

Latest revision as of 14:55, 7 November 2012

Generating locales and their packages can increase build times. Please see local.conf.sample.extended on how to skip or limit that step to speed up your builds.

Personal tools
Namespaces

Variants
Actions
Navigation
Categories
OE services
Toolbox