summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-15 14:40:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-16 13:31:37 +0100
commit40420b90062f0a34cc63f7308a0b153455c9f224 (patch)
treec3dcd36ed50250956eff5278b8539367a4df6d26 /meta/classes
parent4bece4b9e62eaa6d3b74390e9009ed2ebf72ede5 (diff)
downloadpoky-40420b90062f0a34cc63f7308a0b153455c9f224.tar.gz
cross-canadian: Fix SHLIBSDIR when using multilib
Both nativesdk and multilib use MLPREFIX for their partciular purposes. When we have both set, cross-canadian can confuse SHLIBSDIR. This forces the variable to the correct value for cross-canadian, fixing toolchains in multilib builds. [YOCTO #5333] (From OE-Core rev: 0633b93086a7de7226f4dc6ca403ee116bc58669) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/cross-canadian.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 4387d05f78..7181c60d5f 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -95,3 +95,8 @@ USE_NLS = "${SDKUSE_NLS}"
95# We have to us TARGET_ARCH but we care about the absolute value 95# We have to us TARGET_ARCH but we care about the absolute value
96# and not any particular tune that is enabled. 96# and not any particular tune that is enabled.
97TARGET_ARCH[vardepsexclude] = "TUNE_ARCH" 97TARGET_ARCH[vardepsexclude] = "TUNE_ARCH"
98
99# If MLPREFIX is set by multilib code, shlibs
100# points to the wrong place so force it
101SHLIBSDIRS = "${PKGDATA_DIR}/nativesdk-shlibs"
102SHLIBSWORKDIR = "${PKGDATA_DIR}/nativesdk-shlibs"