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

* Re: [meta-java][master-next][PATCH] openjdk-8: Don't set TOPDIR bitbake variable
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Leitner @ 2020-02-10  8:04 UTC (permalink / raw)
  To: Jacob Kroon; +Cc: openembedded-devel

Hi,
this is a note to let you know that I've just added this patch to the
master-next branch of the meta-java repository at
     git://git.yoctoproject.org/meta-java

As soon as it has gone through some more testing it will likely be
merged to the master branch.

If you have any questions, please let me know.

regards;rl

On Sat, Feb 08, 2020 at 12:06:34PM +0100, Jacob Kroon wrote:
> 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.

I just added in on top of master-next ;-)

> 
> 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
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[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.