]> code.ossystems Code Review - openembedded-core.git/commit
go: split out go-runtime into separate recipe
authorMatt Madison <matt@madison.systems>
Tue, 12 Sep 2017 12:50:21 +0000 (09:50 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Sep 2017 22:51:37 +0000 (23:51 +0100)
commitd2a7af7cd834e218c39d43ee3fa0c14d4f748727
treedcf3007032b00a663a84e1259eac7693e2559184
parentd9f54865ac90ed8d39a70b7989b1bf43ab26e248
go: split out go-runtime into separate recipe

Reorganize the Go toolchain build to split out
the Go standard runtime libraries into a separate
recipe.  This simplifies the extension to crosssdk
and cross-canadian builds.

* Adds a patch to the go build tool to prevent it
  from trying to rebuild anything in GOROOT, which
  is now resident in the target sysroot.

* 'go' bb and inc files are now for building the
  compiler for the target only.

* 'go-cross' bb and inc files are now just for
  the cross-compiler.

* Adds virtual/<prefix> PROVIDES for the compiler
  and runtime

* Removes testdata directories from the sysroot
  during staging, as they are unnecessary and
  can cause strip errors (some of the test files
  are ELF files).

* Re-enables pacakage QA checks, adding selective
  INSANE_SKIP settings where needed.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/go.bbclass
meta/recipes-devtools/go/go-1.8.inc
meta/recipes-devtools/go/go-1.8/make-goroot-precious.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-cross.inc
meta/recipes-devtools/go/go-cross_1.8.bb
meta/recipes-devtools/go/go-runtime.inc [new file with mode: 0644]
meta/recipes-devtools/go/go-runtime_1.8.bb [new file with mode: 0644]
meta/recipes-devtools/go/go.inc