summaryrefslogtreecommitdiffstats
path: root/meta/classes/crosssdk.bbclass
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2012-03-31 06:49:22 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-31 16:59:08 (GMT)
commit3180dd2b14cda896cee029535442db033ad4e84b (patch)
tree70b37d4311c2d2ce842713bd8d64e8ed8fae2c48 /meta/classes/crosssdk.bbclass
parent404cced0c2226a7e4a49428ef3f8d16f1e4895cf (diff)
downloadpoky-3180dd2b14cda896cee029535442db033ad4e84b.tar.gz
crosssdk.bbclass: Set TUNE_PKGARCH to SDK_PKGARCH.
The TUNE_PKGARCH of crosssdk should be set to SDK_ARCH, not the one from target machine's configuration. Fixed bug [YOCTO #2206] (From OE-Core rev: e809b6657c53616a82e73d2f20ec23bc50ccebc9) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/crosssdk.bbclass')
-rw-r--r--meta/classes/crosssdk.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass
index 83753b4..67df236 100644
--- a/meta/classes/crosssdk.bbclass
+++ b/meta/classes/crosssdk.bbclass
@@ -1,6 +1,11 @@
1inherit cross 1inherit cross
2 2
3PACKAGE_ARCH = "${SDK_ARCH}" 3PACKAGE_ARCH = "${SDK_ARCH}"
4python () {
5 # set TUNE_PKGARCH to SDK_ARCH
6 d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH', True))
7}
8
4STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" 9STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
5STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" 10STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
6 11