blob: 054985c6a476a2f7d72c92ebb9be5621c40b96c8 [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
Patrick Williamsc0f7c042017-02-23 20:41:17 -060011PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils-crosssdk ?= "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
Andrew Geisslerc182c622020-05-15 14:13:32 -050019GCCVERSION ?= "10.%"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020SDKGCCVERSION ?= "${GCCVERSION}"
Andrew Geissler82c905d2020-04-13 13:39:40 -050021BINUVERSION ?= "2.34%"
22GDBVERSION ?= "9.%"
23GLIBCVERSION ?= "2.31%"
24LINUXLIBCVERSION ?= "5.4%"
Andrew Geisslerd25ed322020-06-27 00:28:28 -050025QEMUVERSION ?= "5.0%"
Andrew Geissler82c905d2020-04-13 13:39:40 -050026GOVERSION ?= "1.14%"
Brad Bishop08902b02019-08-20 09:16:51 -040027# 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 Geissler82c905d2020-04-13 13:39:40 -050029LLVMVERSION ?= "9.0.1"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030
31PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
32PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
33PREFERRED_VERSION_gcc-cross-initial-${TARGET_ARCH} ?= "${GCCVERSION}"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060034PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}"
35PREFERRED_VERSION_gcc-crosssdk-initial-${SDK_SYS} ?= "${SDKGCCVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050036PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}"
37PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}"
38PREFERRED_VERSION_gcc-sanitizers ?= "${GCCVERSION}"
39PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}"
40PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${SDKGCCVERSION}"
41PREFERRED_VERSION_libgcc ?= "${GCCVERSION}"
42PREFERRED_VERSION_libgcc-initial ?= "${GCCVERSION}"
Brad Bishopc342db32019-05-15 21:57:59 -040043PREFERRED_VERSION_libgfortran ?= "${GCCVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050044PREFERRED_VERSION_nativesdk-gcc ?= "${SDKGCCVERSION}"
45PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}"
46PREFERRED_VERSION_nativesdk-libgcc-initial ?= "${SDKGCCVERSION}"
47PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
48PREFERRED_VERSION_binutils-native ?= "${BINUVERSION}"
49PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} ?= "${BINUVERSION}"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050050PREFERRED_VERSION_binutils-crosssdk-${SDK_SYS} ?= "${BINUVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050051PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}"
52PREFERRED_VERSION_gdb ?= "${GDBVERSION}"
53PREFERRED_VERSION_gdb-cross-${TARGET_ARCH} ?= "${GDBVERSION}"
54PREFERRED_VERSION_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GDBVERSION}"
55
56PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
57PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}"
58PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}"
59PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}"
60PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}"
61PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}"
62PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050063PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050064
Brad Bishop316dfdd2018-06-25 12:45:53 -040065PREFERRED_VERSION_qemu ?= "${QEMUVERSION}"
66PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}"
67PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050068
Andrew Geisslerd25ed322020-06-27 00:28:28 -050069# Bootstrap Go using a binary release from golang.org. If you want to bootstrap
70# from source using the C-implemented Go 1.4 (only supports x86-64 hosts) then use
71# go-native.
72PREFERRED_PROVIDER_go-native ?= "go-binary-native"
Brad Bishop316dfdd2018-06-25 12:45:53 -040073PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}"
Brad Bishop393846f2019-05-20 12:24:11 -040074PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}"
Brad Bishop316dfdd2018-06-25 12:45:53 -040075PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}"
76PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}"
77PREFERRED_VERSION_go ?= "${GOVERSION}"
78PREFERRED_VERSION_go-native ?= "${GOVERSION}"
79PREFERRED_VERSION_go-runtime ?= "${GOVERSION}"
80PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}"
81PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}"
Brad Bishop08902b02019-08-20 09:16:51 -040082
83PREFERRED_VERSION_llvm = "${LLVMVERSION}"
84PREFERRED_VERSION_llvm-native = "${LLVMVERSION}"
85PREFERRED_VERSION_nativesdk-llvm = "${LLVMVERSION}"