summaryrefslogtreecommitdiff
path: root/meta/conf/distro
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2011-06-13 14:59:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-14 13:15:50 +0100
commit40ae82136b0bd8fc0dc74225700afbb9017a8c38 (patch)
tree58e9a4be4ddefe93303eda52ebbc5778c29f1588 /meta/conf/distro
parentc3d317014f417ca895458b797afdf6c40e5b5a57 (diff)
downloadopenembedded-core-40ae82136b0bd8fc0dc74225700afbb9017a8c38.tar.gz
openembedded-core-40ae82136b0bd8fc0dc74225700afbb9017a8c38.tar.bz2
openembedded-core-40ae82136b0bd8fc0dc74225700afbb9017a8c38.tar.xz
openembedded-core-40ae82136b0bd8fc0dc74225700afbb9017a8c38.zip
tcmode-default: fix PREFERRED_VERSION_gcc-cross-canadian
[YOCTO #1163] For some test I need to back to use gcc-4.5, so I changed GCCVERSION and SDKGCCVERSION to "4.5.1", but I found gcc-cross-canadian's 4.6.0, rather than 4.5.1, would be built! Finally I made this patch to fix the issue. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta/conf/distro')
-rw-r--r--meta/conf/distro/include/tcmode-default.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 6eb34ef81..90282ee69 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -37,7 +37,7 @@ PREFERRED_VERSION_gcc-cross-intermediate ?= "${GCCVERSION}"
PREFERRED_VERSION_gcc-crosssdk ?= "${SDKGCCVERSION}"
PREFERRED_VERSION_gcc-crosssdk-initial ?= "${SDKGCCVERSION}"
PREFERRED_VERSION_gcc-crosssdk-intermediate ?= "${SDKGCCVERSION}"
-PREFERRED_VERSION_gcc-cross-canadian ?= "${GCCVERSION}"
+PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}"
PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}"
PREFERRED_VERSION_gcc-runtime-nativesdk ?= "${SDKGCCVERSION}"
PREFERRED_VERSION_libgcc ?= "${GCCVERSION}"