diff options
author | Matt Madison <matt@madison.systems> | 2018-03-04 13:09:37 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-06 06:43:10 -0800 |
commit | c0d18587054642eaa9ae1981f900c187763a9519 (patch) | |
tree | 9a61d5cdc06cc87069cfa0e6eeb0025b30631311 /meta/conf/distro/include/tcmode-default.inc | |
parent | b949ac0f5ece89ef2319e70bc129b89dc2cf10fe (diff) | |
download | poky-c0d18587054642eaa9ae1981f900c187763a9519.tar.gz |
tcmode-default.inc: add settings for go
to allow GOVERSION to be set for using an older
go toolchain.
(From OE-Core rev: 10193150381b1088a5de627aed0ad1d052a3955d)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro/include/tcmode-default.inc')
-rw-r--r-- | meta/conf/distro/include/tcmode-default.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 87a5920cad..5c6681fb9d 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc | |||
@@ -67,3 +67,13 @@ PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}" | |||
67 | # Setup suitable toolchain flags | 67 | # Setup suitable toolchain flags |
68 | require conf/distro/include/as-needed.inc | 68 | require conf/distro/include/as-needed.inc |
69 | 69 | ||
70 | GOVERSION ?= "1.10%" | ||
71 | PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}" | ||
72 | PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}" | ||
73 | PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}" | ||
74 | PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}" | ||
75 | PREFERRED_VERSION_go ?= "${GOVERSION}" | ||
76 | PREFERRED_VERSION_go-native ?= "${GOVERSION}" | ||
77 | PREFERRED_VERSION_go-runtime ?= "${GOVERSION}" | ||
78 | PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}" | ||
79 | PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}" | ||