blob: c412420eaf896ac3243b32b2bdafa08b7f1bcd7e [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}"
6PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial-${TARGET_ARCH}"
7PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross-${TARGET_ARCH}"
8PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross-${TARGET_ARCH}"
9PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime"
10PREFERRED_PROVIDER_gdb = "gdb"
11
12PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils-crosssdk ?= "binutils-crosssdk-${SDK_ARCH}"
13PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc-initial = "gcc-crosssdk-initial-${SDK_ARCH}"
14PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc = "gcc-crosssdk-${SDK_ARCH}"
15PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_ARCH}"
16PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = "nativesdk-gcc-runtime"
17
18# Default libc config
19PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050020PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc ?= "nativesdk-glibc"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050022PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
24
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050025GCCVERSION ?= "5.3%"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026SDKGCCVERSION ?= "${GCCVERSION}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050027BINUVERSION ?= "2.26%"
28GDBVERSION ?= "7.10%"
29GLIBCVERSION ?= "2.23"
30UCLIBCVERSION ?= "1.0%"
31LINUXLIBCVERSION ?= "4.4"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050032
33PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
34PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
35PREFERRED_VERSION_gcc-cross-initial-${TARGET_ARCH} ?= "${GCCVERSION}"
36PREFERRED_VERSION_gcc-crosssdk-${SDK_ARCH} ?= "${SDKGCCVERSION}"
37PREFERRED_VERSION_gcc-crosssdk-initial-${SDK_ARCH} ?= "${SDKGCCVERSION}"
38PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}"
39PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}"
40PREFERRED_VERSION_gcc-sanitizers ?= "${GCCVERSION}"
41PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}"
42PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${SDKGCCVERSION}"
43PREFERRED_VERSION_libgcc ?= "${GCCVERSION}"
44PREFERRED_VERSION_libgcc-initial ?= "${GCCVERSION}"
45PREFERRED_VERSION_nativesdk-gcc ?= "${SDKGCCVERSION}"
46PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}"
47PREFERRED_VERSION_nativesdk-libgcc-initial ?= "${SDKGCCVERSION}"
48PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
49PREFERRED_VERSION_binutils-native ?= "${BINUVERSION}"
50PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} ?= "${BINUVERSION}"
51PREFERRED_VERSION_binutils-crosssdk-${SDK_ARCH} ?= "${BINUVERSION}"
52PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}"
53PREFERRED_VERSION_gdb ?= "${GDBVERSION}"
54PREFERRED_VERSION_gdb-cross-${TARGET_ARCH} ?= "${GDBVERSION}"
55PREFERRED_VERSION_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GDBVERSION}"
56
57PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
58PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}"
59PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}"
60PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}"
61PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}"
62PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}"
63PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}"
64PREFERRED_VERSION_glibc-initial ?= "${GLIBCVERSION}"
65PREFERRED_VERSION_nativesdk-glibc-initial ?= "${GLIBCVERSION}"
66PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}"
67PREFERRED_VERSION_uclibc ?= "${UCLIBCVERSION}"
68PREFERRED_VERSION_uclibc-initial ?= "${UCLIBCVERSION}"
69# don't use version earlier than 1.4 for gzip-native, as it's necessary for
70# some packages using an archive format incompatible with earlier gzip
71PREFERRED_VERSION_gzip-native ?= "1.6"
72
73# Setup suitable toolchain flags
74require conf/distro/include/as-needed.inc
75