summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/tcmode-default.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/distro/include/tcmode-default.inc')
-rw-r--r--meta/conf/distro/include/tcmode-default.inc60
1 files changed, 60 insertions, 0 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
new file mode 100644
index 0000000..300deea
--- /dev/null
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -0,0 +1,60 @@
1#
2# Default toolchain configuration
3#
4
5PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross"
6PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial"
7PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "gcc-cross-intermediate"
8PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross"
9PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross"
10PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime"
11PREFERRED_PROVIDER_gdb = "gdb"
12
13# Default libc config
14PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}"
15PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc ?= "nativesdk-${TCLIBC}"
16PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial"
17PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial = "nativesdk-${TCLIBC}-initial"
18PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
19
20GCCVERSION ?= "4.8%"
21SDKGCCVERSION ?= "${GCCVERSION}"
22BINUVERSION ?= "2.24"
23EGLIBCVERSION ?= "2.19"
24UCLIBCVERSION ?= "0.9.33+git%"
25LINUXLIBCVERSION ?= "3.14"
26
27PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
28PREFERRED_VERSION_gcc-cross ?= "${GCCVERSION}"
29PREFERRED_VERSION_gcc-cross-initial ?= "${GCCVERSION}"
30PREFERRED_VERSION_gcc-cross-intermediate ?= "${GCCVERSION}"
31PREFERRED_VERSION_gcc-crosssdk ?= "${SDKGCCVERSION}"
32PREFERRED_VERSION_gcc-crosssdk-initial ?= "${SDKGCCVERSION}"
33PREFERRED_VERSION_gcc-crosssdk-intermediate ?= "${SDKGCCVERSION}"
34PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}"
35PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}"
36PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}"
37PREFERRED_VERSION_libgcc ?= "${GCCVERSION}"
38PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}"
39PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
40PREFERRED_VERSION_binutils-cross ?= "${BINUVERSION}"
41PREFERRED_VERSION_binutils-crosssdk ?= "${BINUVERSION}"
42PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}"
43PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
44PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}"
45PREFERRED_VERSION_eglibc ?= "${EGLIBCVERSION}"
46PREFERRED_VERSION_eglibc-locale ?= "${EGLIBCVERSION}"
47PREFERRED_VERSION_nativesdk-eglibc ?= "${EGLIBCVERSION}"
48PREFERRED_VERSION_eglibc-initial ?= "${EGLIBCVERSION}"
49PREFERRED_VERSION_nativesdk-eglibc-initial ?= "${EGLIBCVERSION}"
50PREFERRED_VERSION_cross-localedef-native ?= "${EGLIBCVERSION}"
51PREFERRED_VERSION_uclibc ?= "${UCLIBCVERSION}"
52PREFERRED_VERSION_uclibc-initial ?= "${UCLIBCVERSION}"
53PREFERRED_VERSION_elfutils ?= "0.148"
54# don't use version earlier than 1.4 for gzip-native, as it's necessary for
55# some packages using an archive format incompatible with earlier gzip
56PREFERRED_VERSION_gzip-native ?= "1.6"
57
58# Setup suitable toolchain flags
59require conf/distro/include/as-needed.inc
60