From f559fd6df2978f9093672794420eada2b7452987 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 7 Mar 2019 16:10:55 -0800 Subject: go: Add recipes for 1.12 release and make it default - Refresh patches - Enable GOCACHE required as of Go 1.12 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/go/go-1.12.inc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta/recipes-devtools/go/go-1.12.inc (limited to 'meta/recipes-devtools/go/go-1.12.inc') diff --git a/meta/recipes-devtools/go/go-1.12.inc b/meta/recipes-devtools/go/go-1.12.inc new file mode 100644 index 0000000000..4f6c341fc3 --- /dev/null +++ b/meta/recipes-devtools/go/go-1.12.inc @@ -0,0 +1,23 @@ +require go-common.inc + +GO_BASEVERSION = "1.12" +GO_MINOR = "" +PV .= "${GO_MINOR}" +FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707" + +SRC_URI += "\ + file://0001-allow-CC-and-CXX-to-have-multiple-words.patch \ + file://0002-cmd-go-make-content-based-hash-generation-less-pedan.patch \ + file://0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch \ + file://0004-ld-add-soname-to-shareable-objects.patch \ + file://0005-make.bash-override-CC-when-building-dist-and-go_boot.patch \ + file://0006-cmd-dist-separate-host-and-target-builds.patch \ + file://0007-cmd-go-make-GOROOT-precious-by-default.patch \ + file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ +" +SRC_URI_append_libc-musl = " file://0009-ld-replace-glibc-dynamic-linker-with-musl.patch" + +SRC_URI[main.md5sum] = "b3332feba8a945a193b47a52d9981bb9" +SRC_URI[main.sha256sum] = "09c43d3336743866f2985f566db0520b36f4992aea2b4b2fd9f52f17049e88f2" -- cgit 1.2.3-korg