summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-17 19:55:07 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-17 19:55:39 +0100
commitcb5d51a4851930f288be526589298c778e3887dd (patch)
tree51d2512a180ad4f987e5ffff55738fba7bd52e56
parente624b2700abc93990b58bef0ba9447373148a31c (diff)
downloadopenembedded-core-cb5d51a4851930f288be526589298c778e3887dd.tar.gz
openembedded-core-cb5d51a4851930f288be526589298c778e3887dd.tar.bz2
openembedded-core-cb5d51a4851930f288be526589298c778e3887dd.zip
cross-canadian.bbclass: Set TOOLCHAIN_OPTIONS to point at the correct sysroot
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/classes/cross-canadian.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 72032367ef..4548a73ef5 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -19,6 +19,8 @@ INHIBIT_DEFAULT_DEPS = "1"
STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-nativesdk"
STAGING_DIR_TARGET = "${STAGING_DIR}/${BASEPKG_TARGET_SYS}"
+TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR}/${HOST_ARCH}-nativesdk${HOST_VENDOR}-${HOST_OS}"
+
PATH_append = ":${TMPDIR}/sysroots/${HOST_ARCH}/${bindir_cross}"
PKGDATA_DIR = "${TMPDIR}/pkgdata/${HOST_ARCH}-nativesdk${HOST_VENDOR}-${HOST_OS}"
PKGHIST_DIR = "${TMPDIR}/pkghistory/${HOST_ARCH}-nativesdk${HOST_VENDOR}-${HOST_OS}/"