]> code.ossystems Code Review - openembedded-core.git/commit
go: Add recipes for golang compilers and tools
authorKhem Raj <raj.khem@gmail.com>
Wed, 8 Mar 2017 06:40:22 +0000 (22:40 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Mar 2017 14:50:16 +0000 (14:50 +0000)
commit78615e9260fb5d6569de4883521b049717fa4340
treeaf9eba2be44d6d2baeed35bbd6c0446d70fd61d1
parent056a9da9f3ac2bc175f19243b11864ca90eee28b
go: Add recipes for golang compilers and tools

* This is converging the recipes for go from
  meta-virtualization and oe-meta-go

* Add recipes for go 1.7

* go.bbclass is added to ease out writing
  recipes for go packages

* go-examples: Add an example, helloworld written in go
  This should serve as temlate for writing go recipes

* Disable for musl, at least for now

* Disable for x32/ppc32 which is not supported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
41 files changed:
meta/classes/go.bbclass [new file with mode: 0644]
meta/classes/goarch.bbclass [new file with mode: 0644]
meta/recipes-devtools/go/go-1.4.inc [new file with mode: 0644]
meta/recipes-devtools/go/go-1.4/0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.4/016-armhf-elf-header.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.4/go-cross-backport-cmd-link-support-new-386-amd64-rel.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.4/syslog.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.6.inc [new file with mode: 0644]
meta/recipes-devtools/go/go-1.6/armhf-elf-header.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.6/fix-cc-handling.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.6/fix-target-cc-for-build.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.6/gotooldir.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.6/split-host-and-target-build.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.6/syslog.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.7.inc [new file with mode: 0644]
meta/recipes-devtools/go/go-1.7/armhf-elf-header.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.7/fix-cc-handling.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.7/fix-target-cc-for-build.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.7/gotooldir.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.7/split-host-and-target-build.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.7/syslog.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.8.inc [new file with mode: 0644]
meta/recipes-devtools/go/go-1.8/armhf-elf-header.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.8/fix-cc-handling.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.8/fix-target-cc-for-build.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.8/gotooldir.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.8/split-host-and-target-build.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-1.8/syslog.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-common.inc [new file with mode: 0644]
meta/recipes-devtools/go/go-cross.inc [new file with mode: 0644]
meta/recipes-devtools/go/go-cross_1.7.bb [new file with mode: 0644]
meta/recipes-devtools/go/go-cross_1.8.bb [new file with mode: 0644]
meta/recipes-devtools/go/go-native.inc [new file with mode: 0644]
meta/recipes-devtools/go/go-native_1.4.bb [new file with mode: 0644]
meta/recipes-devtools/go/go.inc [new file with mode: 0644]
meta/recipes-devtools/go/go_1.6.bb [new file with mode: 0644]
meta/recipes-devtools/go/go_1.7.bb [new file with mode: 0644]
meta/recipes-devtools/go/go_1.8.bb [new file with mode: 0644]
meta/recipes-extended/go-examples/files/helloworld.go [new file with mode: 0644]
meta/recipes-extended/go-examples/go-examples.inc [new file with mode: 0644]
meta/recipes-extended/go-examples/go-helloworld_0.1.bb [new file with mode: 0644]