summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.in
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-04-29 17:17:18 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-04-29 17:17:18 +0200
commit87327f43e4ea65d63ceab0985cf814e22940579a (patch)
tree3241c8376e431c8bd4e02618a030aaafc1580fba /extra/Configs/Config.in
parentf26c5f6952ce9bf8edec9c1571c47addb1bcc442 (diff)
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 <vda.linux@googlemail.com>
Diffstat (limited to 'extra/Configs/Config.in')
-rw-r--r--extra/Configs/Config.in11
1 files changed, 11 insertions, 0 deletions
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"