Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # |
| 2 | # Default toolchain configuration |
| 3 | # |
| 4 | |
| 5 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross-${TARGET_ARCH}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross-${TARGET_ARCH}" |
| 7 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross-${TARGET_ARCH}" |
| 8 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime" |
| 9 | PREFERRED_PROVIDER_gdb = "gdb" |
| 10 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 11 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils-crosssdk ?= "binutils-crosssdk-${SDK_SYS}" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 12 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc = "gcc-crosssdk-${SDK_SYS}" |
| 13 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_SYS}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = "nativesdk-gcc-runtime" |
| 15 | |
| 16 | # Default libc config |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | PREFERRED_PROVIDER_virtual/gettext ??= "gettext" |
| 18 | |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 19 | GCCVERSION ?= "11.%" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | SDKGCCVERSION ?= "${GCCVERSION}" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 21 | BINUVERSION ?= "2.38%" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 22 | GDBVERSION ?= "11.%" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 23 | GLIBCVERSION ?= "2.35" |
| 24 | LINUXLIBCVERSION ?= "5.16%" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 25 | QEMUVERSION ?= "6.2%" |
| 26 | GOVERSION ?= "1.17%" |
Brad Bishop | 08902b0 | 2019-08-20 09:16:51 -0400 | [diff] [blame] | 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 |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 29 | LLVMVERSION ?= "13.0.1" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 30 | RUSTVERSION ?= "1.58%" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | |
| 32 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" |
| 33 | PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 34 | PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 35 | PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}" |
| 36 | PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}" |
| 37 | PREFERRED_VERSION_gcc-sanitizers ?= "${GCCVERSION}" |
| 38 | PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}" |
| 39 | PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${SDKGCCVERSION}" |
| 40 | PREFERRED_VERSION_libgcc ?= "${GCCVERSION}" |
| 41 | PREFERRED_VERSION_libgcc-initial ?= "${GCCVERSION}" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 42 | PREFERRED_VERSION_libgfortran ?= "${GCCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 43 | PREFERRED_VERSION_nativesdk-gcc ?= "${SDKGCCVERSION}" |
| 44 | PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}" |
| 45 | PREFERRED_VERSION_nativesdk-libgcc-initial ?= "${SDKGCCVERSION}" |
| 46 | PREFERRED_VERSION_binutils ?= "${BINUVERSION}" |
| 47 | PREFERRED_VERSION_binutils-native ?= "${BINUVERSION}" |
| 48 | PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} ?= "${BINUVERSION}" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 49 | PREFERRED_VERSION_binutils-crosssdk-${SDK_SYS} ?= "${BINUVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 50 | PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}" |
| 51 | PREFERRED_VERSION_gdb ?= "${GDBVERSION}" |
| 52 | PREFERRED_VERSION_gdb-cross-${TARGET_ARCH} ?= "${GDBVERSION}" |
| 53 | PREFERRED_VERSION_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GDBVERSION}" |
| 54 | |
| 55 | PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" |
| 56 | PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}" |
| 57 | PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}" |
| 58 | PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}" |
| 59 | PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}" |
| 60 | PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}" |
| 61 | PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 62 | PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 63 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 64 | PREFERRED_VERSION_qemu ?= "${QEMUVERSION}" |
| 65 | PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}" |
| 66 | PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 67 | |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 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. |
| 71 | PREFERRED_PROVIDER_go-native ?= "go-binary-native" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 72 | PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}" |
Brad Bishop | 393846f | 2019-05-20 12:24:11 -0400 | [diff] [blame] | 73 | PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 74 | PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}" |
| 75 | PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}" |
| 76 | PREFERRED_VERSION_go ?= "${GOVERSION}" |
| 77 | PREFERRED_VERSION_go-native ?= "${GOVERSION}" |
| 78 | PREFERRED_VERSION_go-runtime ?= "${GOVERSION}" |
| 79 | PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}" |
| 80 | PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}" |
Brad Bishop | 08902b0 | 2019-08-20 09:16:51 -0400 | [diff] [blame] | 81 | |
| 82 | PREFERRED_VERSION_llvm = "${LLVMVERSION}" |
| 83 | PREFERRED_VERSION_llvm-native = "${LLVMVERSION}" |
| 84 | PREFERRED_VERSION_nativesdk-llvm = "${LLVMVERSION}" |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 85 | |
| 86 | # Rust toolchain preferred versions: |
| 87 | |
| 88 | PREFERRED_VERSION_cargo ?= "${RUSTVERSION}" |
| 89 | PREFERRED_VERSION_cargo-native ?= "${RUSTVERSION}" |
| 90 | PREFERRED_VERSION_libstd-rs ?= "${RUSTVERSION}" |
| 91 | PREFERRED_VERSION_rust ?= "${RUSTVERSION}" |
| 92 | PREFERRED_VERSION_rust-cross-${TARGET_ARCH} ?= "${RUSTVERSION}" |
| 93 | PREFERRED_VERSION_rust-llvm ?= "${RUSTVERSION}" |
| 94 | PREFERRED_VERSION_rust-llvm-native ?= "${RUSTVERSION}" |
| 95 | PREFERRED_VERSION_rust-native ?= "${RUSTVERSION}" |
| 96 | |