summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2010-12-06 17:45:45 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-10 15:36:48 +0000
commit2021e2a74f4a8cb2066279e3006087fd3b198bc9 (patch)
tree4ab220a34e77407e5eb6001b9a0b07bfdbde3d40 /meta/recipes-devtools/gcc
parent322d6ab29902a51bd46303a4aed9f2b0b63cdb44 (diff)
downloadopenembedded-core-2021e2a74f4a8cb2066279e3006087fd3b198bc9.tar.gz
openembedded-core-2021e2a74f4a8cb2066279e3006087fd3b198bc9.tar.bz2
openembedded-core-2021e2a74f4a8cb2066279e3006087fd3b198bc9.tar.xz
openembedded-core-2021e2a74f4a8cb2066279e3006087fd3b198bc9.zip
Using TRANSLATED_TARGET_ARCH instead of TARGET_ARCH.
Using TRANSLATED_TARGET_ARCH instead of TARGET_ARCH for cross-canadian packages. This is due to the TARGET_ARCH of x86_64 would results incorrect packaging in cross-canadian packages. The pacakge name appendix of x86_64 target in cross-canadian packages is x86-64. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 0d39900ca..cc0a3badb 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -1,7 +1,7 @@
inherit cross-canadian
DESCRIPTION = "The cross-canadian GNU cc and gcc C compilers for ${TARGET_ARCH} target."
-PN = "gcc-cross-canadian-${TARGET_ARCH}"
+PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
BPN = "gcc"
DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc gettext-nativesdk"