[oe-commits] Dexuan Cui : tcmode-default: fix PREFERRED_VERSION_gcc-cross-canadian

git version control git at git.openembedded.org
Tue Jun 14 12:17:35 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 40ae82136b0bd8fc0dc74225700afbb9017a8c38
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=40ae82136b0bd8fc0dc74225700afbb9017a8c38

Author: Dexuan Cui <dexuan.cui at intel.com>
Date:   Mon Jun 13 14:59:57 2011 +0800

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 at intel.com>

---

 meta/conf/distro/include/tcmode-default.inc |    2 +-
 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 6eb34ef..90282ee 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}"





More information about the Openembedded-commits mailing list