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 | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 19 | GCCVERSION ?= "12.%" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | SDKGCCVERSION ?= "${GCCVERSION}" |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 21 | BINUVERSION ?= "2.40%" |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 22 | GDBVERSION ?= "13.%" |
Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame] | 23 | GLIBCVERSION ?= "2.37" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 24 | LINUXLIBCVERSION ?= "6.1%" |
| 25 | QEMUVERSION ?= "7.2%" |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 26 | GOVERSION ?= "1.20%" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 27 | LLVMVERSION ?= "15.%" |
Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame] | 28 | RUSTVERSION ?= "1.67%" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 29 | |
| 30 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" |
| 31 | PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 32 | PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 33 | PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}" |
| 34 | PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}" |
| 35 | PREFERRED_VERSION_gcc-sanitizers ?= "${GCCVERSION}" |
| 36 | PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}" |
| 37 | PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${SDKGCCVERSION}" |
| 38 | PREFERRED_VERSION_libgcc ?= "${GCCVERSION}" |
| 39 | PREFERRED_VERSION_libgcc-initial ?= "${GCCVERSION}" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 40 | PREFERRED_VERSION_libgfortran ?= "${GCCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 41 | PREFERRED_VERSION_nativesdk-gcc ?= "${SDKGCCVERSION}" |
| 42 | PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}" |
| 43 | PREFERRED_VERSION_nativesdk-libgcc-initial ?= "${SDKGCCVERSION}" |
| 44 | PREFERRED_VERSION_binutils ?= "${BINUVERSION}" |
| 45 | PREFERRED_VERSION_binutils-native ?= "${BINUVERSION}" |
| 46 | PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} ?= "${BINUVERSION}" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 47 | PREFERRED_VERSION_binutils-crosssdk-${SDK_SYS} ?= "${BINUVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 48 | PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}" |
| 49 | PREFERRED_VERSION_gdb ?= "${GDBVERSION}" |
| 50 | PREFERRED_VERSION_gdb-cross-${TARGET_ARCH} ?= "${GDBVERSION}" |
| 51 | PREFERRED_VERSION_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GDBVERSION}" |
| 52 | |
| 53 | PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" |
| 54 | PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}" |
| 55 | PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}" |
| 56 | PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}" |
| 57 | PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}" |
| 58 | PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}" |
| 59 | PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 60 | PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 61 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 62 | PREFERRED_VERSION_qemu ?= "${QEMUVERSION}" |
| 63 | PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}" |
| 64 | PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 65 | |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 66 | # Bootstrap Go using a binary release from golang.org. If you want to bootstrap |
| 67 | # from source using the C-implemented Go 1.4 (only supports x86-64 hosts) then use |
| 68 | # go-native. |
| 69 | PREFERRED_PROVIDER_go-native ?= "go-binary-native" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 70 | PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}" |
Brad Bishop | 393846f | 2019-05-20 12:24:11 -0400 | [diff] [blame] | 71 | PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 72 | PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}" |
| 73 | PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}" |
| 74 | PREFERRED_VERSION_go ?= "${GOVERSION}" |
| 75 | PREFERRED_VERSION_go-native ?= "${GOVERSION}" |
| 76 | PREFERRED_VERSION_go-runtime ?= "${GOVERSION}" |
| 77 | PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}" |
| 78 | PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}" |
Brad Bishop | 08902b0 | 2019-08-20 09:16:51 -0400 | [diff] [blame] | 79 | |
| 80 | PREFERRED_VERSION_llvm = "${LLVMVERSION}" |
| 81 | PREFERRED_VERSION_llvm-native = "${LLVMVERSION}" |
| 82 | PREFERRED_VERSION_nativesdk-llvm = "${LLVMVERSION}" |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 83 | |
| 84 | # Rust toolchain preferred versions: |
| 85 | |
| 86 | PREFERRED_VERSION_cargo ?= "${RUSTVERSION}" |
| 87 | PREFERRED_VERSION_cargo-native ?= "${RUSTVERSION}" |
| 88 | PREFERRED_VERSION_libstd-rs ?= "${RUSTVERSION}" |
| 89 | PREFERRED_VERSION_rust ?= "${RUSTVERSION}" |
| 90 | PREFERRED_VERSION_rust-cross-${TARGET_ARCH} ?= "${RUSTVERSION}" |
| 91 | PREFERRED_VERSION_rust-llvm ?= "${RUSTVERSION}" |
| 92 | PREFERRED_VERSION_rust-llvm-native ?= "${RUSTVERSION}" |
| 93 | PREFERRED_VERSION_rust-native ?= "${RUSTVERSION}" |
| 94 | |