diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-17 19:55:07 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-17 19:55:39 +0100 |
commit | cb5d51a4851930f288be526589298c778e3887dd (patch) | |
tree | 51d2512a180ad4f987e5ffff55738fba7bd52e56 /meta/classes/cross-canadian.bbclass | |
parent | e624b2700abc93990b58bef0ba9447373148a31c (diff) | |
download | openembedded-core-cb5d51a4851930f288be526589298c778e3887dd.tar.gz openembedded-core-cb5d51a4851930f288be526589298c778e3887dd.tar.bz2 openembedded-core-cb5d51a4851930f288be526589298c778e3887dd.tar.xz 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>
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 72032367e..4548a73ef 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}/" |