timezone: use 'tz' subdir instead of ${WORKDIR} directly

(From OE-Core rev: 28b0d58d95242d7c67e18f984f84806aef4bbf85)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc53ccaf82c57826acac5f9c2557e403ec367807)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa
2023-03-13 12:06:30 +01:00
committed by Richard Purdie
parent b249219226
commit 8f216292e6
3 changed files with 4 additions and 7 deletions

View File

@@ -8,10 +8,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba"
PV = "2022g"
SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \
http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata \
SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode;subdir=tz \
http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata;subdir=tz \
"
S = "${WORKDIR}/tz"
UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones"
SRC_URI[tzcode.sha256sum] = "9610bb0b9656ff404c361a41f3286da53064b5469d84f00c9cb2314c8614da74"

View File

@@ -1,10 +1,7 @@
require timezone.inc
#
SUMMARY = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
S = "${WORKDIR}"
inherit native
EXTRA_OEMAKE += "cc='${CC}'"

View File

@@ -4,8 +4,6 @@ DEPENDS = "tzcode-native"
inherit allarch
S = "${WORKDIR}"
DEFAULT_TIMEZONE ?= "Universal"
INSTALL_TIMEZONE_FILE ?= "1"