diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-03-07 22:40:22 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-10 15:51:55 +0000 |
commit | 760e81678cec80dcdaab12c2a0a0148e3e0ba275 (patch) | |
tree | 6b587a2e9bd13c68788c1ff20df54db7e2f38c53 /meta/recipes-devtools/go/go-1.4.inc | |
parent | 0efe58df2e5389f86dfbd53f90afc8f2970def7d (diff) | |
download | poky-760e81678cec80dcdaab12c2a0a0148e3e0ba275.tar.gz |
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
(From OE-Core rev: 78615e9260fb5d6569de4883521b049717fa4340)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go/go-1.4.inc')
-rw-r--r-- | meta/recipes-devtools/go/go-1.4.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-1.4.inc b/meta/recipes-devtools/go/go-1.4.inc new file mode 100644 index 0000000000..2f500f32b9 --- /dev/null +++ b/meta/recipes-devtools/go/go-1.4.inc | |||
@@ -0,0 +1,16 @@ | |||
1 | require go-common.inc | ||
2 | |||
3 | PV = "1.4.3" | ||
4 | GO_BASEVERSION = "1.4" | ||
5 | FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:" | ||
6 | |||
7 | SRC_URI += "\ | ||
8 | file://016-armhf-elf-header.patch \ | ||
9 | file://go-cross-backport-cmd-link-support-new-386-amd64-rel.patch \ | ||
10 | file://syslog.patch \ | ||
11 | file://0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch \ | ||
12 | " | ||
13 | |||
14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=591778525c869cdde0ab5a1bf283cd81" | ||
15 | SRC_URI[md5sum] = "dfb604511115dd402a77a553a5923a04" | ||
16 | SRC_URI[sha256sum] = "9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959" | ||