summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-02-20 11:09:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-23 22:35:00 +0000
commit1963444d58a1edfd882201fa2c76643025822984 (patch)
tree74f7d6969d9f6581f60f254dec07b9bebb392909 /meta
parentacfa0e0dce918ef86e94a4f159e113c7c1f54540 (diff)
downloadpoky-1963444d58a1edfd882201fa2c76643025822984.tar.gz
linuxloader: Deal with little-endian ppc64 ldso name
On ppc64le 'le' should be appended to ldso name (From OE-Core rev: dd221cdc8630a5adba1f87ff7a237021e9a95548) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/linuxloader.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass
index b161c51a50..30925ac87d 100644
--- a/meta/classes/linuxloader.bbclass
+++ b/meta/classes/linuxloader.bbclass
@@ -9,8 +9,8 @@ def get_musl_loader_arch(d):
9 ldso_arch = "mips${ABIEXTENSION}${MIPSPKGSFX_BYTE}${MIPSPKGSFX_R6}${MIPSPKGSFX_ENDIAN}${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}" 9 ldso_arch = "mips${ABIEXTENSION}${MIPSPKGSFX_BYTE}${MIPSPKGSFX_R6}${MIPSPKGSFX_ENDIAN}${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}"
10 elif targetarch == "powerpc": 10 elif targetarch == "powerpc":
11 ldso_arch = "powerpc${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}" 11 ldso_arch = "powerpc${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}"
12 elif targetarch == "powerpc64": 12 elif targetarch.startswith("powerpc64"):
13 ldso_arch = "powerpc64" 13 ldso_arch = "powerpc64${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '', 'le', d)}"
14 elif targetarch == "x86_64": 14 elif targetarch == "x86_64":
15 ldso_arch = "x86_64" 15 ldso_arch = "x86_64"
16 elif re.search("i.86", targetarch): 16 elif re.search("i.86", targetarch):