Lines Matching full:go
4 === Infrastructure for Go packages
6 This infrastructure applies to Go packages that use the standard
13 First, let's see how to write a +.mk+ file for a go package,
34 fetched from Github, since a large number of Go packages are hosted on
49 because Buildroot will automatically add a dependency on +host-go+
54 The main macro of the Go package infrastructure is
61 Just like the generic infrastructure, the Go infrastructure works
66 exist in the Go infrastructure: +FOO_VERSION+, +FOO_SOURCE+,
70 Note that it is not necessary to add +host-go+ in the
72 is automatically added as needed by the Go package infrastructure.
74 A few additional variables, specific to the Go infrastructure, can
79 * The package must specify its Go module name in the +FOO_GOMOD+
83 +FOO_SITE = $(call github,bar,foo,$(FOO_VERSION))+. The Go package
84 infrastructure will automatically generate a minimal +go.mod+ file
88 +LDFLAGS+ or the +TAGS+ to the +go+ build command.
110 With the Go infrastructure, all the steps required to build and
112 for most Go-based packages. However, when required, it is still
118 * By overriding one of the steps. For example, even if the Go
120 +FOO_BUILD_CMDS+ variable, it will be used instead of the default Go