blob: f205524940251dc552ed33dee452b6a13ea1d190 [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}"
20PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc ?= "nativesdk-${TCLIBC}"
21PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial"
22PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial = "nativesdk-${TCLIBC}-initial"
23PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
24
25GCCVERSION ?= "5.%"
26SDKGCCVERSION ?= "${GCCVERSION}"
27BINUVERSION ?= "2.25%"
28GDBVERSION ?= "7.9%"
29GLIBCVERSION ?= "2.22"
30UCLIBCVERSION ?= "0.9.33+git%"
31LINUXLIBCVERSION ?= "4.1"
32
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