summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-25 15:53:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-26 10:54:21 +0000
commit8c6966cb8e353dc28819419ea7e395fb0d5f2536 (patch)
tree4bb2f7018eac9d71ff7a2b35a593e0e6b0f0a264 /meta
parent4642ae91cee2978956a61cf15df7ea62e3eb1726 (diff)
downloadopenembedded-core-8c6966cb8e353dc28819419ea7e395fb0d5f2536.tar.gz
openembedded-core-8c6966cb8e353dc28819419ea7e395fb0d5f2536.tar.bz2
openembedded-core-8c6966cb8e353dc28819419ea7e395fb0d5f2536.tar.xz
openembedded-core-8c6966cb8e353dc28819419ea7e395fb0d5f2536.zip
cross-canadian: Set STAGING_DIR_HOST correctly
As reported by Martin Jansa, the path to nativesdk sysroot was changing between nativesdk and cross-canadian recipes. The problem was the incorrect deinfition of STAGING_DIR_HOST in cross-canadian.bbclass. Since nothing really uses the cross-canadian output in the sysroot, only the packages, its not surprising this bug has gone un-noticed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/cross-canadian.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 499a1fb17..e187b88a8 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -26,7 +26,7 @@ MULTIMACH_TARGET_SYS = "${PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}"
INHIBIT_DEFAULT_DEPS = "1"
-STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-nativesdk"
+STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_ARCH}-nativesdk${HOST_VENDOR}-${HOST_OS}"
TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR}/${HOST_ARCH}-nativesdk${HOST_VENDOR}-${HOST_OS}"