On Wed, Apr 07, 2021 at 07:56:01AM -0500, Joshua Watt wrote: > On Wed, Apr 7, 2021 at 5:31 AM Peter Morrow > <pemor...@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 <pemor...@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 > yo...@lists.yoctoproject.org time.
Thanks, noted. Peter.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#150269): https://lists.openembedded.org/g/openembedded-core/message/150269 Mute This Topic: https://lists.openembedded.org/mt/81912228/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-