system: allow setting the local timezone for uClibc
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 7 Apr 2014 19:58:08 +0000 (21:58 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 8 Apr 2014 22:33:32 +0000 (00:33 +0200)
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>
system/Config.in

index c70072994205860c3736424efa6f92d2eb8f6aa5..d15c3aadbe0fd65d979c328e8c99ba2554e558e2 100644 (file)
@@ -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.