blob: ba1eaa051a6e709109d9522e30e82654f5fd80af [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001require go-common.inc
2
3GO_BASEVERSION = "1.9"
Brad Bishopd5ae7d92018-06-14 09:52:03 -07004GO_MINOR = ".7"
Brad Bishop00111322018-04-01 22:23:53 -04005PV .= "${GO_MINOR}"
6
Brad Bishopd7bf8c12018-02-25 22:55:05 -05007FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
8
9LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
10
11SRC_URI += "\
12 file://0001-make.bash-quote-CC_FOR_TARGET.patch \
13 file://0002-cmd-go-fix-CC-and-CXX-environment-variable-construct.patch \
14 file://0003-make.bash-better-separate-host-and-target-builds.patch \
15 file://0004-cmd-go-allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch \
16 file://0005-cmd-go-make-GOROOT-precious-by-default.patch \
17 file://0006-make.bash-add-GOTOOLDIR_BOOTSTRAP-environment-variab.patch \
18 file://0007-ld-add-soname-to-shareable-objects.patch \
19 file://0008-make.bash-add-GOHOSTxx-indirection-for-cross-canadia.patch \
20 file://0009-cmd-go-buildmode-pie-forces-external-linking-mode-on.patch \
21 file://0010-make.bash-override-CC-when-building-dist-and-go_boot.patch \
Brad Bishopa5c52ff2018-11-23 10:55:50 +130022 file://0011-use-GOBUILDMODE-to-set-buildmode.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023"
24SRC_URI_append_libc-musl = " file://set-external-linker.patch"
25
Brad Bishopd5ae7d92018-06-14 09:52:03 -070026SRC_URI[main.md5sum] = "3c2cf876ed6612a022574a565206c6ea"
27SRC_URI[main.sha256sum] = "582814fa45e8ecb0859a208e517b48aa0ad951e3b36c7fff203d834e0ef27722"