[OE-core] [PATCH] go: Upgrade to 1.8.3

Khem Raj raj.khem at gmail.com
Fri Jun 2 19:34:11 UTC 2017


Add a comment to fix build musl<->glibc switch while
using same TMPDIR

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-devtools/go/go-1.8.inc   | 8 ++++----
 meta/recipes-devtools/go/go-cross.inc | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-devtools/go/go-1.8.inc b/meta/recipes-devtools/go/go-1.8.inc
index 5c376a2eb6..3690f310bd 100644
--- a/meta/recipes-devtools/go/go-1.8.inc
+++ b/meta/recipes-devtools/go/go-1.8.inc
@@ -1,8 +1,8 @@
 require go-common.inc
 
-GOMINOR = ""
+GOMINOR = "3"
 GO_BASEVERSION = "1.8"
-PV .= "${GOMINOR}"
+PV .= ".${GOMINOR}"
 FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
@@ -15,5 +15,5 @@ SRC_URI += "\
        file://split-host-and-target-build.patch \
        file://gotooldir.patch \
 "
-SRC_URI[md5sum] = "7743960c968760437b6e39093cfe6f67"
-SRC_URI[sha256sum] = "406865f587b44be7092f206d73fc1de252600b79b3cacc587b74b5ef5c623596"
+SRC_URI[md5sum] = "64e9380e07bba907e26a00cf5fcbe77e"
+SRC_URI[sha256sum] = "5f5dea2447e7dcfdc50fa6b94c512e58bfba5673c039259fd843f68829d99fa6"
diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc
index 93206a5d05..71e461123c 100644
--- a/meta/recipes-devtools/go/go-cross.inc
+++ b/meta/recipes-devtools/go/go-cross.inc
@@ -6,7 +6,8 @@ PN = "go-cross-${TARGET_ARCH}"
 
 # Ignore how TARGET_ARCH is computed.
 TARGET_ARCH[vardepvalue] = "${TARGET_ARCH}"
-
+# Ignore target os libc for cross compiler
+#TARGET_OS[vardepexclude] = "LIBCEXTENSION"
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/go-cross:"
 
 GOROOT_FINAL = "${libdir}/go"
-- 
2.13.0




More information about the Openembedded-core mailing list