diff options
author | Jialing Zhang <zhangjialing@loongson.cn> | 2023-05-15 19:44:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-31 16:53:04 +0100 |
commit | 3edaa511b2f641691abdafc30d67293fc2024ca9 (patch) | |
tree | ff210ddf7b68a4c3919cba7f4e85e119c661937e /meta/classes-recipe/linuxloader.bbclass | |
parent | b71e70374bac59a7a46b4d5ad76f9f3bd81a508d (diff) | |
download | poky-3edaa511b2f641691abdafc30d67293fc2024ca9.tar.gz |
linuxloader/initramfs: Add support for loongarch64
Add support for loongarch64 to:
linuxloader
core-image-minimal-initramfs
initramfs-module-install
(From OE-Core rev: bed5e0fc0ff1795e80277d306bbdade0915983b6)
Signed-off-by: Jialing Zhang <zhangjialing@loongson.cn>
Signed-off-by: Qizheng Zhu <zhuqizheng@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/linuxloader.bbclass')
-rw-r--r-- | meta/classes-recipe/linuxloader.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-recipe/linuxloader.bbclass b/meta/classes-recipe/linuxloader.bbclass index 1dfb95e31d..2ea1b62254 100644 --- a/meta/classes-recipe/linuxloader.bbclass +++ b/meta/classes-recipe/linuxloader.bbclass | |||
@@ -46,6 +46,8 @@ def get_glibc_loader(d): | |||
46 | dynamic_loader = "${base_libdir}/ld-linux-mipsn8.so.1" | 46 | dynamic_loader = "${base_libdir}/ld-linux-mipsn8.so.1" |
47 | elif targetarch.startswith("mips"): | 47 | elif targetarch.startswith("mips"): |
48 | dynamic_loader = "${base_libdir}/ld.so.1" | 48 | dynamic_loader = "${base_libdir}/ld.so.1" |
49 | elif targetarch.startswith("loongarch64"): | ||
50 | dynamic_loader = "${base_libdir}/ld-linux-loongarch-lp64d.so.1" | ||
49 | elif targetarch == "powerpc64le": | 51 | elif targetarch == "powerpc64le": |
50 | dynamic_loader = "${base_libdir}/ld64.so.2" | 52 | dynamic_loader = "${base_libdir}/ld64.so.2" |
51 | elif targetarch == "powerpc64": | 53 | elif targetarch == "powerpc64": |