All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joshua Watt" <JPEWhacker@gmail.com>
To: Peter Morrow <pemorrow@linux.microsoft.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>,
	peter.morrow@microsoft.com
Subject: Re: [meta-mingw][PATCH] go: add environment setup batch file for go
Date: Wed, 7 Apr 2021 07:56:01 -0500	[thread overview]
Message-ID: <CAJdd5GZZkiq=r5yR2oSLNheVhoqLTDVUCDau1iGKexr=i3Mteg@mail.gmail.com> (raw)
In-Reply-To: <1617791467-4066-1-git-send-email-pemorrow@linux.microsoft.com>

On Wed, Apr 7, 2021 at 5:31 AM Peter Morrow
<pemorrow@linux.microsoft.com> wrote:
>
> When building the nativesdk for mingw we need to set GOROOT in order to build
> anything out of the box.
>
> Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com>
> ---
>  recipes-devtools/go/go_%.bbappend | 9 +++++++++
>  1 file changed, 9 insertions(+)
>  create mode 100644 recipes-devtools/go/go_%.bbappend
>
> diff --git a/recipes-devtools/go/go_%.bbappend b/recipes-devtools/go/go_%.bbappend
> new file mode 100644
> index 0000000..9933108
> --- /dev/null
> +++ b/recipes-devtools/go/go_%.bbappend
> @@ -0,0 +1,9 @@
> +do_install_append_class-nativesdk_mingw32() {
> +    install -d ${D}${SDKPATHNATIVE}/environment-setup.d
> +
> +    cat <<EOF > ${D}${SDKPATHNATIVE}/environment-setup.d/go.bat
> +set GOROOT=%OECORE_NATIVE_SYSROOT%\\usr\\lib\\${BPN}
> +EOF
> +}
> +
> +FILES_${PN}_append_class-nativesdk_mingw32 = " ${SDKPATHNATIVE}/environment-setup.d"
> --
> 1.8.3.1
>

I've put this patch in master-next oe meta-mingw. This is the wrong
mailing list for these patches, please use
yocto@lists.yoctoproject.org time.

  reply	other threads:[~2021-04-07 12:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 10:31 [meta-mingw][PATCH] go: add environment setup batch file for go Peter Morrow
2021-04-07 12:56 ` Joshua Watt [this message]
2021-04-07 12:59   ` Peter Morrow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJdd5GZZkiq=r5yR2oSLNheVhoqLTDVUCDau1iGKexr=i3Mteg@mail.gmail.com' \
    --to=jpewhacker@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=pemorrow@linux.microsoft.com \
    --cc=peter.morrow@microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.