diff options
| author | Xiaotian Wu <wuxiaotian@loongson.cn> | 2025-03-07 17:46:27 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-07 11:13:24 +0000 |
| commit | 5323603048ddf713b883f945ec90ce04b8a841eb (patch) | |
| tree | 6632acc57eca4f19745610b01466a224a7fc305b | |
| parent | 12151ad2f5f95da5f40402cd11cc50fa8713b8f2 (diff) | |
| download | poky-5323603048ddf713b883f945ec90ce04b8a841eb.tar.gz | |
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>
| -rw-r--r-- | meta/lib/oe/elf.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/elf.py b/meta/lib/oe/elf.py index e1bc7b8984..9794453092 100644 --- a/meta/lib/oe/elf.py +++ b/meta/lib/oe/elf.py | |||
| @@ -88,6 +88,7 @@ def machine_dict(d): | |||
| 88 | "i586": ( 3, 0, 0, True, 32), | 88 | "i586": ( 3, 0, 0, True, 32), |
| 89 | "i686": ( 3, 0, 0, True, 32), | 89 | "i686": ( 3, 0, 0, True, 32), |
| 90 | "x86_64": ( 62, 0, 0, True, 64), | 90 | "x86_64": ( 62, 0, 0, True, 64), |
| 91 | "loongarch64":( 258, 0, 0, True, 64), | ||
| 91 | "mips": ( 8, 0, 0, False, 32), | 92 | "mips": ( 8, 0, 0, False, 32), |
| 92 | "mipsel": ( 8, 0, 0, True, 32), | 93 | "mipsel": ( 8, 0, 0, True, 32), |
| 93 | "mips64": ( 8, 0, 0, False, 64), | 94 | "mips64": ( 8, 0, 0, False, 64), |
