summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/tcmode-default.inc
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2018-03-04 13:09:37 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-06 06:43:10 -0800
commitc0d18587054642eaa9ae1981f900c187763a9519 (patch)
tree9a61d5cdc06cc87069cfa0e6eeb0025b30631311 /meta/conf/distro/include/tcmode-default.inc
parentb949ac0f5ece89ef2319e70bc129b89dc2cf10fe (diff)
downloadpoky-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.inc10
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
68require conf/distro/include/as-needed.inc 68require conf/distro/include/as-needed.inc
69 69
70GOVERSION ?= "1.10%"
71PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}"
72PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}"
73PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}"
74PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}"
75PREFERRED_VERSION_go ?= "${GOVERSION}"
76PREFERRED_VERSION_go-native ?= "${GOVERSION}"
77PREFERRED_VERSION_go-runtime ?= "${GOVERSION}"
78PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}"
79PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}"