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>
This commit is contained in:
Yann E. MORIN
2014-04-07 21:58:03 +02:00
committed by Peter Korsgaard
parent a518381ed8
commit d6a37917dd
4 changed files with 43 additions and 22 deletions

View File

@@ -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

View File

@@ -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.