From 87327f43e4ea65d63ceab0985cf814e22940579a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 29 Apr 2010 17:17:18 +0200 Subject: optional /etc/localtime support This patch teaches uclibc to use /etc/localtime. This is possible since recent TZif2 file format contains TZ-like ASCII string at the end. Signed-off-by: Denys Vlasenko --- extra/Configs/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 21c14acf4..680365980 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -848,6 +848,17 @@ config UCLIBC_TZ_FILE_PATH Most people will use the default of '/etc/TZ'. +config UCLIBC_FALLBACK_TO_ETC_LOCALTIME + bool "Use /etc/localtime as a fallback" + depends on UCLIBC_HAS_TZ_FILE + default y + help + Answer Y to try to use /etc/localtime file. + On glibc systems this file (if it is in TZif2 format) + contains timezone string at the end. + + Most people will answer Y. + endmenu menu "Advanced Library Settings" -- cgit v1.2.3