]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
lib/oe/elf.py: Add loongarch64 architecture definition for musl
authorXiaotian Wu <wuxiaotian@loongson.cn>
Fri, 7 Mar 2025 09:46:27 +0000 (17:46 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Mar 2025 11:13:21 +0000 (11:13 +0000)
Add the ELF definition for the loongarch64 architecture when building
with musl as libc.

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/elf.py

index e1bc7b89846651cc2ca7ee809b59ad76309e35d1..9794453092c055468b6d1a075b8384b6078a1275 100644 (file)
@@ -88,6 +88,7 @@ def machine_dict(d):
                   "i586":       (   3,     0,    0,          True,          32),
                   "i686":       (   3,     0,    0,          True,          32),
                   "x86_64":     (  62,     0,    0,          True,          64),
+                  "loongarch64":( 258,     0,    0,          True,          64),
                   "mips":       (   8,     0,    0,          False,         32),
                   "mipsel":     (   8,     0,    0,          True,          32),
                   "mips64":     (   8,     0,    0,          False,         64),