summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-29 20:55:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-04 11:03:55 +0100
commit9c30eb198904259e3dbaf765465346f719e747f3 (patch)
tree46a6a73011400cf483a329e0ca6b946fd769aee2
parent4efc4517ef7902da38a0833bc69db3d03b23833d (diff)
downloadpoky-9c30eb198904259e3dbaf765465346f719e747f3.tar.gz
glibc-locale: Enable riscv64 and riscv32 in BINARY_LOCALE_ARCHES supported architectures
This support is there using cross-localedef but was not enabled, this caused the post-install for locales to be emitted which delays the boot significantly. emitted postints for locales contain exit 1 which is flagged now and was causing image generation to fail. (From OE-Core rev: c67298f3af9cbb8c7596e4fb20b652a8f2582add) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/glibc/glibc-locale.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc
index e50e5cf5e3..1b676dc26e 100644
--- a/meta/recipes-core/glibc/glibc-locale.inc
+++ b/meta/recipes-core/glibc/glibc-locale.inc
@@ -21,13 +21,13 @@ RDEPENDS_localedef += "glibc"
21# to decrease initial boot time and avoid localedef being killed by the OOM 21# to decrease initial boot time and avoid localedef being killed by the OOM
22# killer which used to effectively break i18n on machines with < 128MB RAM. 22# killer which used to effectively break i18n on machines with < 128MB RAM.
23 23
24# default to disabled 24# default to disabled
25ENABLE_BINARY_LOCALE_GENERATION ?= "0" 25ENABLE_BINARY_LOCALE_GENERATION ?= "0"
26ENABLE_BINARY_LOCALE_GENERATION_pn-nativesdk-glibc-locale = "1" 26ENABLE_BINARY_LOCALE_GENERATION_pn-nativesdk-glibc-locale = "1"
27 27
28#enable locale generation on these arches 28#enable locale generation on these arches
29# BINARY_LOCALE_ARCHES is a space separated list of regular expressions 29# BINARY_LOCALE_ARCHES is a space separated list of regular expressions
30BINARY_LOCALE_ARCHES ?= "arm.* aarch64 i[3-6]86 x86_64 powerpc mips mips64" 30BINARY_LOCALE_ARCHES ?= "arm.* aarch64 i[3-6]86 x86_64 powerpc mips mips64 riscv32 riscv64"
31 31
32# set "1" to use cross-localedef for locale generation 32# set "1" to use cross-localedef for locale generation
33# set "0" for qemu emulation of native localedef for locale generation 33# set "0" for qemu emulation of native localedef for locale generation