[Buildroot] [PATCH 3/4] package/go-bin: new package

Christian Stewart christian at paral.in
Mon Oct 17 16:13:54 UTC 2022


Hi Thomas,

On Mon, Oct 17, 2022, 7:31 AM Thomas Perale <thomas.perale at essensium.com>
wrote:

> This package provides a pre-built version of the go compiler for the
> host target.
> This enable the user to select between the pre-built and the compiled
> version of the go compiler. The pre-built version will be used by
> default when a go compiler is required.
>
> The virtual package 'goc' creates a menu that let the user select which
> variant of the go compiler to use.
>
> The supported host platform for the pre-built compiler are actually the
> same as the one for 'go-bootstrap' no further verification are required
> than the one already in place.
>
> For now GO_BIN_VERSION and GO_VERSION are set the same by hand but in
> next version this variable should be in common. Because the order of the
> '.mk' file is not guaranteed this will be investigated in a next patch.
>

Instead of adding new packages...

Continue using "host-go" and add parameters under a menu config for it.
Then you can simply use a single variable - GO_VERSION - rather than 2 new
packages.

I'm happy to send a prototype of this if you need.

Thanks,
Christian Stewart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20221017/ed685ea6/attachment-0001.html>


More information about the buildroot mailing list