diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2010-12-06 17:45:45 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-10 15:36:48 +0000 |
commit | 2021e2a74f4a8cb2066279e3006087fd3b198bc9 (patch) | |
tree | 4ab220a34e77407e5eb6001b9a0b07bfdbde3d40 /meta/classes/cross-canadian.bbclass | |
parent | 322d6ab29902a51bd46303a4aed9f2b0b63cdb44 (diff) | |
download | openembedded-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/classes/cross-canadian.bbclass')
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index f608db25d..7971147cb 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass @@ -68,3 +68,6 @@ export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" # Cross-canadian packages need to pull in nativesdk dynamic libs SHLIBSDIR = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${BUILD_OS}/shlibs" + +# handle x86_64 TARGET_ARCH name +TRANSLATED_TARGET_ARCH ?= ${TARGET_ARCH} |