summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-01 15:39:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-01 22:49:00 +0100
commitfba380a2a37f04de04c0626c0a09cfe757c24341 (patch)
tree16a369a5db73cff744a7a07c8441c02f3dc08425
parentdea40c2850a32b5b67e90336f9565889f92dabe8 (diff)
downloadopenembedded-core-fba380a2a37f04de04c0626c0a09cfe757c24341.tar.gz
openembedded-core-fba380a2a37f04de04c0626c0a09cfe757c24341.tar.bz2
openembedded-core-fba380a2a37f04de04c0626c0a09cfe757c24341.zip
tcmode-default.inc: Add default SDK PREFERRED_PROVIDERS
We should be explicit about the providers for the SDK toolchain so add entries to do this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/distro/include/tcmode-default.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 1afc94d9b4..03742d8299 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -9,6 +9,12 @@ 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}"