[oe-commits] Tom Rini : canadian-sdk: Add SDK_REALPATH_MINGW variable, so that we can prepend a drive letter for sysroot.

GIT User account git at amethyst.openembedded.net
Tue Apr 7 23:25:03 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 69c119a2b998be63816a1d483bdb656fd33f11d2
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=69c119a2b998be63816a1d483bdb656fd33f11d2

Author: Tom Rini <trini at embeddedalley.com>
Date:   Tue Apr  7 16:20:08 2009 -0700

canadian-sdk: Add SDK_REALPATH_MINGW variable, so that we can prepend a drive letter for sysroot.

---

 classes/canadian-sdk.bbclass |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/classes/canadian-sdk.bbclass b/classes/canadian-sdk.bbclass
index d73b62f..6b4fdf8 100644
--- a/classes/canadian-sdk.bbclass
+++ b/classes/canadian-sdk.bbclass
@@ -24,9 +24,12 @@ LDFLAGS = "${SDK_LDFLAGS}"
 # and otherwise just
 DEPENDS_prepend = "virtual/${HOST_PREFIX}binutils "
 
-SDK_PATH_sdk-mingw32 = "/OpenEmbedded/${SDK_NAME}"
+
+# On mingw systems we want to have the real sysroot default to c:/... and
+# assume that the default install will be on the C drive.  This can be changed
+# by setting SDK_REALPATH_MINGW.
 SDK_REALPATH = "${SDK_PATH}"
-SDK_REALPATH_sdk-mingw32 = "C:/OpenEmbedded/${SDK_NAME}"
+SDK_REALPATH_MINGW ?= "C:"
 
 # Path prefixes
 prefix = "${SDK_PATH}"





More information about the Openembedded-commits mailing list