From 337fbd549c5cc93ed322dfa223a2db102dfa5965 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Mon, 7 Apr 2014 21:58:08 +0200 Subject: [PATCH] system: allow setting the local timezone for uClibc Signed-off-by: "Yann E. MORIN" Signed-off-by: Alexandre Belloni Signed-off-by: Peter Korsgaard --- system/Config.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/system/Config.in b/system/Config.in index c70072994..d15c3aadb 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.