mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
go: upgrade 1.15.2 -> 1.15.3
Set PV directly to allow automated version updates between point releases. (From OE-Core rev: 84034ea18a9fb1a012a1ecdc3a84296b08d3cc23) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bb986b4207
commit
2cf8d92f44
@@ -1,8 +1,7 @@
|
|||||||
require go-common.inc
|
require go-common.inc
|
||||||
|
|
||||||
GO_BASEVERSION = "1.15"
|
GO_BASEVERSION = "1.15"
|
||||||
GO_MINOR = ".2"
|
PV = "1.15.3"
|
||||||
PV .= "${GO_MINOR}"
|
|
||||||
FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
|
FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
|
||||||
@@ -17,4 +16,4 @@ SRC_URI += "\
|
|||||||
file://0007-cmd-go-make-GOROOT-precious-by-default.patch \
|
file://0007-cmd-go-make-GOROOT-precious-by-default.patch \
|
||||||
file://0008-use-GOBUILDMODE-to-set-buildmode.patch \
|
file://0008-use-GOBUILDMODE-to-set-buildmode.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[main.sha256sum] = "28bf9d0bcde251011caae230a4a05d917b172ea203f2a62f2c2f9533589d4b4d"
|
SRC_URI[main.sha256sum] = "896a602570e54c8cdfc2c1348abd4ffd1016758d0bd086ccd9787dbfc9b64888"
|
||||||
|
|||||||
+2
-2
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
|
|||||||
PROVIDES = "go-native"
|
PROVIDES = "go-native"
|
||||||
|
|
||||||
SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
|
SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
|
||||||
SRC_URI[go_linux_amd64.sha256sum] = "b49fda1ca29a1946d6bb2a5a6982cf07ccd2aba849289508ee0f9918f6bb4552"
|
SRC_URI[go_linux_amd64.sha256sum] = "010a88df924a81ec21b293b5da8f9b11c176d27c0ee3962dc1738d2352d3c02d"
|
||||||
SRC_URI[go_linux_arm64.sha256sum] = "c8ec460cc82d61604b048f9439c06bd591722efce5cd48f49e19b5f6226bd36d"
|
SRC_URI[go_linux_arm64.sha256sum] = "b8b88a87ada918ef5189fa5938ef4c46a4f61952a34317612aaac705f4275f80"
|
||||||
|
|
||||||
UPSTREAM_CHECK_URI = "https://golang.org/dl/"
|
UPSTREAM_CHECK_URI = "https://golang.org/dl/"
|
||||||
UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
|
UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
export CGO_ENABLED_riscv64 = ""
|
export CGO_ENABLED_riscv64 = ""
|
||||||
require go-${PV}.inc
|
require go-${PV}.inc
|
||||||
require go-runtime.inc
|
require go-runtime.inc
|
||||||
|
|
||||||
|
|||||||
@@ -13,3 +13,4 @@ python() {
|
|||||||
if 'mips' in d.getVar('TARGET_ARCH',True) or 'riscv' in d.getVar('TARGET_ARCH',True):
|
if 'mips' in d.getVar('TARGET_ARCH',True) or 'riscv' in d.getVar('TARGET_ARCH',True):
|
||||||
d.appendVar('INSANE_SKIP_%s' % d.getVar('PN',True), " textrel")
|
d.appendVar('INSANE_SKIP_%s' % d.getVar('PN',True), " textrel")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user