mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 21:32:13 +02:00
This package will provide a limited set of localedata for musl based systems. It will fill in into images when IMAGE_LINGUAS variable is set however the choice is limited to the given 13 locales as of now. e.g. IMAGE_LINGUAS ?= "de-de fr-fr en-gb" would work fine Default locale can be set by exporting LANG=<locale> in /etc/profile or some such file e.g. export LANG=de_DE.UTF-8 This will also help in ptest coverage with musl where some test packages expect locales e.g. pango to name one. Do not empty out IMAGE_LINGUAS forcibly for musl anymore (From OE-Core rev: 5643f9722db250ac9eb4f955b02500420cb29556) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
700 B
PHP
31 lines
700 B
PHP
#
|
|
# musl specific configuration
|
|
#
|
|
|
|
LIBCEXTENSION = "-musl"
|
|
|
|
LIBCOVERRIDE = ":libc-musl"
|
|
|
|
PREFERRED_PROVIDER_virtual/libc ?= "musl"
|
|
PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
|
|
PREFERRED_PROVIDER_virtual/libintl ?= "musl"
|
|
PREFERRED_PROVIDER_virtual/crypt ?= "musl"
|
|
PREFERRED_PROVIDER_virtual/libc-locale ?= "musl-locales"
|
|
PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
|
|
PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"
|
|
|
|
DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"
|
|
|
|
#USE_NLS ?= "no"
|
|
|
|
CXXFLAGS += "-fvisibility-inlines-hidden"
|
|
|
|
LIBC_DEPENDENCIES = "\
|
|
musl \
|
|
musl-dbg \
|
|
musl-dev \
|
|
musl-utils \
|
|
musl-utils-iconv \
|
|
bsd-headers-dev \
|
|
"
|