Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] cross-canadian: Set STAGING_DIR_HOST correctly
@ 2012-02-25 15:58 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-02-25 15:58 UTC (permalink / raw)
  To: openembedded-core

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>
---
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 499a1fb..e187b88 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}"
 





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-25 16:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-25 15:58 [PATCH] cross-canadian: Set STAGING_DIR_HOST correctly Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox