mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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 master rev: 0633b93086a7de7226f4dc6ca403ee116bc58669) (From OE-Core rev: 003ddbccb260cdbfc6c1ff9e576a0584b0f25378) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -95,3 +95,8 @@ USE_NLS = "${SDKUSE_NLS}"
|
|||||||
# We have to us TARGET_ARCH but we care about the absolute value
|
# We have to us TARGET_ARCH but we care about the absolute value
|
||||||
# and not any particular tune that is enabled.
|
# and not any particular tune that is enabled.
|
||||||
TARGET_ARCH[vardepsexclude] = "TUNE_ARCH"
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user