From 40ae82136b0bd8fc0dc74225700afbb9017a8c38 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Mon, 13 Jun 2011 14:59:57 +0800 Subject: 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 --- meta/conf/distro/include/tcmode-default.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/conf/distro') 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}" -- cgit v1.2.3