diff options
author | Jacob Kroon <jacob.kroon@gmail.com> | 2020-02-08 12:06:34 +0100 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2020-02-10 08:09:35 +0100 |
commit | 50515729c8937bf02d4b2d92a7c5e22f4416229e (patch) | |
tree | b4f28c2d3c5205229ed59125acf54df775978334 | |
parent | 7d30e6ff7b8a54d67256ce528e8c4fd7e63f6b14 (diff) | |
download | meta-java-50515729c8937bf02d4b2d92a7c5e22f4416229e.tar.gz |
openjdk-8: Don't set TOPDIR bitbake variable
It is used to set the default sstate cache location.
Just export it to the environment.
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
[richard.leitner@skidata.com: adapted commit message]
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r-- | recipes-core/openjdk/openjdk-8-common.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc index 0ef4750..d8b30b8 100644 --- a/recipes-core/openjdk/openjdk-8-common.inc +++ b/recipes-core/openjdk/openjdk-8-common.inc | |||
@@ -12,7 +12,6 @@ FILESPATH =. "${FILE_DIRNAME}/patches-openjdk-8:" | |||
12 | 12 | ||
13 | # for weird openjdk-common.inc | 13 | # for weird openjdk-common.inc |
14 | S = "${WORKDIR}/${OPENJDK_HG_U}-${OPENJDK_CHANGESET}" | 14 | S = "${WORKDIR}/${OPENJDK_HG_U}-${OPENJDK_CHANGESET}" |
15 | export TOPDIR="${S}" | ||
16 | 15 | ||
17 | SRC_URI = "\ | 16 | SRC_URI = "\ |
18 | ${OPENJDK_URI} \ | 17 | ${OPENJDK_URI} \ |
@@ -27,6 +26,10 @@ SRC_URI = "\ | |||
27 | ${PATCHES_URI} \ | 26 | ${PATCHES_URI} \ |
28 | " | 27 | " |
29 | 28 | ||
29 | do_configure_prepend () { | ||
30 | export TOPDIR=${S} | ||
31 | } | ||
32 | |||
30 | do_unpack_extract_submodules () { | 33 | do_unpack_extract_submodules () { |
31 | cd "${S}" | 34 | cd "${S}" |
32 | # tar --transform | 35 | # tar --transform |