[Buildroot] [PATCHv6] package/golang: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Nov 4 17:31:19 UTC 2015


Hello,

On Wed, 4 Nov 2015 18:21:18 +0100, Yann E. MORIN wrote:

> On 2015-11-04 15:39 +0000, Christian Stewart spake thusly:
> > Is there anything that needs to be done regarding golang for it to be
> > merged? After golang we can push towards docker support.
> 
> IIRC, we need to provide an $(TUPLE)-go to act as a cross-compiler. That
> would be a shell script that exports the appropriate environement
> variables (you provided the list) and then calls the real go executable.
> 
> Otherwise, just calling the go program, even when set up as a
> cross-compiler, does not produce target binaries as we've observed.

Correct. Also, I think I raised a few comments (about gofmt, about the
situations where go in the target is useful). Those comments were
answered, but it would be nicer if the answers were turned into actual
comments into the code, or in the Config.in help text.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list