summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2023-03-13 12:06:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-28 22:31:54 +0100
commitd8c397a3f250558a37f04176218b4ca26310ea0f (patch)
treea7af956f0b3eb2d79f1812ea180b5d18c577c907 /meta/recipes-extended
parent14b55ab8269d0cc52480fce68a471e01780dd31b (diff)
downloadpoky-d8c397a3f250558a37f04176218b4ca26310ea0f.tar.gz
timezone: use 'tz' subdir instead of ${WORKDIR} directly
(From OE-Core rev: 8e047570ca28be2f3761d0944eaa17b64142262b) 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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/timezone/timezone.inc6
-rw-r--r--meta/recipes-extended/timezone/tzcode-native.bb3
-rw-r--r--meta/recipes-extended/timezone/tzdata.bb2
3 files changed, 4 insertions, 7 deletions
diff --git a/meta/recipes-extended/timezone/timezone.inc b/meta/recipes-extended/timezone/timezone.inc
index 1834665a1e..eec7177228 100644
--- a/meta/recipes-extended/timezone/timezone.inc
+++ b/meta/recipes-extended/timezone/timezone.inc
@@ -8,10 +8,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba"
8 8
9PV = "2022g" 9PV = "2022g"
10 10
11SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \ 11SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode;subdir=tz \
12 http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata \ 12 http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata;subdir=tz \
13 " 13 "
14 14
15S = "${WORKDIR}/tz"
16
15UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones" 17UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones"
16 18
17SRC_URI[tzcode.sha256sum] = "9610bb0b9656ff404c361a41f3286da53064b5469d84f00c9cb2314c8614da74" 19SRC_URI[tzcode.sha256sum] = "9610bb0b9656ff404c361a41f3286da53064b5469d84f00c9cb2314c8614da74"
diff --git a/meta/recipes-extended/timezone/tzcode-native.bb b/meta/recipes-extended/timezone/tzcode-native.bb
index e3582ba674..d0b23a9d80 100644
--- a/meta/recipes-extended/timezone/tzcode-native.bb
+++ b/meta/recipes-extended/timezone/tzcode-native.bb
@@ -1,10 +1,7 @@
1require timezone.inc 1require timezone.inc
2 2
3#
4SUMMARY = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" 3SUMMARY = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
5 4
6S = "${WORKDIR}"
7
8inherit native 5inherit native
9 6
10EXTRA_OEMAKE += "cc='${CC}'" 7EXTRA_OEMAKE += "cc='${CC}'"
diff --git a/meta/recipes-extended/timezone/tzdata.bb b/meta/recipes-extended/timezone/tzdata.bb
index 7f4322d867..ce725008c0 100644
--- a/meta/recipes-extended/timezone/tzdata.bb
+++ b/meta/recipes-extended/timezone/tzdata.bb
@@ -4,8 +4,6 @@ DEPENDS = "tzcode-native"
4 4
5inherit allarch 5inherit allarch
6 6
7S = "${WORKDIR}"
8
9DEFAULT_TIMEZONE ?= "Universal" 7DEFAULT_TIMEZONE ?= "Universal"
10INSTALL_TIMEZONE_FILE ?= "1" 8INSTALL_TIMEZONE_FILE ?= "1"
11 9