Go language metadata layer for OpenEmbedded/Yocto Project builds
Switch branches/tags
Clone or download
madisongh README: update with notice about deprecation
with information on converting recipes to use
the Go support in OE-core.

Signed-off-by: Matt Madison <matt@madison.systems>
Latest commit 3ca076a Oct 23, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf layer.conf: declare compatibility with sumo Apr 13, 2018
.gitignore Initial population. Nov 25, 2015
README README: update with notice about deprecation Oct 23, 2018


OpenEmbedded/Yocto layer for Go language support

PLEASE NOTE: Starting with OE-Core 'rocko'
(Yocto Project 2.4), Go support is available
directly in OE-Core, and meta-golang is no
longer under active development.

Converting to OE-Core's Go support

1. Change `inherit golang` to `inherit go`.

2. Set the `S` variable, usually to `"${WORKDIR}/git"`.
   The `go.bbclass` does not set `S` for you.

3. Set the `GO_IMPORT` variable to the import path
   of the Go package being built.  In most cases, this
   is the same as what you set `GO_SRCROOT` when using
   `inherit golang`.

4. Source file/path references are now based off
   `${B}` instead of `${B}/src`.  If you used
   `${GO_SRCROOT}` with your meta-golang-based recipes,
   recplacing that with `src/${GO_IMPORT}` is usually

5. If you used multiple repositories in your `SRC_URI`
   for 'vendoring' in other packages, you will need
   to change the `destsuffix=` parameter for the
   vendored packages from `${GO_SRCROOT}` to