]> code.ossystems Code Review - openembedded-core.git/commitdiff
cross-canadian: Set STAGING_DIR_HOST correctly
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 25 Feb 2012 15:53:08 +0000 (15:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Feb 2012 10:54:21 +0000 (10:54 +0000)
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>
meta/classes/cross-canadian.bbclass

index 499a1fb171eade237769072d880bcb606f763660..e187b88a8c03d95cefd16447e2c1f10cb8ee2471 100644 (file)
@@ -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}"