diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-15 14:40:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-16 13:27:56 +0100 |
commit | 0633b93086a7de7226f4dc6ca403ee116bc58669 (patch) | |
tree | 8c8c1d7929b56fa149d4f84a1e3f73ac9064d276 | |
parent | 5011f4bc8a418d0616d2936b60ecb7ca156632a3 (diff) | |
download | openembedded-core-0633b93086a7de7226f4dc6ca403ee116bc58669.tar.gz openembedded-core-0633b93086a7de7226f4dc6ca403ee116bc58669.tar.bz2 openembedded-core-0633b93086a7de7226f4dc6ca403ee116bc58669.zip |
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 5 |
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}" # We have to us TARGET_ARCH but we care about the absolute value # and not any particular tune that is enabled. TARGET_ARCH[vardepsexclude] = "TUNE_ARCH" + +# If MLPREFIX is set by multilib code, shlibs +# points to the wrong place so force it +SHLIBSDIRS = "${PKGDATA_DIR}/nativesdk-shlibs" +SHLIBSWORKDIR = "${PKGDATA_DIR}/nativesdk-shlibs" |