summaryrefslogtreecommitdiffstats
path: root/rules/pre
diff options
context:
space:
mode:
authorBart vdr. Meulen <bartvdrmeulen@gmail.com>2010-05-07 23:34:53 +0200
committerRemy Bohmer <linux@bohmer.net>2010-06-02 21:09:29 +0200
commitaf3c619059b204e20fd51634b2bbd8089c745451 (patch)
tree108790a6e4534819b730248776ecdcd6c48de813 /rules/pre
parent5a6af26a95988d2a9b69e639b35519c3df40f4b9 (diff)
downloadptxdist-af3c619059b204e20fd51634b2bbd8089c745451.tar.gz
ptxdist-af3c619059b204e20fd51634b2bbd8089c745451.tar.xz
[timezone] add new packet
Add an alternative source for the timezone info. This option can be used when using toolchains in which the timezone info is incorrect/does not work or is not available at all The option build's the timezone database from the tzdata source files on the host and installs the selected zoneinfos to the target. Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'rules/pre')
-rw-r--r--rules/pre/Rules.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
index 8ffc6fd86..1fd370731 100644
--- a/rules/pre/Rules.make
+++ b/rules/pre/Rules.make
@@ -386,10 +386,12 @@ add_locale = \
add_zoneinfo = \
ZONEINFO_NAME=$(strip $(1)); \
PREF=$(strip $(2)); \
+ SYSROOT=$(strip $(3)); \
${CROSS_ENV_CC} $(CROSS_ENV_STRIP) \
$(SCRIPTSDIR)/make_zoneinfo.sh \
-n $$ZONEINFO_NAME \
- -p $$PREF
+ -p $$PREF \
+ -s $$SYSROOT
#
# extract