diff options
author | Dave Cobbley <david.j.cobbley@linux.intel.com> | 2018-08-14 20:05:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-23 04:26:31 +0300 |
commit | eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch) | |
tree | de291a73dc37168da6370e2cf16c347d1eba9df8 /poky/meta/conf/distro/include/tcmode-default.inc | |
parent | 9c3cf826d853102535ead04cebc2d6023eff3032 (diff) | |
download | openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.xz |
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'poky/meta/conf/distro/include/tcmode-default.inc')
-rw-r--r-- | poky/meta/conf/distro/include/tcmode-default.inc | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/poky/meta/conf/distro/include/tcmode-default.inc b/poky/meta/conf/distro/include/tcmode-default.inc new file mode 100644 index 0000000000..00399ae820 --- /dev/null +++ b/poky/meta/conf/distro/include/tcmode-default.inc @@ -0,0 +1,84 @@ +# +# 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_SYS}" +PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc-initial = "gcc-crosssdk-initial-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc = "gcc-crosssdk-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_SYS}" +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-glibc" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" +PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial" +PREFERRED_PROVIDER_virtual/gettext ??= "gettext" + +GCCVERSION ?= "7.%" +SDKGCCVERSION ?= "${GCCVERSION}" +BINUVERSION ?= "2.30%" +GDBVERSION ?= "8.0%" +GLIBCVERSION ?= "2.27%" +LINUXLIBCVERSION ?= "4.15%" +QEMUVERSION ?= "2.11%" + +PREFERRED_VERSION_gcc ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-cross-initial-${TARGET_ARCH} ?= "${GCCVERSION}" +PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}" +PREFERRED_VERSION_gcc-crosssdk-initial-${SDK_SYS} ?= "${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_SYS} ?= "${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_qemu ?= "${QEMUVERSION}" +PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}" +PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}" +# Setup suitable toolchain flags +require conf/distro/include/as-needed.inc + +GOVERSION ?= "1.9%" +PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}" +PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}" +PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}" +PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}" +PREFERRED_VERSION_go ?= "${GOVERSION}" +PREFERRED_VERSION_go-native ?= "${GOVERSION}" +PREFERRED_VERSION_go-runtime ?= "${GOVERSION}" +PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}" +PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}" |