[oe] [meta-java][master-next][PATCH] openjdk-8: Don't set TOPDIR bitbake variable

Richard Leitner richard.leitner at skidata.com
Mon Feb 10 08:04:00 UTC 2020


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 at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list