[OE-core] [PATCH 0/7] Revamp the Go support

Khem Raj raj.khem at gmail.com
Tue Sep 5 04:35:39 UTC 2017


On Mon, Sep 4, 2017 at 2:06 PM, Otavio Salvador <otavio at ossystems.com.br> wrote:
> This is not yet complete but does improve some parts of
> Go support on OE-Core.
>
> We are trying to port as much as possible work done by Matt on
> meta-golang back to OE-Core and also to avoid carrying old releases as
> there is no need to support more versions of Go toolchain.
>
> The first commits on this serie does fix errors in current
> implementation, the others are improvements and clean ups.
>

these changes look good to me in general.

>
> Otavio Salvador (7):
>   goarch.bbclass: Stop passing True as second argument of d.getVar
>   go.bbclass: Fix binary installation path detection
>   go: Remove Go 1.6 and 1.7 releases
>   goarch.bbclass: Add support for ARMv5

Does it work on v5?

>   go.bbclass: Use a global Go build flags
>   go.bbclass: Enable parallel build
>   go.bbclass: Use an auxiliary variable to add the build dependencies
>
>  meta/classes/go.bbclass                            | 34 ++++++++++--
>  meta/classes/goarch.bbclass                        | 20 +++----
>  meta/recipes-devtools/go/go-1.6.inc                | 19 -------
>  .../go/go-1.6/armhf-elf-header.patch               | 23 --------
>  .../go/go-1.6/fix-cc-handling.patch                | 50 -----------------
>  .../go/go-1.6/fix-target-cc-for-build.patch        | 17 ------
>  meta/recipes-devtools/go/go-1.6/gotooldir.patch    | 30 -----------
>  .../go/go-1.6/split-host-and-target-build.patch    | 63 ----------------------
>  meta/recipes-devtools/go/go-1.6/syslog.patch       | 62 ---------------------
>  meta/recipes-devtools/go/go-1.7.inc                | 19 -------
>  .../go/go-1.7/armhf-elf-header.patch               | 23 --------
>  .../go/go-1.7/fix-cc-handling.patch                | 50 -----------------
>  .../go/go-1.7/fix-target-cc-for-build.patch        | 17 ------
>  meta/recipes-devtools/go/go-1.7/gotooldir.patch    | 30 -----------
>  .../go/go-1.7/split-host-and-target-build.patch    | 62 ---------------------
>  meta/recipes-devtools/go/go-1.7/syslog.patch       | 62 ---------------------
>  meta/recipes-devtools/go/go-cross_1.7.bb           |  5 --
>  meta/recipes-devtools/go/go_1.6.bb                 |  4 --
>  meta/recipes-devtools/go/go_1.7.bb                 |  2 -
>  19 files changed, 40 insertions(+), 552 deletions(-)
>  delete mode 100644 meta/recipes-devtools/go/go-1.6.inc
>  delete mode 100644 meta/recipes-devtools/go/go-1.6/armhf-elf-header.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.6/fix-cc-handling.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.6/fix-target-cc-for-build.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.6/gotooldir.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.6/split-host-and-target-build.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.6/syslog.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.7.inc
>  delete mode 100644 meta/recipes-devtools/go/go-1.7/armhf-elf-header.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.7/fix-cc-handling.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.7/fix-target-cc-for-build.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.7/gotooldir.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.7/split-host-and-target-build.patch
>  delete mode 100644 meta/recipes-devtools/go/go-1.7/syslog.patch
>  delete mode 100644 meta/recipes-devtools/go/go-cross_1.7.bb
>  delete mode 100644 meta/recipes-devtools/go/go_1.6.bb
>  delete mode 100644 meta/recipes-devtools/go/go_1.7.bb
>
> --
> 2.14.1
>



More information about the Openembedded-core mailing list