From: Ross Burton Date: Tue, 16 Jun 2020 17:04:59 +0000 (+0100) Subject: tcmode-default: use go-binary-native by default X-Git-Tag: uninative-2.9~414 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c23f9e80492e4b1d47c0ada8eae3decf736253c7;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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}"