aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2016-08-09 22:25:55 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-08-09 22:50:21 +0200
commitaae8513c401e287af7a9cd74548828182a1473da (patch)
tree5234a0ad3d21b7b345b98ec7408bd70f615fbd2b /system
parent8873649a571a0032b43c5a37236c298997a19029 (diff)
downloadbuildroot-aae8513c401e287af7a9cd74548828182a1473da.tar.gz
buildroot-aae8513c401e287af7a9cd74548828182a1473da.tar.bz2
system: zoneinfo usable by musl, too
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@free.fr> Cc: Rich Felker <dalias@aerifal.cx> Cc: Marc Khouri <marc@khouri.ca> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'system')
-rw-r--r--system/Config.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/Config.in b/system/Config.in
index 4c7efac59c..585570713b 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.