kumquat-buildroot/toolchain
Thomas Petazzoni bd0ffe2206 toolchain: do not allow BR2_GENERATE_LOCALE with musl
Generating locales is possible in two situations:

 - With the internal toolchain backend, when the uClibc library is
   used. With uClibc, locales are generated at build time of the C
   library, so with uClibc it's only possible with the internal
   toolchain backend.

 - With either the internal or external toolchain backend when the
   glibc library is used. With glibc, locales can be generated
   afterwards, using the host-localedef utility.

Until we had the musl C library supported in the internal toolchain
backend, the condition: BR2_TOOLCHAIN_BUILDROOT ||
BR2_TOOLCHAIN_USES_GLIBC was correct to capture the above two
situations. Now that we have musl support in the internal toolchain
backend, then BR2_TOOLCHAIN_BUILDROOT is incorrect, and we should use
BR2_TOOLCHAIN_BUILDROOT_UCLIBC instead.

Basic locale support in musl has appeared in musl 1.1.4, but we are
not yet capable of generating the locale files for musl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-21 21:50:42 +01:00
..
toolchain toolchain/toolchain-buildroot: migrate to virtual package infrastructure 2014-06-14 19:10:13 +02:00
toolchain-buildroot toolchain/musl: disable for PowerPC SPE 2014-09-13 22:02:01 +02:00
toolchain-external toolchain-external: update Linaro toolchains 2014-11-11 21:15:26 +01:00
Config.in
helpers.mk package: indentation cleanup 2014-10-23 22:13:29 +02:00
toolchain-common.in toolchain: do not allow BR2_GENERATE_LOCALE with musl 2014-11-21 21:50:42 +01:00
toolchain.mk system/skeleton: make nsswitch install conditional 2014-10-25 12:48:17 +02:00