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 | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 21 | BINUVERSION ?= "2.34%" |
| 22 | GDBVERSION ?= "9.%" |
| 23 | GLIBCVERSION ?= "2.31%" |
| 24 | LINUXLIBCVERSION ?= "5.4%" |
| 25 | QEMUVERSION ?= "4.2%" |
| 26 | GOVERSION ?= "1.14%" |
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 | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 29 | LLVMVERSION ?= "9.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}" |
| 33 | PREFERRED_VERSION_gcc-cross-initial-${TARGET_ARCH} ?= "${GCCVERSION}" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 34 | PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}" |
| 35 | PREFERRED_VERSION_gcc-crosssdk-initial-${SDK_SYS} ?= "${SDKGCCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 36 | PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}" |
| 37 | PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}" |
| 38 | PREFERRED_VERSION_gcc-sanitizers ?= "${GCCVERSION}" |
| 39 | PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}" |
| 40 | PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${SDKGCCVERSION}" |
| 41 | PREFERRED_VERSION_libgcc ?= "${GCCVERSION}" |
| 42 | PREFERRED_VERSION_libgcc-initial ?= "${GCCVERSION}" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 43 | PREFERRED_VERSION_libgfortran ?= "${GCCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 44 | PREFERRED_VERSION_nativesdk-gcc ?= "${SDKGCCVERSION}" |
| 45 | PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}" |
| 46 | PREFERRED_VERSION_nativesdk-libgcc-initial ?= "${SDKGCCVERSION}" |
| 47 | PREFERRED_VERSION_binutils ?= "${BINUVERSION}" |
| 48 | PREFERRED_VERSION_binutils-native ?= "${BINUVERSION}" |
| 49 | PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} ?= "${BINUVERSION}" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 50 | PREFERRED_VERSION_binutils-crosssdk-${SDK_SYS} ?= "${BINUVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 51 | PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}" |
| 52 | PREFERRED_VERSION_gdb ?= "${GDBVERSION}" |
| 53 | PREFERRED_VERSION_gdb-cross-${TARGET_ARCH} ?= "${GDBVERSION}" |
| 54 | PREFERRED_VERSION_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GDBVERSION}" |
| 55 | |
| 56 | PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" |
| 57 | PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}" |
| 58 | PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}" |
| 59 | PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}" |
| 60 | PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}" |
| 61 | PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}" |
| 62 | PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 63 | PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 64 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 65 | PREFERRED_VERSION_qemu ?= "${QEMUVERSION}" |
| 66 | PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}" |
| 67 | PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 68 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 69 | PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}" |
Brad Bishop | 393846f | 2019-05-20 12:24:11 -0400 | [diff] [blame] | 70 | PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 71 | PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}" |
| 72 | PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}" |
| 73 | PREFERRED_VERSION_go ?= "${GOVERSION}" |
| 74 | PREFERRED_VERSION_go-native ?= "${GOVERSION}" |
| 75 | PREFERRED_VERSION_go-runtime ?= "${GOVERSION}" |
| 76 | PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}" |
| 77 | PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}" |
Brad Bishop | 08902b0 | 2019-08-20 09:16:51 -0400 | [diff] [blame] | 78 | |
| 79 | PREFERRED_VERSION_llvm = "${LLVMVERSION}" |
| 80 | PREFERRED_VERSION_llvm-native = "${LLVMVERSION}" |
| 81 | PREFERRED_VERSION_nativesdk-llvm = "${LLVMVERSION}" |