All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-java][master-next][PATCH] openjdk-8: Don't set TOPDIR bitbake variable
@ 2020-02-08 11:06 Jacob Kroon
  2020-02-10  8:04 ` Richard Leitner
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob Kroon @ 2020-02-08 11:06 UTC (permalink / raw)
  To: openembedded-devel

It is used to set the default sstate cache location.
Just export it to the environment.

Richard, feel free to squash this or someting similar into the
openjdk-8 update commit.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
---
 recipes-core/openjdk/openjdk-8-common.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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
-- 
2.24.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-10  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-08 11:06 [meta-java][master-next][PATCH] openjdk-8: Don't set TOPDIR bitbake variable Jacob Kroon
2020-02-10  8:04 ` Richard Leitner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.