1# 2# Default toolchain configuration 3# 4 5PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross-${TARGET_ARCH}" 6PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross-${TARGET_ARCH}" 7PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross-${TARGET_ARCH}" 8PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime" 9PREFERRED_PROVIDER_gdb = "gdb" 10 11PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils-crosssdk ?= "binutils-crosssdk-${SDK_SYS}" 12PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc = "gcc-crosssdk-${SDK_SYS}" 13PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_SYS}" 14PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = "nativesdk-gcc-runtime" 15 16# Default libc config 17PREFERRED_PROVIDER_virtual/gettext ??= "gettext" 18 19GCCVERSION ?= "11.%" 20SDKGCCVERSION ?= "${GCCVERSION}" 21BINUVERSION ?= "2.38%" 22GDBVERSION ?= "11.%" 23GLIBCVERSION ?= "2.35" 24LINUXLIBCVERSION ?= "5.16%" 25QEMUVERSION ?= "6.2%" 26GOVERSION ?= "1.17%" 27# This can not use wildcards like 8.0.% since it is also used in mesa to denote 28# llvm version being used, so always bump it with llvm recipe version bump 29LLVMVERSION ?= "13.0.1" 30RUSTVERSION ?= "1.59%" 31 32PREFERRED_VERSION_gcc ?= "${GCCVERSION}" 33PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" 34PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}" 35PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}" 36PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}" 37PREFERRED_VERSION_gcc-sanitizers ?= "${GCCVERSION}" 38PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}" 39PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${SDKGCCVERSION}" 40PREFERRED_VERSION_libgcc ?= "${GCCVERSION}" 41PREFERRED_VERSION_libgcc-initial ?= "${GCCVERSION}" 42PREFERRED_VERSION_libgfortran ?= "${GCCVERSION}" 43PREFERRED_VERSION_nativesdk-gcc ?= "${SDKGCCVERSION}" 44PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}" 45PREFERRED_VERSION_nativesdk-libgcc-initial ?= "${SDKGCCVERSION}" 46PREFERRED_VERSION_binutils ?= "${BINUVERSION}" 47PREFERRED_VERSION_binutils-native ?= "${BINUVERSION}" 48PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} ?= "${BINUVERSION}" 49PREFERRED_VERSION_binutils-crosssdk-${SDK_SYS} ?= "${BINUVERSION}" 50PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}" 51PREFERRED_VERSION_gdb ?= "${GDBVERSION}" 52PREFERRED_VERSION_gdb-cross-${TARGET_ARCH} ?= "${GDBVERSION}" 53PREFERRED_VERSION_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GDBVERSION}" 54 55PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" 56PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}" 57PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}" 58PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}" 59PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}" 60PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}" 61PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}" 62PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}" 63 64PREFERRED_VERSION_qemu ?= "${QEMUVERSION}" 65PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}" 66PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}" 67 68# Bootstrap Go using a binary release from golang.org. If you want to bootstrap 69# from source using the C-implemented Go 1.4 (only supports x86-64 hosts) then use 70# go-native. 71PREFERRED_PROVIDER_go-native ?= "go-binary-native" 72PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}" 73PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}" 74PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}" 75PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}" 76PREFERRED_VERSION_go ?= "${GOVERSION}" 77PREFERRED_VERSION_go-native ?= "${GOVERSION}" 78PREFERRED_VERSION_go-runtime ?= "${GOVERSION}" 79PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}" 80PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}" 81 82PREFERRED_VERSION_llvm = "${LLVMVERSION}" 83PREFERRED_VERSION_llvm-native = "${LLVMVERSION}" 84PREFERRED_VERSION_nativesdk-llvm = "${LLVMVERSION}" 85 86# Rust toolchain preferred versions: 87 88PREFERRED_VERSION_cargo ?= "${RUSTVERSION}" 89PREFERRED_VERSION_cargo-native ?= "${RUSTVERSION}" 90PREFERRED_VERSION_libstd-rs ?= "${RUSTVERSION}" 91PREFERRED_VERSION_rust ?= "${RUSTVERSION}" 92PREFERRED_VERSION_rust-cross-${TARGET_ARCH} ?= "${RUSTVERSION}" 93PREFERRED_VERSION_rust-llvm ?= "${RUSTVERSION}" 94PREFERRED_VERSION_rust-llvm-native ?= "${RUSTVERSION}" 95PREFERRED_VERSION_rust-native ?= "${RUSTVERSION}" 96 97