summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2020-06-16 18:04:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-24 18:06:05 +0100
commitc23f9e80492e4b1d47c0ada8eae3decf736253c7 (patch)
treed9a9799e1f086df3bc596b323fc4354f61c75bc4 /meta/conf
parent64e40574cd2577d618035f56097885adfb61f81e (diff)
downloadopenembedded-core-c23f9e80492e4b1d47c0ada8eae3decf736253c7.tar.gz
tcmode-default: use go-binary-native by default
go-binary-native is faster and more portable than go-native, so use it by default. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/distro/include/tcmode-default.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index fcc782dbb0..054985c6a4 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -66,6 +66,10 @@ PREFERRED_VERSION_qemu ?= "${QEMUVERSION}"
PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}"
PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}"
+# Bootstrap Go using a binary release from golang.org. If you want to bootstrap
+# from source using the C-implemented Go 1.4 (only supports x86-64 hosts) then use
+# go-native.
+PREFERRED_PROVIDER_go-native ?= "go-binary-native"
PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}"
PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}"
PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}"