Skip to content

go: add missing go.env #2974

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions go.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION go-1.21.1-0
# BEE_VERSION go-1.21.1-1

# see also: https://golang.org/doc/install/source

Expand Down Expand Up @@ -61,9 +61,8 @@ mee_build() {
cd ${S}/src

export GOROOT_BOOTSTRAP=${B}/bootstrap-1.17.13
export GOROOT_FINAL=${LIBDIR}/go
. ./make.bash --no-banner
# $GOTOOLDIR/dist banner
$GOTOOLDIR/dist banner

}

Expand Down Expand Up @@ -96,7 +95,11 @@ mee_install() {
fi
done

#Install tools for go
# fix "golang.org/x/mod@v0.12.0: GOPROXY list is not the empty string, but contains no entries"
# Install env
cp -v ${S}/go.env ${D}${LIBDIR}/go

# Install tools for go
mkdir -pv ${D}${LIBDIR}/go/pkg
cp -rv ${S}/pkg/tool ${D}${LIBDIR}/go/pkg
cp -rv ${S}/pkg/include ${D}${LIBDIR}/go/pkg
Expand Down