diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/meta/conf/distro/include/tcmode-default.inc | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.xz |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/meta/conf/distro/include/tcmode-default.inc')
-rw-r--r-- | yocto-poky/meta/conf/distro/include/tcmode-default.inc | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/yocto-poky/meta/conf/distro/include/tcmode-default.inc b/yocto-poky/meta/conf/distro/include/tcmode-default.inc new file mode 100644 index 000000000..f20552494 --- /dev/null +++ b/yocto-poky/meta/conf/distro/include/tcmode-default.inc @@ -0,0 +1,75 @@ +# +# Default toolchain configuration +# + +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross-${TARGET_ARCH}" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial-${TARGET_ARCH}" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross-${TARGET_ARCH}" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross-${TARGET_ARCH}" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime" +PREFERRED_PROVIDER_gdb = "gdb" + +PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils-crosssdk ?= "binutils-crosssdk-${SDK_ARCH}" +PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc-initial = "gcc-crosssdk-initial-${SDK_ARCH}" +PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc = "gcc-crosssdk-${SDK_ARCH}" +PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_ARCH}" +PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = "nativesdk-gcc-runtime" + +# Default libc config +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}" +PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc ?= "nativesdk-${TCLIBC}" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" +PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial = "nativesdk-${TCLIBC}-initial" +PREFERRED_PROVIDER_virtual/gettext ??= "gettext" + +GCCVERSION ?= "5.%" +SDKGCCVERSION ?= "${GCCVERSION}" +BINUVERSION ?= "2.25%" +GDBVERSION ?= "7.9%" +GLIBCVERSION ?= "2.22" +UCLIBCVERSION ?= "0.9.33+git%" +LINUXLIBCVERSION ?= "4.1" + +PREFERRED_VERSION_gcc ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-cross-initial-${TARGET_ARCH} ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-crosssdk-${SDK_ARCH} ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_gcc-crosssdk-initial-${SDK_ARCH} ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-sanitizers ?= "${GCCVERSION}" +PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_libgcc ?= "${GCCVERSION}" +PREFERRED_VERSION_libgcc-initial ?= "${GCCVERSION}" +PREFERRED_VERSION_nativesdk-gcc ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_nativesdk-libgcc-initial ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_binutils ?= "${BINUVERSION}" +PREFERRED_VERSION_binutils-native ?= "${BINUVERSION}" +PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} ?= "${BINUVERSION}" +PREFERRED_VERSION_binutils-crosssdk-${SDK_ARCH} ?= "${BINUVERSION}" +PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}" +PREFERRED_VERSION_gdb ?= "${GDBVERSION}" +PREFERRED_VERSION_gdb-cross-${TARGET_ARCH} ?= "${GDBVERSION}" +PREFERRED_VERSION_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GDBVERSION}" + +PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" +PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}" +PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}" +PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}" +PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}" +PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}" +PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}" +PREFERRED_VERSION_glibc-initial ?= "${GLIBCVERSION}" +PREFERRED_VERSION_nativesdk-glibc-initial ?= "${GLIBCVERSION}" +PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}" +PREFERRED_VERSION_uclibc ?= "${UCLIBCVERSION}" +PREFERRED_VERSION_uclibc-initial ?= "${UCLIBCVERSION}" +# don't use version earlier than 1.4 for gzip-native, as it's necessary for +# some packages using an archive format incompatible with earlier gzip +PREFERRED_VERSION_gzip-native ?= "1.6" + +# Setup suitable toolchain flags +require conf/distro/include/as-needed.inc + |