aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-8-common.inc
diff options
context:
space:
mode:
authorJacob Kroon <jacob.kroon@gmail.com>2020-02-08 12:06:34 +0100
committerRichard Leitner <richard.leitner@skidata.com>2020-02-10 08:09:35 +0100
commit50515729c8937bf02d4b2d92a7c5e22f4416229e (patch)
treeb4f28c2d3c5205229ed59125acf54df775978334 /recipes-core/openjdk/openjdk-8-common.inc
parent7d30e6ff7b8a54d67256ce528e8c4fd7e63f6b14 (diff)
downloadmeta-java-master.tar.gz
meta-java-master.tar.bz2
meta-java-master.zip
openjdk-8: Don't set TOPDIR bitbake variableHEADmaster-nextmaster
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>
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-common.inc')
-rw-r--r--recipes-core/openjdk/openjdk-8-common.inc5
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:"
# for weird openjdk-common.inc
S = "${WORKDIR}/${OPENJDK_HG_U}-${OPENJDK_CHANGESET}"
-export TOPDIR="${S}"
SRC_URI = "\
${OPENJDK_URI} \
@@ -27,6 +26,10 @@ SRC_URI = "\
${PATCHES_URI} \
"
+do_configure_prepend () {
+ export TOPDIR=${S}
+}
+
do_unpack_extract_submodules () {
cd "${S}"
# tar --transform