瀏覽代碼

lib/oe/elf.py: Add loongarch64 architecture definition for musl

Add the ELF definition for the loongarch64 architecture when building
with musl as libc.

(From OE-Core rev: c6498e4ca43dc2f8bc326bc6b6dbc8fd7f0bef79)

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Xiaotian Wu 2 月之前
父節點
當前提交
5323603048
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      meta/lib/oe/elf.py

+ 1 - 0
meta/lib/oe/elf.py

@@ -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),