aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-04-07 16:20:08 -0700
committerTom Rini <trini@embeddedalley.com>2009-04-07 16:20:08 -0700
commit69c119a2b998be63816a1d483bdb656fd33f11d2 (patch)
tree9785e51d530b89e36bc345318329bcbc011c78d1 /classes
parent9f0f45d82f181a85ab6e26c1ad12a49738005e68 (diff)
downloadopenembedded-69c119a2b998be63816a1d483bdb656fd33f11d2.tar.gz
openembedded-69c119a2b998be63816a1d483bdb656fd33f11d2.tar.bz2
openembedded-69c119a2b998be63816a1d483bdb656fd33f11d2.zip
canadian-sdk: Add SDK_REALPATH_MINGW variable, so that we can prepend a drive letter for sysroot.
Diffstat (limited to 'classes')
-rw-r--r--classes/canadian-sdk.bbclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/classes/canadian-sdk.bbclass b/classes/canadian-sdk.bbclass
index d73b62f485..6b4fdf878a 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}"