summaryrefslogtreecommitdiff
path: root/meta/classes/cross-canadian.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-20 15:56:35 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-20 15:56:35 +0000
commitd6c7a44b94aa0f871d3ad1a2097a4a8d773eabf5 (patch)
tree18a5c5b7968ca5dd02a87b606be4b21c2048b7fd /meta/classes/cross-canadian.bbclass
parent3139368254ca8060d1b42d8405f9554c8d87fd5d (diff)
downloadopenembedded-core-d6c7a44b94aa0f871d3ad1a2097a4a8d773eabf5.tar.gz
openembedded-core-d6c7a44b94aa0f871d3ad1a2097a4a8d773eabf5.tar.bz2
openembedded-core-d6c7a44b94aa0f871d3ad1a2097a4a8d773eabf5.tar.xz
openembedded-core-d6c7a44b94aa0f871d3ad1a2097a4a8d773eabf5.zip
gcc-cross-canadian: Fix include paths and hence c++ compiler issues
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
-rw-r--r--meta/classes/cross-canadian.bbclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 1cbc1fb9b..b7b449f47 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -34,6 +34,14 @@ LDFLAGS = "${BUILDSDK_LDFLAGS}"
DEPENDS_GETTEXT = "gettext-native gettext-nativesdk"
+# Path mangling needed by the cross packaging
+# Note that we use := here to ensure that libdir and includedir are
+# target paths, not CROSS_DIR paths.
+target_libdir := "${libdir}"
+target_includedir := "${includedir}"
+target_base_libdir := "${base_libdir}"
+target_prefix := "${prefix}"
+
# Change to place files in SDKPATH
prefix = "${SDKPATH}"
exec_prefix = "${SDKPATH}"