aboutsummaryrefslogtreecommitdiff
path: root/package/tzdata
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-04-07 21:58:03 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-04-08 23:33:24 +0200
commitd6a37917dde1293f6e25d87801283e098c22d580 (patch)
treecc28d0d26207ed22b3ca67aab93ebb7a6ea6a10e /package/tzdata
parenta518381ed805c368b42935fbfe51b3f3cb8a3bcf (diff)
downloadbuildroot-d6a37917dde1293f6e25d87801283e098c22d580.tar.gz
buildroot-d6a37917dde1293f6e25d87801283e098c22d580.tar.bz2
system: make the zoneinfo list a system option
[Peter: move legacy options under 2014.05] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/tzdata')
-rw-r--r--package/tzdata/Config.in23
-rw-r--r--package/tzdata/tzdata.mk4
2 files changed, 5 insertions, 22 deletions
diff --git a/package/tzdata/Config.in b/package/tzdata/Config.in
index 1be68149b5..1e6cc0fc64 100644
--- a/package/tzdata/Config.in
+++ b/package/tzdata/Config.in
@@ -1,26 +1,9 @@
-comment "tzdata needs an (e)glibc toolchain"
- depends on !BR2_TOOLCHAIN_USES_GLIBC
+# This package is not meant to be user-visible.
+# It gets selected by BR2_TARGET_TZ in system/Config.in
config BR2_PACKAGE_TZDATA
- bool "tzdata"
- depends on BR2_TOOLCHAIN_USES_GLIBC
+ bool
help
Time zone database
http://www.iana.org/time-zones/repository/tz-link.html
-
-if BR2_PACKAGE_TZDATA
-
-config BR2_PACKAGE_TZDATA_ZONELIST
- string "Time zone list"
- default "default"
- help
- 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.
-
- The full list is the list of files in the time zone database source,
- not including the build and .tab files.
-
-endif
diff --git a/package/tzdata/tzdata.mk b/package/tzdata/tzdata.mk
index d5c9f66be4..59004736e8 100644
--- a/package/tzdata/tzdata.mk
+++ b/package/tzdata/tzdata.mk
@@ -13,10 +13,10 @@ TZDATA_LICENSE = Public domain
TZDATA_DEFAULT_ZONELIST = africa antarctica asia australasia backward etcetera \
europe factory northamerica pacificnew southamerica
-ifeq ($(call qstrip,$(BR2_PACKAGE_TZDATA_ZONELIST)),default)
+ifeq ($(call qstrip,$(BR2_TARGET_TZ_ZONELIST)),default)
TZDATA_ZONELIST = $(TZDATA_DEFAULT_ZONELIST)
else
-TZDATA_ZONELIST = $(call qstrip,$(BR2_PACKAGE_TZDATA_ZONELIST))
+TZDATA_ZONELIST = $(call qstrip,$(BR2_TARGET_TZ_ZONELIST))
endif
# Don't strip any path components during extraction.