aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-04-07 21:58:08 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-04-09 00:33:32 +0200
commit337fbd549c5cc93ed322dfa223a2db102dfa5965 (patch)
tree449543eca7572151d9deea38c886ce4017d61f4f /system
parentc3345b04f827d38eb49e9648fc3e93dbb5c3de88 (diff)
downloadbuildroot-337fbd549c5cc93ed322dfa223a2db102dfa5965.tar.gz
buildroot-337fbd549c5cc93ed322dfa223a2db102dfa5965.tar.bz2
system: allow setting the local timezone for uClibc
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'system')
-rw-r--r--system/Config.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/Config.in b/system/Config.in
index c700729942..d15c3aadbe 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -269,8 +269,10 @@ endif
config BR2_TARGET_TZ_INFO
bool "Install timezone info"
- depends on BR2_TOOLCHAIN_USES_GLIBC
- select BR2_PACKAGE_TZDATA
+ # No timezone for musl; only for uClibc or (e)glibc.
+ depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC
+ select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC
+ select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC
help
Say 'y' here to install timezone info.
@@ -283,7 +285,7 @@ config BR2_TARGET_TZ_ZONELIST
Space-separated list of time zones to compile.
The value "default" includes all commonly used time zones. Note
- that this set consumes around 5.5M.
+ that this set consumes around 5.5M for (e)glibc and 2.1M for uClibc.
The full list is the list of files in the time zone database source,
not including the build and .tab files.