diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-09-03 19:23:47 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-05 22:19:20 +0100 |
| commit | 19e786b6fac8ecce6bb083db3dc9ff3ccc2584b2 (patch) | |
| tree | ffc152bbad1291d0916d7dbe680aeb3c3e67377b /meta/recipes-devtools/go/go-1.15.inc | |
| parent | d567c995c3b3aa844e20b5117d54c71d2987d8f2 (diff) | |
| download | poky-19e786b6fac8ecce6bb083db3dc9ff3ccc2584b2.tar.gz | |
go: Upgrade to 1.15 major release
1.15 is latest major release changelog is [1] and detailed blog is [2]
Drop hardcoding ldso patch in favor of setting it using GO_LDSO variable
which can be defined in terms of linuxloader defined by OE
Setting GOBUILDMODE to pie is no longer needed
[1] https://golang.org/doc/go1.15
[2] https://blog.golang.org/go1.15
(From OE-Core rev: aa1bfaff4adc9246a2d65592b3a8061d55829086)
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.15.inc')
| -rw-r--r-- | meta/recipes-devtools/go/go-1.15.inc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-1.15.inc b/meta/recipes-devtools/go/go-1.15.inc new file mode 100644 index 0000000000..48f523bb50 --- /dev/null +++ b/meta/recipes-devtools/go/go-1.15.inc | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | require go-common.inc | ||
| 2 | |||
| 3 | GO_BASEVERSION = "1.15" | ||
| 4 | GO_MINOR = ".1" | ||
| 5 | PV .= "${GO_MINOR}" | ||
| 6 | FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:" | ||
| 7 | |||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707" | ||
| 9 | |||
| 10 | SRC_URI += "\ | ||
| 11 | file://0001-allow-CC-and-CXX-to-have-multiple-words.patch \ | ||
| 12 | file://0002-cmd-go-make-content-based-hash-generation-less-pedan.patch \ | ||
| 13 | file://0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch \ | ||
| 14 | file://0004-ld-add-soname-to-shareable-objects.patch \ | ||
| 15 | file://0005-make.bash-override-CC-when-building-dist-and-go_boot.patch \ | ||
| 16 | file://0006-cmd-dist-separate-host-and-target-builds.patch \ | ||
| 17 | file://0007-cmd-go-make-GOROOT-precious-by-default.patch \ | ||
| 18 | file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ | ||
| 19 | " | ||
| 20 | SRC_URI[main.sha256sum] = "d3743752a421881b5cc007c76b4b68becc3ad053e61275567edab1c99e154d30" | ||
