[Buildroot] [git commit] system: zoneinfo usable by musl, too
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Aug 9 20:50:21 UTC 2016
commit: https://git.buildroot.net/buildroot/commit/?id=aae8513c401e287af7a9cd74548828182a1473da
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Currently, we limit installing zoneinfo to non-musl toolchain, by lack
of knowledge on how it would work on musl.
Turns out that musl uses the same zoneinfo format as glibc does.
Make it possible to install the TZ info whatever the C library; for
musl, use tzdata as for glibc.
Thanks Rich! ;-)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Rich Felker <dalias at aerifal.cx>
Cc: Marc Khouri <marc at khouri.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
system/Config.in | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/system/Config.in b/system/Config.in
index 4c7efac..5855707 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -418,9 +418,8 @@ config BR2_GENERATE_LOCALE
config BR2_TARGET_TZ_INFO
bool "Install timezone info"
- # No timezone for musl; only for uClibc or glibc.
- depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC
select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC
+ select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC
help
Say 'y' here to install timezone info.
More information about the buildroot
mailing list