From 760e81678cec80dcdaab12c2a0a0148e3e0ba275 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Mar 2017 22:40:22 -0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/go/go-1.8.inc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes-devtools/go/go-1.8.inc (limited to 'meta/recipes-devtools/go/go-1.8.inc') 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 @@ +require go-common.inc + +GOMINOR = "" +GO_BASEVERSION = "1.8" +PV .= "${GOMINOR}" +FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707" + +SRC_URI += "\ + file://armhf-elf-header.patch \ + file://syslog.patch \ + file://fix-target-cc-for-build.patch \ + file://fix-cc-handling.patch \ + file://split-host-and-target-build.patch \ + file://gotooldir.patch \ +" +SRC_URI[md5sum] = "7743960c968760437b6e39093cfe6f67" +SRC_URI[sha256sum] = "406865f587b44be7092f206d73fc1de252600b79b3cacc587b74b5ef5c623596" -- cgit v1.2.3-54-g00ecf