blob: 643394f3eb472fbf8575ff13dd29c48b5ea5d3bd [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#
2# Default toolchain configuration
3#
4
5PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross-${TARGET_ARCH}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006PREFERRED_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
Andrew Geissler028142b2023-05-05 11:29:21 -050011PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils ?= "binutils-crosssdk-${SDK_SYS}"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060012PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc = "gcc-crosssdk-${SDK_SYS}"
13PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_SYS}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = "nativesdk-gcc-runtime"
15
16# Default libc config
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
18
Patrick Williamse760df82023-05-26 11:10:49 -050019GCCVERSION ?= "13.%"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020SDKGCCVERSION ?= "${GCCVERSION}"
Patrick Williams73bd93f2024-02-20 08:07:48 -060021BINUVERSION ?= "2.42%"
Patrick Williams169d7bc2024-01-05 11:33:25 -060022GDBVERSION ?= "14.%"
Patrick Williams73bd93f2024-02-20 08:07:48 -060023GLIBCVERSION ?= "2.39%"
Patrick Williams169d7bc2024-01-05 11:33:25 -060024LINUXLIBCVERSION ?= "6.6%"
Patrick Williamsf52e3dd2024-01-26 13:04:43 -060025QEMUVERSION ?= "8.2%"
Patrick Williamsb58112e2024-03-07 11:16:36 -060026GOVERSION ?= "1.22%"
Patrick Williams39653562024-03-01 08:54:02 -060027RUSTVERSION ?= "1.75%"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028
29PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
30PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060031PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050032PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}"
33PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}"
34PREFERRED_VERSION_gcc-sanitizers ?= "${GCCVERSION}"
35PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}"
36PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${SDKGCCVERSION}"
37PREFERRED_VERSION_libgcc ?= "${GCCVERSION}"
38PREFERRED_VERSION_libgcc-initial ?= "${GCCVERSION}"
Brad Bishopc342db32019-05-15 21:57:59 -040039PREFERRED_VERSION_libgfortran ?= "${GCCVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050040PREFERRED_VERSION_nativesdk-gcc ?= "${SDKGCCVERSION}"
41PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}"
42PREFERRED_VERSION_nativesdk-libgcc-initial ?= "${SDKGCCVERSION}"
43PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
44PREFERRED_VERSION_binutils-native ?= "${BINUVERSION}"
45PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} ?= "${BINUVERSION}"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050046PREFERRED_VERSION_binutils-crosssdk-${SDK_SYS} ?= "${BINUVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050047PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}"
48PREFERRED_VERSION_gdb ?= "${GDBVERSION}"
49PREFERRED_VERSION_gdb-cross-${TARGET_ARCH} ?= "${GDBVERSION}"
50PREFERRED_VERSION_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GDBVERSION}"
51
52PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
53PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}"
54PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}"
55PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}"
56PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}"
57PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}"
58PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050059PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050060
Brad Bishop316dfdd2018-06-25 12:45:53 -040061PREFERRED_VERSION_qemu ?= "${QEMUVERSION}"
62PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}"
63PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050064
Andrew Geisslerd25ed322020-06-27 00:28:28 -050065# Bootstrap Go using a binary release from golang.org. If you want to bootstrap
66# from source using the C-implemented Go 1.4 (only supports x86-64 hosts) then use
67# go-native.
68PREFERRED_PROVIDER_go-native ?= "go-binary-native"
Brad Bishop316dfdd2018-06-25 12:45:53 -040069PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}"
Brad Bishop393846f2019-05-20 12:24:11 -040070PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}"
Brad Bishop316dfdd2018-06-25 12:45:53 -040071PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}"
72PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}"
73PREFERRED_VERSION_go ?= "${GOVERSION}"
74PREFERRED_VERSION_go-native ?= "${GOVERSION}"
75PREFERRED_VERSION_go-runtime ?= "${GOVERSION}"
76PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}"
77PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}"
Brad Bishop08902b02019-08-20 09:16:51 -040078
Andrew Geissler5199d832021-09-24 16:47:35 -050079# Rust toolchain preferred versions:
80
81PREFERRED_VERSION_cargo ?= "${RUSTVERSION}"
82PREFERRED_VERSION_cargo-native ?= "${RUSTVERSION}"
83PREFERRED_VERSION_libstd-rs ?= "${RUSTVERSION}"
84PREFERRED_VERSION_rust ?= "${RUSTVERSION}"
85PREFERRED_VERSION_rust-cross-${TARGET_ARCH} ?= "${RUSTVERSION}"
86PREFERRED_VERSION_rust-llvm ?= "${RUSTVERSION}"
87PREFERRED_VERSION_rust-llvm-native ?= "${RUSTVERSION}"
88PREFERRED_VERSION_rust-native ?= "${RUSTVERSION}"
89