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.8.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.8.inc')
-rw-r--r-- | meta/recipes-devtools/go/go-1.8.inc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-1.8.inc b/meta/recipes-devtools/go/go-1.8.inc new file mode 100644 index 0000000000..5c376a2eb6 --- /dev/null +++ b/meta/recipes-devtools/go/go-1.8.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | require go-common.inc | ||
2 | |||
3 | GOMINOR = "" | ||
4 | GO_BASEVERSION = "1.8" | ||
5 | PV .= "${GOMINOR}" | ||
6 | FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707" | ||
9 | |||
10 | SRC_URI += "\ | ||
11 | file://armhf-elf-header.patch \ | ||
12 | file://syslog.patch \ | ||
13 | file://fix-target-cc-for-build.patch \ | ||
14 | file://fix-cc-handling.patch \ | ||
15 | file://split-host-and-target-build.patch \ | ||
16 | file://gotooldir.patch \ | ||
17 | " | ||
18 | SRC_URI[md5sum] = "7743960c968760437b6e39093cfe6f67" | ||
19 | SRC_URI[sha256sum] = "406865f587b44be7092f206d73fc1de252600b79b3cacc587b74b5ef5c623596" | ||