[Buildroot] [PATCH v4 1/7] package/go: implement go modules integration

Christian Stewart christian at paral.in
Fri Aug 28 18:30:01 UTC 2020


Hi all,

On Thu, Aug 13, 2020 at 2:32 PM Christian Stewart <christian at paral.in> wrote:
>
> Go has deprecated the GOPATH mechanism in favor of a new approach - Modules -
> which specifies the root import path (and dependencies) in a "go.mod" file.
>
> This commit moves Buildroot to use the new go.mod approach. Both host and target
> Go packages compile correctly with small tweaks adjusting the build target
> specifier.


I'm looking to merge the Go modules change in advance of upgrading to
Go 1.14 or Go 1.15.

Patchseries available here (same as v4 in the mailing list):

https://patch-diff.githubusercontent.com/raw/paralin/buildroot/pull/8.patch

As of now I haven't had anyone else - even the Go developers in
Buildroot - test/review this.

Adam (mender), Francois (docker-engine), Angelo (go.mk) - it would be
very helpful if you could give this series a spin, particularly with
the host packages you're using.

Best regards,
Christian Stewart


More information about the buildroot mailing list