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 | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame] | 19 | GCCVERSION ?= "10.%" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | SDKGCCVERSION ?= "${GCCVERSION}" |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 21 | BINUVERSION ?= "2.35%" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 22 | GDBVERSION ?= "9.%" |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 23 | GLIBCVERSION ?= "2.32" |
| 24 | LINUXLIBCVERSION ?= "5.8%" |
| 25 | QEMUVERSION ?= "5.1%" |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 26 | GOVERSION ?= "1.15%" |
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 | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 29 | LLVMVERSION ?= "10.0.1" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | |
| 31 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" |
| 32 | PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 33 | PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 34 | PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}" |
| 35 | PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}" |
| 36 | PREFERRED_VERSION_gcc-sanitizers ?= "${GCCVERSION}" |
| 37 | PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}" |
| 38 | PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${SDKGCCVERSION}" |
| 39 | PREFERRED_VERSION_libgcc ?= "${GCCVERSION}" |
| 40 | PREFERRED_VERSION_libgcc-initial ?= "${GCCVERSION}" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 41 | PREFERRED_VERSION_libgfortran ?= "${GCCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 42 | PREFERRED_VERSION_nativesdk-gcc ?= "${SDKGCCVERSION}" |
| 43 | PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}" |
| 44 | PREFERRED_VERSION_nativesdk-libgcc-initial ?= "${SDKGCCVERSION}" |
| 45 | PREFERRED_VERSION_binutils ?= "${BINUVERSION}" |
| 46 | PREFERRED_VERSION_binutils-native ?= "${BINUVERSION}" |
| 47 | PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} ?= "${BINUVERSION}" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 48 | PREFERRED_VERSION_binutils-crosssdk-${SDK_SYS} ?= "${BINUVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 49 | PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}" |
| 50 | PREFERRED_VERSION_gdb ?= "${GDBVERSION}" |
| 51 | PREFERRED_VERSION_gdb-cross-${TARGET_ARCH} ?= "${GDBVERSION}" |
| 52 | PREFERRED_VERSION_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GDBVERSION}" |
| 53 | |
| 54 | PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" |
| 55 | PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}" |
| 56 | PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}" |
| 57 | PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}" |
| 58 | PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}" |
| 59 | PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}" |
| 60 | PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 61 | PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 62 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 63 | PREFERRED_VERSION_qemu ?= "${QEMUVERSION}" |
| 64 | PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}" |
| 65 | PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 66 | |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 67 | # Bootstrap Go using a binary release from golang.org. If you want to bootstrap |
| 68 | # from source using the C-implemented Go 1.4 (only supports x86-64 hosts) then use |
| 69 | # go-native. |
| 70 | PREFERRED_PROVIDER_go-native ?= "go-binary-native" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 71 | PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}" |
Brad Bishop | 393846f | 2019-05-20 12:24:11 -0400 | [diff] [blame] | 72 | PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 73 | PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}" |
| 74 | PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}" |
| 75 | PREFERRED_VERSION_go ?= "${GOVERSION}" |
| 76 | PREFERRED_VERSION_go-native ?= "${GOVERSION}" |
| 77 | PREFERRED_VERSION_go-runtime ?= "${GOVERSION}" |
| 78 | PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}" |
| 79 | PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}" |
Brad Bishop | 08902b0 | 2019-08-20 09:16:51 -0400 | [diff] [blame] | 80 | |
| 81 | PREFERRED_VERSION_llvm = "${LLVMVERSION}" |
| 82 | PREFERRED_VERSION_llvm-native = "${LLVMVERSION}" |
| 83 | PREFERRED_VERSION_nativesdk-llvm = "${LLVMVERSION}" |