From cb5d51a4851930f288be526589298c778e3887dd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 17 Aug 2010 19:55:07 +0100 Subject: cross-canadian.bbclass: Set TOOLCHAIN_OPTIONS to point at the correct sysroot Signed-off-by: Richard Purdie --- meta/classes/cross-canadian.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes/cross-canadian.bbclass') 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}/" -- cgit v1.2.3